Alpine is fast and lightweight.
parent
e66a97c012
commit
eb6ca7b665
|
@ -236,7 +236,6 @@ build_windows:
|
||||||
image: fedora:29
|
image: fedora:29
|
||||||
needs:
|
needs:
|
||||||
- protobuf_static_steamos
|
- protobuf_static_steamos
|
||||||
when: manual
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- dnf -y install wine wget p7zip sed dos2unix
|
- dnf -y install wine wget p7zip sed dos2unix
|
||||||
|
@ -276,21 +275,19 @@ build_windows:
|
||||||
|
|
||||||
deploy_all:
|
deploy_all:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: fedora
|
image: alpine
|
||||||
dependencies:
|
dependencies:
|
||||||
- build_windows
|
- build:windows
|
||||||
- build_steamos
|
- build:linux
|
||||||
|
- build:macosx
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- apk --no-cache add git tree
|
||||||
- ls -lah
|
- ls -lah
|
||||||
- dnf -y install git tree
|
|
||||||
- mkdir -p release/source_code
|
- mkdir -p release/source_code
|
||||||
- git bundle create release/source_code/source_code.bundle --all
|
- git bundle create release/source_code/source_code.bundle --all
|
||||||
- "echo \"This is a git bundle of the full repo, to use: git clone source_code.bundle --branch master\" > release/source_code/Readme.txt"
|
- "echo \"This is a git bundle of the full repo, to use: git clone source_code.bundle --branch master\" > release/source_code/Readme.txt"
|
||||||
- mv linux release/
|
- find . -mindepth 1 -maxdepth 1 ! -name release -exec rm -rf '{}' \;
|
||||||
- shopt -s extglob
|
|
||||||
- rm -rf .g*
|
|
||||||
- rm -rf !(release)
|
|
||||||
- mv release/* ./
|
- mv release/* ./
|
||||||
- rm -rf release
|
- rm -rf release
|
||||||
- echo $CI_JOB_ID > job_id
|
- echo $CI_JOB_ID > job_id
|
||||||
|
|
Loading…
Reference in New Issue