Skip to content

Conversation

@cevich
Copy link
Member

@cevich cevich commented Mar 6, 2019

Previously, it was quite difficult to affect changes to VM cache images
without lots of manual work. This commit adds a new optional testing
task which mirrors the official-image build task which only runs on
master. In contrast, the new task may be run at any time in a PR, but
including a magic phrase in the PR description:

Update documentation to describe the new task and inform on it's usage.

Signed-off-by: Chris Evich cevich@redhat.com

@cevich
Copy link
Member Author

cevich commented Mar 6, 2019

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 6, 2019
@cevich
Copy link
Member Author

cevich commented Mar 6, 2019

/cc @baude

@openshift-ci-robot openshift-ci-robot requested a review from baude March 6, 2019 16:58
@cevich cevich force-pushed the cirrus_test_images branch from 5f5246c to 9d05a26 Compare March 6, 2019 17:34
@cevich
Copy link
Member Author

cevich commented Mar 6, 2019

Okay, so the task output from Cirrus was:

--> ubuntu-18: Exported artifacts in: [gs://packer-import/ubuntu-18-libpod-9d05a268.tar.gz]
--> ubuntu-18: 
--> rhel-7: Exported artifacts in: [gs://packer-import/rhel-7-libpod-9d05a268.tar.gz]
--> rhel-7: 
--> fedora-29: Exported artifacts in: [gs://packer-import/fedora-29-libpod-9d05a268.tar.gz]
--> fedora-29: 
--> fedora-28: Exported artifacts in: [gs://packer-import/fedora-28-libpod-9d05a268.tar.gz]
--> fedora-28: 

Those can get convered into images for use in .cirrus.yml with the gcloud command I documented. Otherwise they expire automatically from the packer-import bucket.

@cevich
Copy link
Member Author

cevich commented Mar 6, 2019

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 6, 2019
@cevich cevich force-pushed the cirrus_test_images branch 8 times, most recently from 4932b26 to 8c952c2 Compare March 15, 2019 19:12
@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 18, 2019
@cevich cevich force-pushed the cirrus_test_images branch from 8c952c2 to fe94c6e Compare March 18, 2019 15:20
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 18, 2019
@cevich cevich force-pushed the cirrus_test_images branch from fe94c6e to e2a99dd Compare March 18, 2019 16:32
@rh-atomic-bot
Copy link
Collaborator

☔ The latest upstream changes (presumably #2689) made this pull request unmergeable. Please resolve the merge conflicts.

@cevich cevich force-pushed the cirrus_test_images branch 4 times, most recently from bc0ba7a to db08e30 Compare March 20, 2019 00:56
@edsantiago
Copy link
Member

LGTM; but most of what I did was diff against 55361d74.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 20, 2019
@cevich
Copy link
Member Author

cevich commented May 21, 2019

LGTM; but most of what I did was diff against

That's fine, thanks for doing a final pass. Okay, I'll do (hopefully) the last rebase and push with the updated comments re: the disk resize workaround...

cevich added 7 commits May 21, 2019 08:44
Hack was to workaround not having fix for:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-b4356521ba

Update `RUNC_COMMIT` value to match commit id to working package.

Signed-off-by: Chris Evich <cevich@redhat.com>
Previously, it was quite difficult to affect changes to VM cache images
without lots of manual work.  This commit adds a new optional testing
task which mirrors the official-image build task which only runs on
master.  In contrast, the new task may be run at any time in a PR, but
including a magic phrase in the PR description.

Update documentation to describe the new task and inform on it's usage.

Signed-off-by: Chris Evich <cevich@redhat.com>
Also, add jq and catatonit installs to images.

Signed-off-by: Chris Evich <cevich@redhat.com>
Signed-off-by: Chris Evich <cevich@redhat.com>
Also remove disused distros (RHEL/CentOS/FAH) and fix get_ci_vm script

Signed-off-by: Chris Evich <cevich@redhat.com>
New base-image boots, a cache-image builds, but more work is needed for
it to be prime-time ready.  This commit just adds some updates to the
scafolding necessary to build the base-image.  Future work will make F30
more of a reality.

Also add log-collection scripts to test image verification task

Signed-off-by: Chris Evich <cevich@redhat.com>
Occasionally, and seemingly only on F29 the root disk fails to expand
upon boot.  When this happens, any number of failures could occur if
space runs out.  Until there is time to investigate the actual cause,
workaround this problem by detecting it and acting accordingly.

Signed-off-by: Chris Evich <cevich@redhat.com>
@cevich cevich force-pushed the cirrus_test_images branch from 132bb1d to c7d9780 Compare May 21, 2019 12:44
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label May 21, 2019
@cevich
Copy link
Member Author

cevich commented May 21, 2019

note: Image-build testing is happening over on PR #3078 (rebased against this one).

Signed-off-by: Chris Evich <cevich@redhat.com>
@cevich
Copy link
Member Author

cevich commented May 21, 2019

Oh hey, look at that, PR #3078 found a problem. Fixing...

@cevich
Copy link
Member Author

cevich commented May 21, 2019

/hold cancel

Okay here and the image-build workflow is functional as well

@cevich
Copy link
Member Author

cevich commented May 21, 2019

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 21, 2019
@cevich
Copy link
Member Author

cevich commented May 21, 2019

@edsantiago may I trouble for one more /lgtm ?
(only addition was a fix for image-building bd0ac63)

@edsantiago
Copy link
Member

/lgtm

(ignoring typo in comment; please let's just move past this)

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 21, 2019
@openshift-merge-robot openshift-merge-robot merged commit 8f43d08 into containers:master May 21, 2019
@cevich
Copy link
Member Author

cevich commented May 21, 2019

Thanks again @edsantiago - and sorry for the PR size 😕

@cevich cevich deleted the cirrus_test_images branch June 30, 2021 18:03
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants