Unable to build sidekiq ubi8 image
Summary
_NOTE: I'm currently unsure if this Issue does totally relate to GitLab chart, but when clicking on "Issues" in the CNG project it redirects to this project.
Yesterday v13.1 was released, and we tried to build the ubi8 images from the CNG project. The build process failed at stage three when building the gitlab-sidekiq-ee
image because no gitlab-sidekiq-ee.tar.gz
and gitlab-python.tar.gz
does exist in the gitlab-sidekiq
directory – after running ./build-scripts/ubi-offline/prepare.sh v13.1.0-ubi8
.
docker build
output:
[...]
#4 [1/5] FROM registry.fab/applications/gitlab/gitlab-rails-ee:13.1.0-ubi8
#4 resolve registry.fab/applications/gitlab/gitlab-rails-ee:13.1.0-ubi8 done
#4 DONE 0.4s
#5 [internal] load build context
#4 resolve registry.fab/applications/gitlab/gitlab-rails-ee:13.1.0-ubi8 done
#4 DONE 0.4s
#4 [1/5] FROM registry.fab/applications/gitlab/gitlab-rails-ee:13.1.0-ubi8
#4 resolve registry.fab/applications/gitlab/gitlab-rails-ee:13.1.0-ubi8 done
#4 DONE 0.4s
#3 DONE 0.0s
#4 [1/7] FROM registry.fab/applications/gitlab/git-base:13.1.0-ubi8
#4 resolve registry.fab/applications/gitlab/git-base:13.1.0-ubi8 done
#4 DONE 0.1s
#5 [internal] load build context
#4 DONE 0.4s
#5 [internal] load build context
#5 transferring context: 2.56kB done
#5 DONE 0.5s
#6 [2/5] ADD gitlab-sidekiq-ee.tar.gz /
#6 ERROR: "/gitlab-sidekiq-ee.tar.gz" not found: not found
#7 [3/5] ADD gitlab-python.tar.gz /
#7 ERROR: "/gitlab-python.tar.gz" not found: not found
------
> [2/5] ADD gitlab-sidekiq-ee.tar.gz /:
------
------
> [3/5] ADD gitlab-python.tar.gz /:
------
failed to solve with frontend dockerfile.v0: failed to build LLB: failed to compute cache key: "/gitlab-sidekiq-ee.tar.gz" not found: not found
+ echo gitlab-sidekiq
I'm unsure but I think @WarheadsSE can help here because he added the ADD gitlab-sidekiq-ee.tar.gz /
line to gitlab-sidekiq/Dockerfile.ubi8
in commit c03b1d8392149133c4c7e62c7727d36d1491f8e6.
Steps to reproduce
- Clone the CNG repo
- Execute
./build-scripts/ubi-offline/prepare.sh v13.1.0-ubi8
to download all required files - Execute
./build-scripts/ubi-offline/build.sh 13.1.0 registry.fab/applications/gitlab/
to build the images
Configuration used
(Please provide a sanitized version of the configuration used wrapped in a code block (```yaml))
(Paste sanitized configuration here)
Current behavior
Building UBI failing on gitlab-sidekiq-ee.tar.gz
Expected behavior
I should be able to build the ubi8 images.
Versions
- Chart: ?
- Platform:
- Cloud: (GKE | AKS | EKS | ?)
- Self-hosted: (OpenShift | Minikube | Rancher RKE | ?)
Relevant logs
See above.