-
Notifications
You must be signed in to change notification settings - Fork 13
Update the CI build & test image to one based on centos:stream8 #644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
65cc641
to
431ec11
Compare
874b0ac
to
eb05135
Compare
@@ -2,7 +2,7 @@ | |||
version: 2.1 | |||
|
|||
defaultImage: &defaultImage | |||
image: "quay.io/rhacs-eng/apollo-ci:0.3.26" | |||
image: "quay.io/rhacs-eng/apollo-ci:stackrox-test-cci-0.3.32" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new tagging convention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, more or less, there may be a stackrox-test-osci-
at some point. Though I hope that can just be stackrox-test-
. There is also a stackrox-build-
just for building which will be used in openshift CI and is used in stackrox/stackrox
make main-build-dockerized
.
@@ -31,9 +31,9 @@ main() { | |||
mkdir -p "$log_dir" | |||
|
|||
set +e | |||
for pod in $(kubectl -n "${namespace}" get po | tail +2 | awk '{print $1}'); do | |||
for pod in $(kubectl -n "${namespace}" get po | tail -n +2 | awk '{print $1}'); do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on the manpage, my understanding is this will print all lines starting from line 2 (not 0-indexed)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right. in these cases it strips the column headings. in most cases in the 'code' tail -n +2
is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is an automated PR created from stackrox/rox-ci-image#115.
This PR updates the CI build & test image to one based on
centos:stream8
(wasubuntu
).The only real change is that instances of
tail +2
need to betail -n +2
under centos.Testing performed: Ran 5x+ CI to ensure no introduced flakes.