162 Commits

Author SHA1 Message Date
Sean Eagan
ec7e6f3fc9 Optimize image build/publish jobs
Zuul jobs are running out of space and failing. This attempts to
resolve by cleaning up between the build/publish of each image.

Switched to the ansible command module, since the make module doesn't
support multiple make targets.

Added a clean target to any image which didn't already have one, which
was just the ipa-downloader-image.

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: I36747a7cd858eef612f654f50a5c65f596e4a59d
2021-04-02 16:07:56 -05:00
Zuul
2453c913a3 Merge "Add release automation for image tags" 2021-04-02 00:19:21 +00:00
Zuul
78b9adceb4 Merge "Push commit tags to quay" 2021-04-02 00:19:18 +00:00
Sean Eagan
25b75c5140 Trigger Github mirroring on tag push
Currently tags aren't mirrored until the next patchset is merged,
which delays the Github release workflow.

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: I303a027ab6fab38b95058e6e89eaa9adb1f4a84b
2021-04-01 13:33:25 -05:00
Sean Eagan
2a5218c52a Add release automation for image tags
Relates-To: #13
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: Iecfc6e4ddf456ec2bd5269829fbbf6ea9024ce83
2021-04-01 16:16:14 +00:00
Sean Eagan
7ed1e8548d Push commit tags to quay
Closes: #12
Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: Icee63d085bc24c53d987d96f3a5348b2e5a7d2a6
2021-04-01 09:55:55 -05:00
Sreejith Punnapuzha
ba3684ea9d Null change to retrigger image build
Previous image push failed; pushing a document updation change to try
again.

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Ida86277518a4fb98617ba1b62dc7d302d96e2f40
2021-03-30 17:34:39 +00:00
Zuul
0ff45e6ad4 Merge "Align with VINO CR bmhLabels" 2021-03-30 14:28:44 +00:00
Zuul
1cf63b8db0 Merge "Re-add 32GB nodeset" 2021-03-30 14:24:02 +00:00
Anderson, Craig (ca846m)
c1c7c22a84 Re-add 32GB nodeset
Other projects which inherit this one reference the 32GB nodeset which
was removed. This patchset adds it back.

Change-Id: I58538368523032f2104415ed3a11bd5ace64dacd
2021-03-29 15:14:50 -07:00
Crank, Daniel (dc6350)
2f591607a4 Align with VINO CR bmhLabels
This patchset makes minor changes to vino-builder to work with the
addition of bmhLabels in [0].

[0] https://review.opendev.org/c/airship/vino/+/782875

Change-Id: I5eb41a863c556b38c819f6da862265e153922fe7
2021-03-29 16:17:15 -05:00
Sreejith Punnapuzha
164611dcab Fix image publish job
* Add nodeset so that image build and image publish job can run.
* change pycrypto to cryptography in pip packages

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: Id04561790db6d3d0745bc5d17a525f7fc1c65092
2021-03-29 15:49:33 -05:00
Sreejith Punnapuzha
c652c4babc Align ironic with metal3 ironic
metal3 is using ironic victoria verion. so uplifting ironic ussuri to
victoria

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: If26e127fe06807c6f11c27a7d4d6d082e929b030
2021-03-29 10:24:50 -05:00
Zuul
6639c32299 Merge "Change CI jobs to run on standard 8GB RAM nodes" 2021-03-26 22:18:13 +00:00
Zuul
47e876f9fc Merge "Helm Chart Collater image build with Proxy Fix" 2021-03-26 15:29:21 +00:00
Zuul
2b0a969a57 Merge "Null change to retrigger image build" 2021-03-26 15:29:01 +00:00
Zuul
53a6c20a24 Merge "Update libvrit image and push it to quay." 2021-03-25 21:12:57 +00:00
Crank, Daniel (dc6350)
5de0172ae2 Null change to retrigger image build
Previous image push failed; pushing a comment-only
change to try again.

Change-Id: I89f23d60e0da144bbf47204fa06c55debf643ca4
2021-03-25 15:04:58 -05:00
Sidney Shiba
ab26e04ae1 Helm Chart Collater image build with Proxy Fix
This patchset fixes the issue where Helm Chart Collator image build was
failing with USE_PROXY=true.

Issue #7

