-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
32 lines (28 loc) · 1.49 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
include:
- component: $CI_SERVER_FQDN/dev-ops/templates/automatisation/ci-cd/pipeline-java-publish@~latest
variables:
# Build
JAVA_VERSION: 8
JAVA_BUILDER_BUILD_IMAGE: gitlab-registry.ifremer.fr/ifremer-commons/docker/internal-images/maven-javafx:maven-javafx-3.8.5
JAVA_BUILDER_MAVEN_SETTINGS_PATH: ci_settings.xml
JAVA_BUILDER_TESTS_ENABLE: false
JAVA_BUILDER_ARTIFACTS_PATH: "**/target/*.[zip|jar]"
# Secret detection
# SECRET_DETECTION_HISTORIC_SCAN: "true"
# surcharge des assets de la release gitlab
release:gitlab:create 🚀:
release:
name: Release $RELEASE_VERSION
description: $CI_COMMIT_TAG_MESSAGE
tag_name: $RELEASE_VERSION
ref: $CI_COMMIT_SHA
assets:
links:
- name: octopus-$RELEASE_VERSION-Win64_standalone.zip
url: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven/fr/ifremer/octopus/$RELEASE_VERSION/octopus-$RELEASE_VERSION-Win64_standalone.zip"
- name: octopus-$RELEASE_VERSION-Win.zip
url: "${CI_API_V4_URL}/projects/1225/packages/maven/fr/ifremer/octopus/$RELEASE_VERSION/octopus-$RELEASE_VERSION-Win.zip"
- name: octopus-$RELEASE_VERSION-Linux64_standalone.zip
url: "${CI_API_V4_URL}/projects/1225/packages/maven/fr/ifremer/octopus/$RELEASE_VERSION/octopus-$RELEASE_VERSION-Linux64_standalone.zip"
- name: octopus-$RELEASE_VERSION-Linux.zip
url: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven/fr/ifremer/octopus/$RELEASE_VERSION/octopus-$RELEASE_VERSION-Linux.zip"