mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
1201d371 added all examples 35636414 use cmake for valgrind tests 49d67912 [webmod] updated date d2ea5947 [phreeqc3] updated image location f464c3c4 saved as utf-8 a9303d18 [phreeqci] Testing subtree merges 6d4acba1 [phreeqc3] Testing subtree merges a09a24b2 Added .gitlab-ci.yml e6e3f30a checking in ex20_debug (added precision) and results 4128d5d4 another try for ex20_debug git-subtree-dir: phreeqc3-examples git-subtree-split: 1201d371a220072c5f33f01210f7be7c75ed1866
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
#
|
|
# https://code.chs.usgs.gov/coupled/subtrees/phreeqc3-examples
|
|
# SRC 2020-12-02T18:39:55-07:00
|
|
#
|
|
image: ${CI_REGISTRY}/coupled/containers/buildpack-deps:bionic-scm
|
|
|
|
stages:
|
|
- trigger
|
|
|
|
before_script:
|
|
- eval $(ssh-agent -s)
|
|
- echo "${SSH_PRIVATE_KEY_ENC}" | base64 --decode | tr -d '\r' | ssh-add -
|
|
- mkdir -p ~/.ssh
|
|
- chmod 700 ~/.ssh
|
|
- ssh-keyscan ${CI_SERVER_HOST} >> ~/.ssh/known_hosts
|
|
- chmod 644 ~/.ssh/known_hosts
|
|
- git config --global user.email "darth@empire.com"
|
|
- git config --global user.name "Darth Vader"
|
|
|
|
trigger-downstream:
|
|
stage: trigger
|
|
##
|
|
## Only run if on the master branch and the variable GROUP is set
|
|
##
|
|
## change this to
|
|
## only:
|
|
## - master@$GROUP/subtrees/phreeqc3-examples
|
|
## and set GROUP to coupled before merge
|
|
only:
|
|
refs:
|
|
- master
|
|
variables:
|
|
- $GROUP
|
|
|
|
## Downstream Projects
|
|
## triggers and ids are stored at the group level
|
|
## iphreeqc https://code.chs.usgs.gov/coupled/iphreeqc
|
|
## phreeqc3 https://code.chs.usgs.gov/coupled/phreeqc3
|
|
script:
|
|
- echo triggering iphreeqc
|
|
- curl -X POST -F token=${IPHREEQC_TRIGGER} -F ref=master https://code.chs.usgs.gov/api/v4/projects/${IPHREEQC_ID}/trigger/pipeline
|
|
- echo triggering phreeqc3
|
|
- curl -X POST -F token=${PHREEQC3_TRIGGER} -F ref=master https://code.chs.usgs.gov/api/v4/projects/${PHREEQC3_ID}/trigger/pipeline
|
|
|
|
## Upstream Projects
|
|
## none
|