Change-Id: I3db9adabbde69880b56d1b398901cdf684ea75c8
2021-03-25 09:07:43 -05:00
Kostiantyn Kalynovskyi
0c3f0e848a Update libvrit image and push it to quay.
The commit adds standard Makefile that will allow to push the image
to airshipit repositories. Also it sets libvirt daemon to run as root
this is needed, because host os doesn't have libvirt user on it (libvirt)
is installed in container.

Change-Id: Ifbca013496636ed32a1145303136aa28d02c3d1a
2021-03-24 22:06:14 +00:00
Crank, Daniel (dc6350)
183f26c048 Integrate vino-builder
This patchset integrates vino-builder into the vino manager daemonset.
See corresponding vino changes in [0].

[0] https://review.opendev.org/c/airship/vino/+/778209

Change-Id: I860ffef6275aca9d10a20abf79c1a25455ff3717
2021-03-24 13:34:57 -05:00
Michael Beaver
2a70f431cc Update hostname files before multistrap in image-builder
This change adds to the multistrap playbook to ensure that the
hostname files are correct when multistrap installs packages. This
can be an issue when installing packages such as ssmtp. A later step
will override the hosts and hostname files so these changes will be
temporary in the overall build process.

Change-Id: I61124a4e991e4aaedadc9c6ef211b574178fb411
2021-03-23 12:17:28 -05:00
Anderson, Craig (ca846m)
9066690daf Streamline naming and fix qcow-bundle tag naming
Fix an issue with qcow-bundle naming that was causing docker registry
info to be dropped.

Dropped redundant "qcow" prefix for qcow-bundle subdirectories.

Use qcow-bundle subdirectory as image name.

Rename "config" directory as "manifests" per offline review request.

Change-Id: Ie110923b3c8d5a825dd7a199658722b853018d97
2021-03-19 11:46:11 -07:00
Zuul
a9b4c59f6b Merge "Revert "Dex Chart Collator - Quay.io Docker image"" 2021-03-19 07:57:51 +00:00
Anderson, Craig (ca846m)
8a3f426581 Revert "Dex Chart Collator - Quay.io Docker image"
This reverts commit a3c6b4454ae879ada9bc188b48429bfe53ae58b3.

This broke proxy functionality and makes it impossible to build this
project behind a proxy. Reverting until author completes proxy
integration.

Change-Id: I26b73a17736a28e9f45c62c100d85be25c648e44
2021-03-18 15:51:14 -07:00
Pallav Gupta
e932a714f7 adding support to append grub cmdline params
The aim of this PS is to add support for appending grub cmdline
params per node image type. For example for worker node we may
need to apply hugepages and cpu pinning params.

Change-Id: Ieb6104100325cf888046d31da0327b01eaa280ac
2021-03-18 13:45:07 -07:00
Zuul
7f03302e89 Merge "Add support for multiple qcow bundles" 2021-03-18 19:29:57 +00:00
Anderson, Craig (ca846m)
79a0d56590 Add support for multiple qcow bundles
Add support for multiple qcow bundles to image-builder.

Change-Id: I25b4d1fd47a382ba15587032515e65394f6efb3e
2021-03-17 22:04:23 -07:00
Zuul
be27ccbc51 Merge "Added changes related to Grub serial terminal" 2021-03-18 01:38:54 +00:00
Zuul
a4a2a0f221 Merge "Dex Chart Collator - Quay.io Docker image" 2021-03-17 20:41:12 +00:00
Roman Gorshunov
b771fbdf43 Change CI jobs to run on standard 8GB RAM nodes
Partially revert I5f8dc972f67c5649bf5f9403a5a512d06c948720.

Change-Id: I81e393c78a50ba9c1149d214f07a1a2dc8524b82
2021-03-17 16:12:48 +00:00
KAVVA, JAGAN MOHAN REDDY (jk330k)
f81af8b18a Added changes related to Grub serial terminal
Change-Id: I39035832d0531a4cf6d5048bedd25611dc20e112
2021-03-17 15:41:08 +00:00
Sidney Shiba
a3c6b4454a Dex Chart Collator - Quay.io Docker image
This patchset includes Dex Chart Collator, which generates a Docker
image to be used by the Helm operator to deploy Dex on a Target cluster.

