-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add 1d expiration to tmp operator-sdk images #15
Conversation
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 4m 09s |
check workload operator-sdk |
check dallas ocp-4.13-vanilla operator-sdk |
check workload operator-sdk |
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, do you know what is the default expiration time? I was trying to find, some docs show 14 days, but I was not sure if it depends on the version of quay or its configuration.
@@ -30,6 +30,7 @@ | |||
cmd: > | |||
podman buildx build | |||
-t {{ operator_sdk_img }} | |||
-l quay.expires-after=2w |
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.
Hello Tatiana,
I seems like Labels are not supported during the build. You may need to add the label to the docker file before building.
In the test, I do not see that the image was built.
Thanks
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.
Nevermind, I see it is there with --label
podman buildx build --help|grep label
--identity-label add default identity label (default true)
--label stringArray set metadata for an image (default [])
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.
Hi Beto, thanks for checking, and sorry for the confusing test, I was just exploring if webhook for this repo works :)
To have the image built, I need to use an operator-sdk PR in the dependencies, I'll add the dependencies and run this test asap.
Thanks for the warning about labels, let me try it out and if it would not work, I'll update the Dockerfile.
check workload operator-sdk |
By default, the expiration date in our local quay is never. |
ok, that did not work, because I messed up with dependencies. |
check workload operator-sdk |
e9ccadd
to
24c8138
Compare
check workload operator-sdk |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 46s |
24c8138
to
b861749
Compare
check workload operator-sdk |
Build failed. ❌ dci-rpm-build-el8 TIMED_OUT in 30m 23s |
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.
Thank you, I see the expiration dates in Quay.
recheck |
Build succeeded. ✔️ dci-rpm-build-el8 SUCCESS in 3m 31s |
build-depends: operator-framework/operator-sdk#6529
build-depends: https://softwarefactory-project.io/r/c/dci-pipeline/+/29700