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
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
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
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
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
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
- 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
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
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
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
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
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
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
This change adds a job that mirrors source code from
opendev.org/airship/image-builder to github.com/airshipit/image-builder.
Change-Id: Ic9649e35c2d6d746a382d241494603d31e0896a3