Change-Id: Id232cc5b0d3725d110a0711f22d2e83bbc030d29
2021-03-16 19:25:19 -05:00
SIGUNOV, VLADIMIR (vs422h)
7c502b9362 The lvm2 package is added to the list of preinstalled packages
* lvm2 is the prerequisite for ceph deployment

Change-Id: I949110a0ab1b8a8c3936565074cf62def98ae38e
2021-03-16 20:27:14 +00:00
Pallav Gupta
644dd96a0e added support for kernel crash dump configuration
This PS enables support to configure crashkernel boot parameter
in kdump-tools config.

Change-Id: I0083b15ccf3a70b9da955477f9ffbca12818be19
2021-03-09 14:31:12 +00:00
Zuul
ac4079a122 Merge "Preserve sticky bit during image build" 2021-03-04 20:19:22 +00:00
Anderson, Craig (ca846m)
f6dfe38820 Preserve sticky bit during image build
Enable docker buildkit so that sticky bits (for sudo, etc) are preserved
in the container image. They are dropped otherwise. This also requires
docker-ce, which the script will now alert you of if missing in your
environment.

Also remove override placeholders so they don't show up as patchset
changes after running image-builder in a local environment.

Change-Id: I80dfeb12ad6e8ebef71d1f7cf44ad39579ce0d6d
2021-03-04 16:23:07 +00:00
Zuul
7f78cb49bc Merge "Adding fetch from url option" 2021-03-04 01:04:47 +00:00
Rodolfo Pacheco
747b44c23c Added Bug and Feature Request templates
Change-Id: I867cb73143e5bd0f86d1cb747e912cc75138e781
2021-03-03 12:10:21 -05:00
Pallav Gupta
dcc91451ea Adding fetch from url option
Adding fetch from url option to osconfig so that any resource can
be downloaded from given url and installed it during image build
process. Typical scenario in which user has to install custom package
in user defined script. Eg. Installing kernel driver 'i40e' etc.

Change-Id: Ic7d18f24e6faa4666b9d913cf360fe0bf11f2ef4
2021-03-03 08:05:57 +00:00
Anderson, Craig (ca846m)
95af063c35 add mksquashfs config params
Allow mksquashfs overrides for thread count and compression algorithm.

Apply all rootfs-level overrides uniformly in Makefile.

Change-Id: I9dfb9fac63a6efcad42bc73242929e52ff1f9344
2021-03-01 22:51:13 -08:00
Zuul
297ca673f8 Merge "initial vino-builder commit" 2021-03-01 15:51:20 +00:00
Andrii Ostapenko
aa3e83ab72
Allow to run role passed from variable
Change-Id: Icf47ee108dcfcb9792f83d16a5d6bdbcd70eb22f
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-02-28 17:43:43 -06:00
Zuul
a7708d75f8 Merge "Update NIC naming and Readme file" 2021-02-28 02:29:27 +00:00
Anderson, Craig (ca846m)
7af9d957f0 Update NIC naming and Readme file
Update systemd NIC naming scheme to match previous behavior.

Various updates made to README.md.

Change-Id: Iba5e6d845794e555ccd6ce8f0a84118461380330
2021-02-27 16:03:18 -08:00
Andrii Ostapenko
f4480cc97a
Try to use zuul.image_tag before falling back to default
Change-Id: I8e2ab0ec014c15d255620698f5c223e974575d48
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-02-26 23:18:37 -06:00
Zuul
5859ab344f Merge "Block packages in image-builder" 2021-02-27 01:55:43 +00:00
Meadows, Alan (am240k)
4ccbb37673 initial vino-builder commit
Change-Id: Ie660a061f8912a9e15b4e716f4c08365b809be03
2021-02-26 14:47:18 -06:00
Svetlana Shturm
1a1194b425 airship-gather-runtime-logs: do not synchronize owner
Change-Id: I140f1f00caf720d51a54787d6f4a9cd57ee87c0b
2021-02-26 14:40:42 -06:00
Anderson, Craig (ca846m)
821aa1aa7a Add explicit systemd network names
Ensure NIC naming does not change with systemd versions changing

Change-Id: Ib5b309a37c5ba7b5c606e88aaa01e87c51473f33
2021-02-25 16:54:29 -08:00