40 Commits

Author SHA1 Message Date
Anderson, Craig (ca846m)
efca83730b Cleanup and removal of downstream references
Change-Id: I3da28cb4a92f9cab25ea0ece98f9831bbea0bff2
2021-11-12 02:40:05 -08:00
Zuul
0179914e03 Merge "Improve pipline resiliency against failing mirrors" 2021-11-05 16:18:22 +00:00
Anderson, Craig (ca846m)
414873bb86 Improve pipline resiliency against failing mirrors
This change allows fallback to upstream ubuntu mirrors when the apt
mirrors supplied by the cloud provider are not working as expected.

Change-Id: I4391799531e39253f435904c28bda2bebc26f795
2021-11-04 10:08:38 -07:00
Walter Wahlstedt
0e45a6cbec fix image push
Change-Id: Ib412c99b055ccad7f6716106a07304cce34c680a
2021-11-03 21:35:24 -04:00
Walter Wahlstedt
f891455e19 push command needs one arg
Change https://review.opendev.org/c/airship/image-builder/+/812396 was merged but the push command,
which is only triggered after merge, requires only one arg/tag. I provided two. This fixes that. 

Change-Id: Id8f1a562c53e36a6bed730c63f9106b6f0061bc0
2021-11-03 01:49:37 +00:00
Zuul
da905e0e5d Merge "Make grub timeout configurable and set to 0" 2021-11-02 18:02:01 +00:00
Anderson, Craig (ca846m)
c5961decad Make grub timeout configurable and set to 0
There are situations where it is possible for grub to get stuck waiting
for user input, e.g. if no keyboard is connected or if there is any
other keypress during the grub menu countdown. Changing the timeout to 0
prevents this.

This is also made into a configurable parameter in case someone needs to
use a non-zero value for troubleshooting.

This only applies to the ephemeral ISO.

Change-Id: I34848b7fc56c5698fd3c408bf82ace53e5366d13
2021-11-02 08:48:34 -07:00
Walter Wahlstedt
1f7138684d Reduce number of jobs needed to tag images
Change-Id: Ie21cfa4ac909f0a69913f876a8659d9bb495df76
2021-11-01 15:06:13 -04:00
Zuul
942ca33a53 Merge "Adding krm-function functionality to qcow-bundle" 2021-10-27 18:43:21 +00:00
Anderson, Craig (ca846m)
36787c142e Documentation fix
Change-Id: Ibb9cbab6b3679aa09b4a8bad915b76f669e74861
2021-10-26 09:05:53 -07:00
Zuul
4e05d913a6 Merge "Clean doesn't prompt or automatically delete files." 2021-10-26 15:02:36 +00:00
Alexey Odinokov
8d02a8d96f Adding krm-function functionality to qcow-bundle
That allows to get metainformation about the qcow-bundle, e.g.

```
apiVersion: airshipit.org/v1alpha1
kind: VariableCatalogue
metadata:
  name: profile_multistrap
inventory_hostname_short: localhost
k8s_version: 1.18.6-00
kdump_tools:
  crashkernel: 768M
...
```

See README.md diff to get more information about this feature including example.

Change-Id: Iceef31ef64bc360e6063b437a83548e21a2cf9ac
2021-10-14 22:32:27 +00:00
Anderson, Craig (ca846m)
33adedf7d3 Add pic to show airshipctl use of Zuul images
Change-Id: I6f599deb51dae25f4844e7ef39e66668b03c3c62
2021-10-14 08:38:39 -07:00
Walter Wahlstedt
a9015dd420 Clean doesn't prompt or automatically delete files.
In a local environment running "make clean" will produce blank lines
when trying to delete the files. Behind the scenes I believe it is
asking for permission to delete them.
- add '-f' to force deletion of files without prompting

Change-Id: Id2ca876e34355ee24d5e443c110f01c28043f213
2021-10-14 14:48:04 +00:00
dt241s
181d25e131 Upgrade Image bundle to support k8s 1.21.2.
Change-Id: I7c4be72fbb9ae3dc753437e359af9736366b5041
Signed-off-by: diwakar thyagaraj <dt241s@att.com>
2021-10-12 14:32:44 +00:00
Zuul
30b9815161 Merge "Revert "Minimize number of jobs needed to tag images"" 2021-10-02 17:07:24 +00:00
Alexey
bd65cb6662 Revert "Minimize number of jobs needed to tag images"
This reverts commit 27088be404b70a838b3ed8c9cbb8960cd1265065.

Reason for revert: the post jobs failed, e.g. https://zuul.opendev.org/t/openstack/build/fa43594346ec49578d7a91305b97c192/log/job-output.txt#8604

Change-Id: Ib9aba6dc7b28c5afebbf5571c5a0ca1c68a49a34
2021-10-01 21:33:41 +00:00
Zuul
07feb96d89 Merge "Minimize number of jobs needed to tag images" 2021-10-01 19:47:48 +00:00
Walter Wahlstedt
27088be404 Minimize number of jobs needed to tag images
Change-Id: Ifc26d9e6f2829c9f8732153bf9df264146844989
2021-09-30 15:39:16 -04:00
Alexey Odinokov
df63634f74 Empty commit to publish changes
Change-Id: I078f3d0e3ccb926057886f53c1a4e6eba7a4b68d
2021-09-26 03:22:22 +00:00
Zuul
13d636f04b Merge " Demonstrate how to upgrade specific components of image bundle" 2021-09-24 21:48:37 +00:00
Zuul
b5890c91b9 Merge "Revert "Updating k8s version"" 2021-09-24 17:53:07 +00:00
Alexey
5a721e6850 Revert "Updating k8s version"
This reverts commit 38f00bf8d1894234865aa7d96904248f334d0ee8.

