mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-03-06 11:32:53
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
image: lholota/bash-git
|
image: lholota/bash-git:latest
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- pack
|
- pack
|
||||||
@@ -12,6 +12,10 @@ pack:
|
|||||||
- dev
|
- dev
|
||||||
script:
|
script:
|
||||||
- bash -e ./tools/gitsync.sh pack
|
- bash -e ./tools/gitsync.sh pack
|
||||||
|
cache:
|
||||||
|
key: ${CI_COMMIT_REF_NAME}
|
||||||
|
paths:
|
||||||
|
- mbfiles/
|
||||||
|
|
||||||
deploy-gitlab:
|
deploy-gitlab:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -21,6 +25,10 @@ deploy-gitlab:
|
|||||||
- dev
|
- dev
|
||||||
script:
|
script:
|
||||||
- bash -e ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GL_REF}/monlor/mbfiles.git
|
- bash -e ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${GL_REF}/monlor/mbfiles.git
|
||||||
|
cache:
|
||||||
|
key: ${CI_COMMIT_REF_NAME}
|
||||||
|
paths:
|
||||||
|
- mbfiles/
|
||||||
|
|
||||||
deploy-coding:
|
deploy-coding:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -29,8 +37,12 @@ deploy-coding:
|
|||||||
- test
|
- test
|
||||||
script:
|
script:
|
||||||
- bash -e ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
- bash -e ./tools/gitsync.sh deploy mbfiles ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
||||||
|
cache:
|
||||||
|
key: ${CI_COMMIT_REF_NAME}
|
||||||
|
paths:
|
||||||
|
- mbfiles/
|
||||||
|
|
||||||
pack-all:
|
pack-master:
|
||||||
stage: pack
|
stage: pack
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
@@ -40,11 +52,27 @@ pack-all:
|
|||||||
- git fetch origin master
|
- git fetch origin master
|
||||||
- git checkout master
|
- git checkout master
|
||||||
- bash -e ./tools/gitsync.sh pack mbfiles-master
|
- bash -e ./tools/gitsync.sh pack mbfiles-master
|
||||||
|
cache:
|
||||||
|
key: deploy-master
|
||||||
|
paths:
|
||||||
|
- mbfiles-master/
|
||||||
|
|
||||||
|
pack-test:
|
||||||
|
stage: pack
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- deploy-*
|
||||||
|
script:
|
||||||
- git fetch origin test
|
- git fetch origin test
|
||||||
- git checkout test
|
- git checkout test
|
||||||
- bash -e ./tools/gitsync.sh pack mbfiles-test
|
- bash -e ./tools/gitsync.sh pack mbfiles-test
|
||||||
|
cache:
|
||||||
|
key: deploy-test
|
||||||
|
paths:
|
||||||
|
- mbfiles-test/
|
||||||
|
|
||||||
deploy-all:
|
deploy-master:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
@@ -52,19 +80,23 @@ deploy-all:
|
|||||||
- deploy-*
|
- deploy-*
|
||||||
script:
|
script:
|
||||||
- bash -e ./tools/gitsync.sh deploy mbfiles-master ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
- bash -e ./tools/gitsync.sh deploy mbfiles-master ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
||||||
- bash -e ./tools/gitsync.sh deploy mbfiles-test ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_COMMIT_REF_NAME}
|
key: deploy-master
|
||||||
untracked: true
|
|
||||||
paths:
|
|
||||||
- mbfiles/
|
|
||||||
|
|
||||||
cache:
|
|
||||||
key: deploy-all
|
|
||||||
untracked: true
|
|
||||||
paths:
|
paths:
|
||||||
- mbfiles-master/
|
- mbfiles-master/
|
||||||
|
|
||||||
|
deploy-test:
|
||||||
|
stage: deploy
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- deploy-*
|
||||||
|
script:
|
||||||
|
- bash -e ./tools/gitsync.sh deploy mbfiles-test ${CI_COMMIT_REF_NAME} ${CO_REF}/monlor/mbfiles.git
|
||||||
|
cache:
|
||||||
|
key: deploy-test
|
||||||
|
paths:
|
||||||
- mbfiles-test/
|
- mbfiles-test/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user