Commit 92ba74bc authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'caalberts-fix-dev-build-assets-image' into 'master'

Clone repo in `build-assets-image`

Closes #215003

See merge request gitlab-org/gitlab!30683
parents 418e8f81 5a4df2b5
......@@ -67,15 +67,12 @@ build-assets-image:
stage: build-images
needs: ["gitlab:assets:compile pull-cache"]
variables:
GIT_STRATEGY: none
GIT_DEPTH: "1"
script:
- wget -O ./build_assets_image "${CI_PROJECT_URL}/raw/${CI_COMMIT_SHA}/scripts/build_assets_image"
- wget -O ./Dockerfile.assets "${CI_PROJECT_URL}/raw/${CI_COMMIT_SHA}/Dockerfile.assets"
- chmod +x build_assets_image
# TODO: Change the image tag to be the MD5 of assets files and skip image building if the image exists
# We'll also need to pass GITLAB_ASSETS_TAG to the trigerred omnibus-gitlab pipeline similarly to how we do it for trigerred CNG pipelines
# https://gitlab.com/gitlab-org/gitlab/issues/208389
- ./build_assets_image
- scripts/build_assets_image
.compile-assets-metadata:
extends:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment