Loading .gitlab-ci.yml +10 −7 Original line number Diff line number Diff line Loading @@ -146,12 +146,11 @@ build-job: # This job runs in the build stage, which runs first. - !reference [.default_rules, rules] script: # Test zip installation - rm -rf /var/lib/apt/lists/* - apt update - apt-cache gencaches - apt install -y zip unzip - apt install zip unzip -y - zip --help # - rm -rf /var/lib/apt/lists/* # - apt update # - apt-cache gencaches # - apt install -y zip unzip # - zip --help - echo "Compiling the code..." - echo "BUILD_JOB_ID=$CI_JOB_ID" >> build.env - cat build.env Loading Loading @@ -237,8 +236,12 @@ pages: artifacts: true script: # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) - rm -rf /var/lib/apt/lists/* - apt update - apt-cache gencaches - apt install -y zip unzip - zip --help - set +e - apt install zip unzip -y - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip" - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi - set -e Loading Loading
.gitlab-ci.yml +10 −7 Original line number Diff line number Diff line Loading @@ -146,12 +146,11 @@ build-job: # This job runs in the build stage, which runs first. - !reference [.default_rules, rules] script: # Test zip installation - rm -rf /var/lib/apt/lists/* - apt update - apt-cache gencaches - apt install -y zip unzip - apt install zip unzip -y - zip --help # - rm -rf /var/lib/apt/lists/* # - apt update # - apt-cache gencaches # - apt install -y zip unzip # - zip --help - echo "Compiling the code..." - echo "BUILD_JOB_ID=$CI_JOB_ID" >> build.env - cat build.env Loading Loading @@ -237,8 +236,12 @@ pages: artifacts: true script: # Get the previous GitLab Pages content (otherwise other beta/stable branch gets removed..) - rm -rf /var/lib/apt/lists/* - apt update - apt-cache gencaches - apt install -y zip unzip - zip --help - set +e - apt install zip unzip -y - curl --fail "$CI_PAGES_URL/content.zip" -o "content.zip" - if [ -e "content.zip" ]; then unzip "content.zip"; rm "content.zip"; fi - set -e Loading