Commit c2e63e63 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

image

parent 9a152bb0
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
image: openjdk:1.8

variables:
variables:
    SAREF_PORTAL_KEY: <my_private_key>
    SAREF_PORTAL_KEY: <my_private_key>


@@ -13,7 +15,6 @@ stages:
  - release
  - release


prepare-prerelease:
prepare-prerelease:
  image: openjdk:1.8
  stage: pipeline
  stage: pipeline
  allow_failure: true
  allow_failure: true
  script:
  script:
@@ -28,7 +29,6 @@ prepare-prerelease:
      junit: target/report_output.xml
      junit: target/report_output.xml


prepare-release:
prepare-release:
  image: openjdk:1.8
  stage: pipeline
  stage: pipeline
  script:
  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://gitlab.emse.fr/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build"
@@ -42,7 +42,6 @@ prepare-release:
      junit: target/report_output.xml
      junit: target/report_output.xml


staging:
staging:
  image: maximelefrancois86/alpine-ssh-rsync
  stage: staging
  stage: staging
  script:
  script:
    - scp -pr '-P 29419' target/site saref-portal@saref.etsi.org:~/staging/$CI_PIPELINE_ID
    - scp -pr '-P 29419' target/site saref-portal@saref.etsi.org:~/staging/$CI_PIPELINE_ID