Commit 5690f0e9 authored by Alberto Debiasi's avatar Alberto Debiasi
Browse files

Add variable in yaml.

parent c487fc09
......@@ -13,9 +13,9 @@ variables:
UPDATE_SITE_ROOT: "/data/www/es-static.fbk.eu/html/tools"
DEPLOY_TMP_DIR : "/tmp/gitlab_ci_deploy"
UPDATE_SITE_DIR: "${UPDATE_SITE_ROOT}/eclipse/${UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR}/${UPDATE_SITE_DIR_NAME}"
UPDATE_SITE_DIR_NEW: "${UPDATE_SITE_ROOT}/eclipse/${UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR}/${UPDATE_SITE_DIR_NAME}_new"
UPDATE_SITE_DIR_PREV: "${UPDATE_SITE_ROOT}/eclipse/${UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR}/${UPDATE_SITE_DIR_NAME}_prev"
UPDATE_SITE_DIR: "${UPDATE_SITE_ROOT}/${UPDATE_SITE_ROOT_FOLDER}${UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR}/${UPDATE_SITE_DIR_NAME}"
UPDATE_SITE_DIR_NEW: "${UPDATE_SITE_ROOT}/${UPDATE_SITE_ROOT_FOLDER}${UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR}/${UPDATE_SITE_DIR_NAME}_new"
UPDATE_SITE_DIR_PREV: "${UPDATE_SITE_ROOT}/${UPDATE_SITE_ROOT_FOLDER}${UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR}/${UPDATE_SITE_DIR_NAME}_prev"
UPDATE_SITE_URL: "esuser@es-services-website.fbk.eu"
stages:
......@@ -95,6 +95,7 @@ Neon:B_and_T:
stage: build_test_and_deploy
variables:
PROFILE: "Java8,Neon"
UPDATE_SITE_ROOT_FOLDER: "eclipse/"
UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR: "neon"
UPDATE_SITE_DIR_NAME: "sde_devel"
TARGET_REPOSITORY_DIR : $CI_PROJECT_DIR/eu.fbk.tools.sde.repository.neon/target/repository/*
......@@ -108,6 +109,7 @@ Neon:B_and_T:
stage: build_test_and_deploy
variables:
PROFILE: "Java11,2020-06"
UPDATE_SITE_ROOT_FOLDER: "eclipse/"
UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR: "2020-06"
UPDATE_SITE_DIR_NAME: "sde_devel"
TARGET_REPOSITORY_DIR : $CI_PROJECT_DIR/eu.fbk.tools.sde.repository.2020-06/target/repository/*
......@@ -121,6 +123,7 @@ Neon:B_and_T:
stage: build_test_and_deploy
variables:
PROFILE: "Java11,2021-03"
UPDATE_SITE_ROOT_FOLDER: "eclipse/"
UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR: "2021-03"
UPDATE_SITE_DIR_NAME: "sde_devel"
TARGET_REPOSITORY_DIR : $CI_PROJECT_DIR/eu.fbk.tools.sde.repository.2021-03/target/repository/*
......@@ -137,6 +140,7 @@ Neon:to_production_update_site:
when: manual
variables:
PROFILE: "Java8,Neon"
UPDATE_SITE_ROOT_FOLDER: "eclipse/"
SKIP_TESTS_OPT: "-DskipTests"
UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR: "neon"
UPDATE_SITE_DIR_NAME: "sde"
......@@ -152,6 +156,7 @@ Neon:to_production_update_site:
when: manual
variables:
PROFILE: "Java11,2020-06"
UPDATE_SITE_ROOT_FOLDER: "eclipse/"
SKIP_TESTS_OPT: "-DskipTests"
UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR: "2020-06"
UPDATE_SITE_DIR_NAME: "sde"
......@@ -166,7 +171,8 @@ Neon:to_production_update_site:
- 2021-03:B_and_T
when: manual
variables:
PROFILE: "Java11,2021-03"
PROFILE: "Java11,2021-03"
UPDATE_SITE_ROOT_FOLDER: "eclipse/"
SKIP_TESTS_OPT: "-DskipTests"
UPDATE_SITE_DIR_ECLIPSE_VERSION_DIR: "2021-03"
UPDATE_SITE_DIR_NAME: "sde"
......
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