Verified Commit 6dd76c4e authored by Daniel Sonck's avatar Daniel Sonck
Browse files

Fix gitlab ci again

parent af69c1e6
...@@ -16,10 +16,23 @@ before_script: ...@@ -16,10 +16,23 @@ before_script:
- cp $APP_RELEASE_GRADLE app/release.gradle - cp $APP_RELEASE_GRADLE app/release.gradle
- cp $LOCAL_PROPERTIES local.properties - cp $LOCAL_PROPERTIES local.properties
prepare:
stage: prepare
script:
- ./generate-version.sh
artifacts:
paths:
- app/version.gradle
tags:
- kubernetes
- cluster
build: build:
needs:
- job: prepare
artifacts: true
stage: build stage: build
script: script:
- ./generate-version.sh
- ./gradlew :app:bundle - ./gradlew :app:bundle
artifacts: artifacts:
paths: paths:
...@@ -29,8 +42,9 @@ build: ...@@ -29,8 +42,9 @@ build:
- cluster - cluster
deploy: deploy:
dependencies: needs:
- build - job: prepare
artifacts: true
stage: deploy stage: deploy
script: script:
- ln $KEYS_JSON app/keys.json - ln $KEYS_JSON app/keys.json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment