Loading .gitlab-ci.yml +9 −0 Original line number Diff line number Diff line Loading @@ -5,8 +5,17 @@ variables: PKG_PATH: /var/www/html/distros/rhel/7/sns/RPMS/noarch stages: - static - build-deploy rpmlint: stage: static script: - docker login --username=$CI_REGISTRY_USER --password=$CI_REGISTRY_PASSWORD $CI_REGISTRY - docker run -v $PWD/nsd-app-wrap.spec:/tmp/nsd-app-wrap.spec code.ornl.gov:4567/rse/images/centos:7 /bin/bash -c "yum install -y git rpm-build rpmlint && rpmlint /tmp/nsd-app-wrap.spec" tags: - rse-multi-builder build-deploy: stage: build-deploy environment: $CI_COMMIT_REF_SLUG Loading addie 0 → 100755 +26 −0 Original line number Diff line number Diff line #!/bin/bash # select the environment to use CONDA_ENVIRON=addie if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=addie-dev shift # drop this argument elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=addie-qa shift # drop this argument fi fi # Addie executable STARTUP=addie # import library to do the real work source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" # start the application echo "Execute: ${STARTUP} $*" "${STARTUP}" "$@" drtsans +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ if [ -n "$1" ] && [ "$1" == "--classic" ]; then fi # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" Loading gsas2 +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ CONDA_ENVIRON=gsas2 # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" Loading mantidtotalscattering +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ if [ -n "$1" ]; then fi # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" Loading Loading
.gitlab-ci.yml +9 −0 Original line number Diff line number Diff line Loading @@ -5,8 +5,17 @@ variables: PKG_PATH: /var/www/html/distros/rhel/7/sns/RPMS/noarch stages: - static - build-deploy rpmlint: stage: static script: - docker login --username=$CI_REGISTRY_USER --password=$CI_REGISTRY_PASSWORD $CI_REGISTRY - docker run -v $PWD/nsd-app-wrap.spec:/tmp/nsd-app-wrap.spec code.ornl.gov:4567/rse/images/centos:7 /bin/bash -c "yum install -y git rpm-build rpmlint && rpmlint /tmp/nsd-app-wrap.spec" tags: - rse-multi-builder build-deploy: stage: build-deploy environment: $CI_COMMIT_REF_SLUG Loading
addie 0 → 100755 +26 −0 Original line number Diff line number Diff line #!/bin/bash # select the environment to use CONDA_ENVIRON=addie if [ -n "$1" ]; then if [ "$1" == "--dev" ]; then CONDA_ENVIRON=addie-dev shift # drop this argument elif [ "$1" == "--qa" ]; then CONDA_ENVIRON=addie-qa shift # drop this argument fi fi # Addie executable STARTUP=addie # import library to do the real work source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" # start the application echo "Execute: ${STARTUP} $*" "${STARTUP}" "$@"
drtsans +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ if [ -n "$1" ] && [ "$1" == "--classic" ]; then fi # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" Loading
gsas2 +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ CONDA_ENVIRON=gsas2 # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" Loading
mantidtotalscattering +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ if [ -n "$1" ]; then fi # import library to do the real work source "$(dirname $(realpath "$0"))/nsd-app-wrap.sh" source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh" # activate the environment - will be deactivated on exit activate_conda_environment "${CONDA_ENVIRON}" Loading