Commit 9317ecf8 authored by Denis Konovalyenko's avatar Denis Konovalyenko Committed by Mihai Nita

Merged in DenisKonovalyenko/xliff-toolkit/27 (pull request #12)

#27: official docker images used.
parents bfbf320e 6b777dd9
......@@ -30,8 +30,6 @@ stages:
variables:
CI_GITLAB_PATH: "ci/gitlab"
CI_SCRIPTS_PATH: "${CI_GITLAB_PATH}/scripts"
MAVEN_IMAGE: "maven:3.5.3-jdk-8"
BASH_CURL_IMAGE: "cosmintitei/bash-curl:latest"
MAVEN_CLI_OPTS: "--settings ${CI_GITLAB_PATH}/.m2/settings.xml --batch-mode --errors --show-version"
OPENSSL_CLI_OPTS: "enc -aes-256-cbc -K ${OPENSSL_ENC_KEY} -iv ${OPENSSL_ENC_IV}"
GPG_CONF: ".gnupg/gpg.conf"
......@@ -41,6 +39,8 @@ variables:
SNAPSHOTS_BRANCH: "dev"
# CI_DEBUG_TRACE: "true" # WARNING: all secret variables will be exposed to a job output!
image: "maven:3.5.3-jdk-8"
before_script:
- ${CI_SCRIPTS_PATH}/before-job
after_script:
......@@ -48,7 +48,6 @@ after_script:
verification:
stage: verification
image: ${MAVEN_IMAGE}
cache:
paths:
- ${HOME}/.m2/repository/
......@@ -59,7 +58,6 @@ verification:
.deployment: &deployment
stage: deployment
image: ${MAVEN_IMAGE}
cache:
paths:
- ${HOME}/.m2/repository/
......@@ -86,12 +84,8 @@ release:
except:
- branches
.trigger: &trigger
stage: trigger
image: ${BASH_CURL_IMAGE}
okapi-snapshot-trigger:
<<: *trigger
stage: trigger
script:
- curl -X POST -F token=${OKAPI_TRIGGER_TOKEN} -F ref=${OKAPI_SNAPSHOTS_BRANCH} https://gitlab.com/api/v4/projects/${OKAPI_PROJECT_ID}/trigger/pipeline
- touch ${CI_GITLAB_PATH}/${CI_JOB_NAME}-passed
......
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