Reason for revert: airshipctl manifests are not ready for that and it breaks. we'll revert this patch, proceed with https://review.opendev.org/c/airship/image-builder/+/807192 
and gradually update manifests to work with 1.19

Change-Id: I86747388b613be0bf3c6bbee13b64d1d5111b525
2021-09-24 15:49:33 +00:00
Walter Wahlstedt
8a36712e6f Demonstrate how to upgrade specific components of image bundle
- folder for each version, i.e. k8s-1.19.14
  - job for each image being built 'airship-image-builder-build-k8s-1.19.14'
 implement profiles
  - Add a profiles folder that gets copied into the manifests folder
  - update readme with details
  - update zuul.d with additional pipelines to build the new profiles

Change-Id: Ia01516419e58a33b538b06cd31a536e8cbfc15c2
2021-09-23 13:53:09 -04:00
Alexey Odinokov
bce809cca9 empty commit to publish latest changes
Change-Id: I3044ff241e7cf4e3dc4a1c106981a01015417b58
2021-09-22 21:11:02 +00:00
Zuul
e4263fdbe2 Merge "Updating k8s version" 2021-09-22 17:51:49 +00:00
Anderson, Craig (ca846m)
bfbe3d6c1f Add image boot testing to pipeline
This patchset will ensure pipeline fails if any of the images built are
not bootable.

Use qcow snapshots for testing so the original image is not altered or
tainted for publication.

Change-Id: Ide7be563c5951151694057ab66980821c95336cd
2021-09-07 13:08:28 -07:00
Craig Anderson
ed0be4e13d Revert "Add image boot testing to pipeline"
This reverts commit 762f24bb4b3b1f4be42a962be0bb561ee2c13510.

Reason for revert: This was starting the target images prior to packaging/distribution. This PS needs to be modified to test a snapshot of those images instead so the originals are not altered.

Change-Id: I7fd6806f4ff6b28cd7ef7d96189f1e32a37bfb3e
2021-09-07 05:07:51 +00:00
Anderson, Craig (ca846m)
762f24bb4b Add image boot testing to pipeline
This patchset will ensure pipeline fails if any of the images built are
not bootable.

Change-Id: I4f99a0af81cfde9cae0f4d163f900af24261028f
2021-09-03 11:28:59 -07:00
SirishaGopigiri
38f00bf8d1 Updating k8s version
CAPI v0.4.0 requires k8 minimum version to be
v1.19.1

Change-Id: Ibe6c22738f16122a26cf2e1c26cac6c11f57f8af
2021-08-19 02:20:44 +00:00
Anderson, Craig (ca846m)
e8a054a0f7 Reduce image size
1. Remove apt lists from image content to reduce size
2. Remove unneeded "live" directory to reduce size

Change-Id: I84cceda61bd677ef99bf2aa705a717f567d126ab
2021-08-17 13:08:34 -07:00
Anderson, Craig (ca846m)
611fd18363 Add console access for ephemeral ISO
Add required kernel boot parameters for functioning serial console for
ephemeral ISO.

Change-Id: Icb413e72a08546c96d3e9dbf8c20df86027ab65d
2021-08-11 13:02:17 -07:00
Zuul
6262286c7f Merge "Improve image build success rate" 2021-08-04 16:10:02 +00:00
Anderson, Craig (ca846m)
6b8e2366ac Improve image build success rate
This patchset works around known bugs with mksquashfs which cause it to
hang. These bugs result in frequent timeouts of Zuul jobs. The
workaround implements retries when mksquashfs takes longer than expected
to improve pipeline resiliency, since these mksquashfs bugs have been
around for many years with no signs of resolving. This will result in
fewer manual rechecks for patchset submissions.

Change-Id: I13efae3fb23c982b8f998dd0eb8c3e28ce3d80a0
2021-08-03 13:00:56 -07:00
Anderson, Craig (ca846m)
4c26da21f3 Remove unused symlink
A symlink was provided after the directory change from "config" to
"manifests", however this is no longer needed.

This also works around a kpt bug, which fails to clone repos that
contain symlinks. [1]

[1] https://github.com/GoogleContainerTools/kpt/issues/2408

Change-Id: I3856e5a9bd3839bfa7e98cd6bf4f32f77a23ffae
2021-08-02 10:59:16 -07:00
Danny Massa
2e367ee1fc Correcting CI job names
Change-Id: I32e616469462443c40da96b6dacb73f1bc8480ab
2021-07-15 11:54:15 -05:00
Danny Massa
47eac28564 Spintering image-builder off from airship/images
This moves all image-builder code from the airship/images repository
here so resources aren't wasted validating PS's against these tests
as they take a long time.

Change-Id: I478a817b694b88cf0900c21726ee29b286ec81a3
2021-07-12 17:23:21 +00:00
Drew Walters
2a9c0f9031 Update replication job SSH key format
This job is not compatible with the previous format used by our
replication job's old SSH key secret, OpenSSH. This change converts the
key to an RSA private key.

Signed-off-by: Drew Walters <andrew.walters@att.com>
Change-Id: I261a8613f644c75858d7c6b97a6cae596705930c
2021-06-10 15:54:26 +00:00
Drew Walters
aaa84d3735 Add github.com replication job
This change adds a job that mirrors source code from
opendev.org/airship/image-builder to github.com/airshipit/image-builder.

Change-Id: Ic9649e35c2d6d746a382d241494603d31e0896a3
2021-06-08 21:15:41 +00:00
OpenDev Project Creator
fcc22ef4a2 Added .gitreview 2021-06-08 15:34:38 +00:00