[ANY] Final gitlab ci

This commit is contained in:
Gravit 2020-03-17 05:15:46 +07:00
parent 747e5fec0c
commit dc97bbb743
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -41,6 +41,7 @@ build:
- cp modules/*_swmodule/build/libs/*.jar artifacts/modules - cp modules/*_swmodule/build/libs/*.jar artifacts/modules
- cp modules/*_lmodule/build/libs/*.jar artifacts/modules - cp modules/*_lmodule/build/libs/*.jar artifacts/modules
cache: cache:
key: "$CI_COMMIT_REF_NAME"
paths: paths:
- .gradle - .gradle
- LaunchServer/build - LaunchServer/build
@ -59,6 +60,8 @@ test:
script: script:
- gradle check - gradle check
cache: cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths: paths:
- .gradle - .gradle
- LaunchServer/build - LaunchServer/build
@ -74,6 +77,8 @@ deploy-demo:
- gradle build - gradle build
- eval $(ssh $SSH_USER@$SSH_HOST 'cd $SSH_DIR && cat deploy.sh') - eval $(ssh $SSH_USER@$SSH_HOST 'cd $SSH_DIR && cat deploy.sh')
cache: cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths: paths:
- .gradle - .gradle
- LaunchServer/build - LaunchServer/build