Revert "chore(gitlab-ci): don't apt-get update"

This reverts commit 4ee91d2276.
This commit is contained in:
Gregor Kleen 2020-06-24 14:51:00 +02:00
parent 5dcf8dee0f
commit 2544bbe4be

View File

@ -30,6 +30,7 @@ npm install:
- ./.npmrc.gup
- npm install
before_script: &npm
- apt-get update -y
- npm install -g n
- n 13.5.0
- export PATH="${N_PREFIX}/bin:$PATH"
@ -88,6 +89,7 @@ yesod:build:dev:
needs:
- frontend:build
before_script: &haskell
- apt-get update -y
- apt-get install -y --no-install-recommends locales-all
- apt-get install openssh-client -y
- install -v -m 0700 -d ~/.ssh
@ -135,6 +137,7 @@ frontend:test:
needs:
- npm install
before_script:
- apt-get update -y
- npm install -g n
- n 13.5.0
- export PATH="${N_PREFIX}/bin:$PATH"
@ -232,6 +235,7 @@ deploy:uniworx3:
- hlint # For sanity
- frontend:test # For sanity
before_script:
- apt-get update -y
- apt-get install -y --no-install-recommends openssh-client
- install -v -m 0700 -d ~/.ssh
- install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts