diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2af09823a..a9bf5b341 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,8 @@ npm install: - ./.npmrc.gup - npm install before_script: &npm + - rm -rvf /etc/apt/sources.list /etc/apt/source.list.d + - cp ${APT_SOURCES_LIST} /etc/apt/sources.list - apt-get update -y - npm install -g n - n 13.5.0 @@ -89,6 +91,8 @@ yesod:build:dev: needs: - frontend:build before_script: &haskell + - rm -rvf /etc/apt/sources.list /etc/apt/source.list.d + - cp ${APT_SOURCES_LIST} /etc/apt/sources.list - apt-get update -y - apt-get install -y --no-install-recommends locales-all - apt-get install openssh-client -y @@ -137,6 +141,8 @@ frontend:test: needs: - npm install before_script: + - rm -rvf /etc/apt/sources.list /etc/apt/source.list.d + - cp ${APT_SOURCES_LIST} /etc/apt/sources.list - apt-get update -y - npm install -g n - n 13.5.0 @@ -235,6 +241,8 @@ deploy:uniworx3: - hlint # For sanity - frontend:test # For sanity before_script: + - rm -rvf /etc/apt/sources.list /etc/apt/source.list.d + - cp ${APT_SOURCES_LIST} /etc/apt/sources.list - apt-get update -y - apt-get install -y --no-install-recommends openssh-client - install -v -m 0700 -d ~/.ssh