Gitlab-CI: Sync with Mapillary Gitlab CI

Signed-off-by: Taylor Smock <tsmock@fb.com>
pull/1/head
Taylor Smock 2021-01-13 16:31:43 -07:00
rodzic ef62098664
commit 8407b58946
1 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -33,19 +33,18 @@ sast:
assemble: assemble:
stage: build stage: build
script: script:
- ./gradlew assemble - ./gradlew assemble --stacktrace
artifacts: artifacts:
paths: paths:
- build/ - build/
expire_in: 1 day expire_in: 1 day
interruptible: true interruptible: true
assemble with java 11: assemble with java 11:
stage: build stage: build
image: registry.gitlab.com/josm/docker-library/openjdk-11-josmplugin:latest image: registry.gitlab.com/josm/docker-library/openjdk-11-josmplugin:latest
script: script:
- ./gradlew assemble - ./gradlew assemble --stacktrace
artifacts: artifacts:
paths: paths:
- build/ - build/
@ -56,7 +55,7 @@ assemble with java 15:
stage: build stage: build
image: registry.gitlab.com/josm/docker-library/openjdk-15-josmplugin:latest image: registry.gitlab.com/josm/docker-library/openjdk-15-josmplugin:latest
script: script:
- ./gradlew assemble - ./gradlew assemble --stacktrace
artifacts: artifacts:
paths: paths:
- build/ - build/
@ -93,7 +92,7 @@ code_navigation:
build: build:
stage: test stage: test
script: script:
- ./gradlew build generatePot generateSnapshotUpdateSite #--info - ./gradlew build generatePot generateSnapshotUpdateSite --stacktrace
artifacts: artifacts:
paths: paths:
- build - build
@ -136,7 +135,7 @@ coverage:
compile against min JOSM: compile against min JOSM:
stage: test stage: test
script: script:
- ./gradlew compileJava_minJosm - ./gradlew compileJava_minJosm --stacktrace
needs: ["assemble"] needs: ["assemble"]
dependencies: dependencies:
- assemble - assemble
@ -145,7 +144,7 @@ compile against min JOSM:
compile against latest JOSM: compile against latest JOSM:
stage: test stage: test
script: script:
- ./gradlew compileJava_latestJosm - ./gradlew compileJava_latestJosm --stacktrace
needs: ["assemble"] needs: ["assemble"]
dependencies: dependencies:
- assemble - assemble
@ -155,7 +154,7 @@ build with java 11:
stage: test stage: test
image: registry.gitlab.com/josm/docker-library/openjdk-11-josmplugin:latest image: registry.gitlab.com/josm/docker-library/openjdk-11-josmplugin:latest
script: script:
- ./gradlew build - ./gradlew build --stacktrace
allow_failure: true # due to copy-paste-detection allow_failure: true # due to copy-paste-detection
needs: ["assemble with java 11"] needs: ["assemble with java 11"]
dependencies: dependencies:
@ -166,7 +165,8 @@ build with java 15:
stage: test stage: test
image: registry.gitlab.com/josm/docker-library/openjdk-15-josmplugin:latest image: registry.gitlab.com/josm/docker-library/openjdk-15-josmplugin:latest
script: script:
- ./gradlew build - ./gradlew build --stacktrace
needs: ["java 15 assemble"]
allow_failure: true allow_failure: true
needs: ["assemble with java 15"] needs: ["assemble with java 15"]
dependencies: dependencies: