#83 disable cache

merge-requests/46/head
Anton Romanov 5 years ago
parent 94dabd07fb
commit 0feef9016a

@ -1,10 +1,5 @@
image: romanov73/is:ng-tracker-container image: romanov73/is:ng-tracker-container
cache:
key: "$CI_PROJECT_ID"
paths:
- .gradle/
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false" GRADLE_OPTS: "-Dorg.gradle.daemon=false"
@ -20,32 +15,14 @@ before_script:
build: build:
stage: build stage: build
script: ./gradlew assemble script: ./gradlew assemble
cache:
key: "$CI_PROJECT_ID"
policy: push
paths:
- build
- .gradle
checkRun: checkRun:
stage: test stage: test
script: ./gradlew bootRun -Dng-tracker.check-run=true script: ./gradlew bootRun -Dng-tracker.check-run=true
cache:
key: "$CI_PROJECT_ID"
policy: push
paths:
- build
- .gradle
checkStyle: checkStyle:
stage: test stage: test
script: ./gradlew check script: ./gradlew check
cache:
key: "$CI_PROJECT_ID"
policy: push
paths:
- build
- .gradle
deploy: deploy:
stage: deploy stage: deploy
@ -53,12 +30,6 @@ deploy:
- sh deploy/gdccloud/deploy.sh - sh deploy/gdccloud/deploy.sh
only: only:
- dev - dev
cache:
key: "$CI_PROJECT_ID"
policy: pull
paths:
- build
- .gradle
environment: environment:
name: staging name: staging
url: http://193.110.3.124:8080 url: http://193.110.3.124:8080

Loading…
Cancel
Save