You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If we push another version of a Containerfile to Pulp and try to build using it, the builder machinery will not use the latest version.
Wait a minute. A pulp-file repository should only be able to contain a single file per path. That should already solve any abbiguity. Can you confirm that uploading a second "Containerfile" will indeed replace the first one? Sorting anything by pulp_created here is by no means a solution to the issue, because the content added to the repository by the second upload could already have been in pulp for a very long time...
Describe the bug
If we push another version of a Containerfile to Pulp and try to build using it, the builder machinery will not use the latest version.
To Reproduce
Steps to reproduce the behavior:
The build task will run, but a new manifest will not be created after these steps.
Additional context
As a workaround, instead of using the same filename, uploading the Containerfile with a different name would work.
maybe modifying the line:
pulp_container/pulp_container/app/tasks/builder.py
Line 149 in 473ec48
to:
would fix this issue because the containerfile_artifact would be overwritten with the latest version:
pulp_container/pulp_container/app/tasks/builder.py
Lines 150 to 151 in 473ec48
The text was updated successfully, but these errors were encountered: