Skip to content
Snippets Groups Projects

Pages

Merged Whitney Armstrong requested to merge pages into master
1 file
+ 23
14
Compare changes
  • Side-by-side
  • Inline
+ 23
14
@@ -5,12 +5,23 @@ stages:
@@ -5,12 +5,23 @@ stages:
- container
- container
- deploy
- deploy
compile:
.eicweb:
stage: build
rules:
 
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov"'
tags:
tags:
- silicon
- silicon
 
 
.not-eicweb:
 
rules:
 
- if: '$CI_SERVER_HOST != "eicweb.phy.anl.gov"'
 
 
compile:
 
extends: .eicweb
 
stage: build
script:
script:
- bash bin/do_build
- bash bin/do_build
 
rules:
 
- if: '$CI_SERVER_HOST == "eicweb.phy.anl.gov" && $CI_PIPELINE_SOURCE == "merge_request_event"'
artifacts:
artifacts:
when: always
when: always
paths:
paths:
@@ -21,29 +32,27 @@ compile:
@@ -21,29 +32,27 @@ compile:
docker_image:
docker_image:
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
stage: container
stage: container
tags:
rules:
- silicon
- if: '$CI_COMMIT_BRANCH == "master" && $CI_SERVER_HOST == "eicweb.phy.anl.gov"'
only:
- master
- ci_dev
script:
script:
 
- echo "CI_SERVER_HOST is $CI_SERVER_HOST"
- cd .containers/docker && make release-latest
- cd .containers/docker && make release-latest
docker_tag:
docker_tag:
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
image: eicweb.phy.anl.gov:4567/containers/image_recipes/ubuntu_dind:latest
stage: container
stage: container
tags:
rules:
- silicon
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG'
only:
- tags
script:
script:
- cd .containers/docker && make release
- cd .containers/docker && make release
pages:
pages:
image: alpine
image: alpine
stage: build
stage: build
 
extends: .not-eicweb
rules:
rules:
- if: '$CI_SERVER_HOST != "eicweb.phy.anl.gov"'
- if: '$CI_SERVER_HOST != "eicweb.phy.anl.gov" && $CI_COMMIT_BRANCH == "master"'
 
- if: '$CI_SERVER_HOST != "eicweb.phy.anl.gov" && $CI_PIPELINE_SOURCE == "merge_request_event"'
script:
script:
- apk update && apk add doxygen graphviz ttf-ubuntu-font-family
- apk update && apk add doxygen graphviz ttf-ubuntu-font-family
- cd doc && doxygen Doxyfile && mv doxygen_output/html/ ../public/
- cd doc && doxygen Doxyfile && mv doxygen_output/html/ ../public/
@@ -52,7 +61,7 @@ pages:
@@ -52,7 +61,7 @@ pages:
- public
- public
staging:
staging:
only:
- master
stage: deploy
stage: deploy
 
rules:
 
- if: '$CI_COMMIT_BRANCH == "master"'
trigger: EIC/juggler
trigger: EIC/juggler
Loading