From 56f3c0ead0d739254f6c60416d717c1a3bf049d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20Lefran=C3=A7ois?= Date: Mon, 27 Jul 2020 13:59:39 +0200 Subject: [PATCH 1/2] updated CI/CD --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 09a6d5a..0281e9d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ stages: test-develop: stage: test script: - - curl -L -o saref-pipeline.jar "https://gitlab.emse.fr/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" - java -jar saref-pipeline.jar develop -s && touch target/success allow_failure: true except: @@ -35,7 +35,7 @@ test-develop: test-prerelease: stage: test script: - - curl -L -o saref-pipeline.jar "https://gitlab.emse.fr/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" - java -jar saref-pipeline.jar release -t && touch target/success allow_failure: true only: @@ -51,7 +51,7 @@ test-prerelease: deploy-report: stage: deploy script: - - scp -pr '-P 29419' target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID + - scp -pr target/site saref-dev@saref.etsi.org:~/snapshot/$CI_PIPELINE_ID - echo "SAREF pipeline report https://saref.etsi.org/snapshot/$CI_PIPELINE_ID/report.html" - exit $(test -f target/success) $? except: @@ -60,7 +60,7 @@ deploy-report: test-release: stage: test script: - - curl -L -o saref-pipeline.jar "https://gitlab.emse.fr/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" - java -jar saref-pipeline.jar release -t only: - /^release-v/ -- GitLab From 59c735e950798afed02b73bc9cef88c27fdb9621 Mon Sep 17 00:00:00 2001 From: Maxime Date: Mon, 26 Jul 2021 10:29:45 +0200 Subject: [PATCH 2/2] migrating to labs.etsi.org/rep/ --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0281e9d..fda4ae1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ stages: test-develop: stage: test script: - - curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" - java -jar saref-pipeline.jar develop -s && touch target/success allow_failure: true except: @@ -35,7 +35,7 @@ test-develop: test-prerelease: stage: test script: - - curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" - java -jar saref-pipeline.jar release -t && touch target/success allow_failure: true only: @@ -60,7 +60,7 @@ deploy-report: test-release: stage: test script: - - curl -L -o saref-pipeline.jar "https://forge.etsi.org/rep/SAREF/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - curl -L -o saref-pipeline.jar "https://labs.etsi.org/rep/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" - java -jar saref-pipeline.jar release -t only: - /^release-v/ -- GitLab