-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e74f184
commit 0548102
Showing
3 changed files
with
56 additions
and
67 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
# This file is used to define the GitLab CI/CD pipeline for the ADIOS2 project. | ||
.common-sanitizer: | ||
variables: | ||
GITLAB_SITE: "UO CI (gitlab.spack.io)" | ||
CI_BIN_DIR: "$CI_PROJECT_DIR/build" | ||
default: | ||
interruptible: true | ||
tags: | ||
- medium | ||
- uo | ||
- public | ||
- x86_64 | ||
interruptible: true | ||
|
||
# This file is used to define the GitLab CI/CD pipeline for the ADIOS2 project. | ||
.common-sanitizer: | ||
rules: | ||
- if: '$CI_PIPELINE_SOURCE != "schedule"' | ||
when: on_success | ||
- when: never | ||
variables: | ||
GITLAB_SITE: "UO CI (gitlab.spack.io)" | ||
CI_BIN_DIR: "$CI_PROJECT_DIR/build" | ||
|
||
.common-build: | ||
extends: | ||
|
@@ -82,3 +88,41 @@ test:uo-sanitizer-ubsan: | |
image: ornladios/adios2:ci-fedora-ubsan | ||
extends: [.common-test] | ||
needs: [build:uo-sanitizer-ubsan] | ||
|
||
deploy:sync-ornl: | ||
environment: ornl | ||
rules: | ||
- if: '$CI_PIPELINE_SOURCE == "schedule"' | ||
when: on_success | ||
- when: never | ||
image: ornladios/adios2:sync-20241206-b | ||
script: > | ||
.gitlab/config/SpackCIBridge.py | ||
ornladios/ADIOS2 | ||
[email protected]:ecpcitest/adios2.git | ||
https://code.ornl.gov/ | ||
ecpcitest/adios2 | ||
--prereq-check=format | ||
--prereq-check=git_checks | ||
--disable-status-post | ||
dependencies: [] | ||
needs: [] | ||
|
||
deploy:sync-spack: | ||
environment: spackio | ||
rules: | ||
- if: '$CI_PIPELINE_SOURCE == "schedule"' | ||
when: on_success | ||
- when: never | ||
image: ornladios/adios2:sync-20241206-b | ||
script: > | ||
.gitlab/config/SpackCIBridge.py | ||
ornladios/ADIOS2 | ||
[email protected]:adios2/adios2.git | ||
https://gitlab.spack.io/ | ||
adios2/ADIOS2 | ||
--prereq-check=format | ||
--prereq-check=git_checks | ||
--status-context="Frank CI (sanitizers)" | ||
dependencies: [] | ||
needs: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from python:3.6.15 | ||
|
||
# run apt install without asking user | ||
RUN DEBIAN_FRONTEND=noninteractive apt update && \ | ||
apt -y install --no-install-recommends ssh git && \ | ||
pip install python-dateutil PyGithub |