Skip to content
Snippets Groups Projects
Commit a578ae85 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: .gitlab-ci.yml

	modified:   share/common.yml
parent 79fadcc6
Branches
No related tags found
No related merge requests found
default:
tags:
- singularity
before_script:
- ls -lrth && pwd
artifacts:
......@@ -19,39 +21,42 @@ stages:
- benchmarks
- deploy
env:
tags:
- singularity
stage: config
script:
- bash bin/config_env.sh
include: '.local/share/common.yml'
detector:
tags:
- singularity
stage: initialize
needs: ["env"]
timeout: 1 hours
#cache:
# key:
# files:
# - options/env.sh
# - util/build_detector.sh
# prefix: "$CI_COMMIT_REF_SLUG"
# paths:
# - .local/detector
# - .local/lib
script:
- whoami && hostname
- ls -lrth
- pwd
- ./bin/print_env.sh
- ./bin/build_detector.sh
- ./bin/print_env.sh
- mkdir -p results
- mkdir -p config
- echo "$CI_PIPLINE_ID" && echo "$CI_PROJECT_NAME"
#env:
# tags:
# - singularity
# stage: config
# script:
# - bash bin/config_env.sh
#
#
#detector:
# tags:
# - singularity
# stage: initialize
# needs: ["env"]
# timeout: 1 hours
# #cache:
# # key:
# # files:
# # - options/env.sh
# # - util/build_detector.sh
# # prefix: "$CI_COMMIT_REF_SLUG"
# # paths:
# # - .local/detector
# # - .local/lib
# script:
# - whoami && hostname
# - ls -lrth
# - pwd
# - ./bin/print_env.sh
# - ./bin/build_detector.sh
# - ./bin/print_env.sh
# - mkdir -p results
# - mkdir -p config
# - echo "$CI_PIPLINE_ID" && echo "$CI_PROJECT_NAME"
#get_data:
# stage: data_init
......
common:setup:
stage: config
artifacts:
expire_in: 72 hours
paths:
- .local/detector
- .local/lib
- .local/bin
- .local/include
- results
- config
script:
- git clone "${CI_REPOSITORY_URL}" setup
- source setup/bin/env.sh && ./setup./
- source setup/bin/env.sh && ./setup/bin/build_common.sh
common:detector:
stage: initialize
needs: ["common:setup"]
script:
- source .local/bin/env.sh && build_detector.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment