Add download modifier

This commit is contained in:
Tanguy Herbron 2021-11-10 15:58:25 +01:00
parent 0c8b2c0c0e
commit 0be8aa246b

View File

@ -31,3 +31,7 @@ build-image:
- cd omnibus-gitlab - cd omnibus-gitlab
- "GITLAB_VER=$(git tag | sort -V | grep ce | tail -1)" - "GITLAB_VER=$(git tag | sort -V | grep ce | tail -1)"
- echo $GITLAB_VER - echo $GITLAB_VER
- git checkout $GITLAB_VER
- "NEW_URL=$(wget --no-check-certificate --content-disposition 'https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_$(GITLAB_VER)_arm64.deb/download.deb' -O /tmp/gitlab.deb)"
- echo $NEW_URL
- sed -i '/wget/c\ REPLACE' test-download