Skip to content
Snippets Groups Projects
Commit 58a10836 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Update .gitlab-ci.yml file

try to overwrite mirrors file
parent 27776173
No related branches found
No related tags found
No related merge requests found
...@@ -45,9 +45,7 @@ build-native: # This job runs in the build stage, which runs first. ...@@ -45,9 +45,7 @@ build-native: # This job runs in the build stage, which runs first.
- "bin/*" - "bin/*"
name: "Debian native" name: "Debian native"
before_script: before_script:
- ls --human-readable --all -l /etc/apt/sources.list* - if [ $DigitalOceanDebianMirror == "1" ]; then echo http://mirrors.digitalocean.com/debian | tee /etc/apt/mirrors/debian.list; fi
- rem sed --expression="s/deb.debian.org/mirrors.digitalocean.com/g" /etc/apt/sources.list > /etc/apt/sources.list.d/debian.list
- rem rm --force /etc/apt/sources.list
- apt-get update - apt-get update
- export APT_CACHE_DIR=`pwd`/apt-cache - export APT_CACHE_DIR=`pwd`/apt-cache
- mkdir --parents --verbose $APT_CACHE_DIR/partial/ - mkdir --parents --verbose $APT_CACHE_DIR/partial/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment