Open pacospace opened 3 years ago
I did some debugging, and it seems base image is not passed to later step. In particular when opening issue for Delivering Container Image the first step to handle configuration
does not consider overlays, therefore later steps miss inputs, like base image:
We can see error in generate task:
+ '[' -z '' ']'
+ '[' -f Dockerfile ']'
+ '[' -f Containerfile ']'
+ /usr/local/bin/s2i build . --env THAMOS_RUNTIME_ENVIRONMENT= --env THOTH_ADVISE=0 --env THOTH_ERROR_FALLBACK=1 --env THOTH_DRY_RUN=1 --env THAMOS_DEBUG=0 --env THAMOS_VERBOSE=1 --env THOTH_PROVENANCE_CHECK=0 --loglevel=0 --as-dockerfile /gen-source/Containerfile
ERROR: Required value not specified for "builderImage"
and step later fails to give a misleading error, because in reality the ContainerFile has not been created by the previous task
+ buildah bud --storage-driver=overlay --tls-verify=false --layers -f /gen-source/Containerfile -t elyra-aidevsecops-tutorial-166 .
stat /gen-source/Containerfile: no such file or directory
/kind bug /priority critical-urgent /assign @harshad16
FIxed it with https://github.com/AICoE/aicoe-ci/commit/b4f842a328cc6190cba5b736398bfd04b29bb096 closing it, please reopen if the issue persists.
@harshad16 does it solve also the overlays build issue when using "Deliver Container Image" issue?
no it doesnt , let me re-open this.
Blocking: thoth-station/ps-cv#2 Blocking: thoth-station/ps-nlp#3
Not blocking those, this issue is when someone uses issue Deliver Container Image with overlays builds
ACK, thx.
is this still valid?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
/lifecycle rotten
yes this is still valid will get this on lifecycle soon /lifecycle frozen
Describe the bug Overlays build pipeline fails when run from issue pipeline.
To Reproduce Steps to reproduce the behavior:
Expected behavior Pipeline successfully delivers all overlays builds.
Screenshots
Additional context