From 42444207ced7607fcea5e091a92264a0291046b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Tue, 27 Aug 2019 11:50:10 +0200 Subject: [PATCH] Gitlab-CI: Handle ccache path correctly and sync upstream Salsa-CI changes Salsa-CI changed the path names of .ccache and thus MariaDB builds stopped working as the file size of the artifact directory with .ccache included was way over limits. These changes put the .ccache directory in the correct place and slims down the amount of total artifacts. --- debian/gitlab-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/debian/gitlab-ci.yml b/debian/gitlab-ci.yml index 9d7b5ed00..be3096fa8 100644 --- a/debian/gitlab-ci.yml +++ b/debian/gitlab-ci.yml @@ -7,8 +7,6 @@ include: variables: DEB_BUILD_OPTIONS: "nocheck noautodbgsym" RELEASE: stretch - CCACHE_TMP_DIR: ${CI_PROJECT_DIR}/../.ccache - CCACHE_WORK_DIR: ${WORKING_DIR}/.ccache SALSA_CI_DISABLE_REPROTEST: 1 stages: @@ -23,8 +21,11 @@ stages: build: extends: .build-package script: - - apt-get update - - mkdir -p ${CCACHE_WORK_DIR} + # salsa-ci-team/pipeline#104 + - rm -rf '$CI_PROJECT_DIR' + # salsa-ci-team/pipeline#107 + - rm -rf ${CI_PROJECT_DIR}/debian/output/.ccache + - mkdir -p ${WORKING_DIR} ${CCACHE_WORK_DIR} - mv ${CCACHE_WORK_DIR} ${CCACHE_TMP_DIR} - gbp pull --ignore-branch --pristine-tar --track-missing - | -- GitLab