-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'woptim/update-radiuss-packages'
- Loading branch information
Showing
33 changed files
with
1,290 additions
and
640 deletions.
There are no files selected for viewing
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
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,52 @@ | ||
############################################################################## | ||
# Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and | ||
# RADIUSS project contributors. See the COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: (MIT) | ||
############################################################################## | ||
|
||
.on-oslic: | ||
tags: [shell, oslic] | ||
|
||
.on-ruby: | ||
tags: [shell, ruby] | ||
|
||
.on-lassen: | ||
tags: [shell, lassen] | ||
|
||
# Generate CI pipelines for the package in $MY_ENV_NAME | ||
#[get-spack--] | ||
get-spack: | ||
extends: [.on-oslic] | ||
stage: setup | ||
script: | ||
- scripts/get-spack | ||
#[--get-spack] | ||
|
||
.generate-pipeline: | ||
script: | ||
- . ${MY_SPACK_PATH}/share/spack/setup-env.sh | ||
- spack ${MY_SPACK_DEBUG} env activate --without-view spack-environments/${MY_ENV_NAME} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
- spack ${MY_SPACK_DEBUG} mirror add --oci-username ${CI_REGISTRY_USER} --oci-password ${CI_REGISTRY_PASSWORD} buildcache-destination oci://${CI_REGISTRY_IMAGE} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
# - spack ${MY_SPACK_DEBUG} concretize || spack ${MY_SPACK_DEBUG} concretize | ||
- spack ${MY_SPACK_DEBUG} --color=always | ||
--config-scope "${CI_PROJECT_DIR}/.gitlab/spack" | ||
ci generate | ||
--check-index-only | ||
--artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir" | ||
--output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/pipeline.yml" | ||
- cp -r spack-environments/${MY_ENV_NAME}/${SYS_TYPE} ${CI_PROJECT_DIR}/jobs_scratch_dir/concrete_environment/ | ||
artifacts: | ||
paths: | ||
- "${CI_PROJECT_DIR}/jobs_scratch_dir" | ||
|
||
#[rm-spack--] | ||
rm-spack: | ||
extends: [.on-oslic] | ||
stage: clean | ||
script: | ||
- scripts/remove-spack | ||
#[--rm-spack] | ||
|
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
############################################################################## | ||
# Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and | ||
# RADIUSS project contributors. See the COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: (MIT) | ||
############################################################################## | ||
|
||
# lassen | ||
generate-on-lassen: | ||
extends: [.generate-pipeline, .on-lassen] | ||
stage: generate | ||
before_script: | ||
- scripts/print-variables | ||
|
||
build-on-lassen: | ||
stage: build | ||
trigger: | ||
include: | ||
- artifact: "jobs_scratch_dir/pipeline.yml" | ||
job: generate-on-lassen | ||
- project: "lc-templates/id_tokens" | ||
file: "id_tokens.yml" | ||
strategy: depend | ||
forward: | ||
pipeline_variables: true | ||
needs: [generate-on-lassen] |
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,28 @@ | ||
############################################################################## | ||
# Copyright (c) 2019-2021, Lawrence Livermore National Security, LLC and | ||
# RADIUSS project contributors. See the COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: (MIT) | ||
############################################################################## | ||
|
||
# ruby | ||
generate-on-ruby: | ||
extends: [.generate-pipeline, .on-ruby] | ||
stage: generate | ||
before_script: | ||
- scripts/print-variables | ||
|
||
#[send-variable-child--] | ||
build-on-ruby: | ||
stage: build | ||
trigger: | ||
include: | ||
- artifact: "jobs_scratch_dir/pipeline.yml" | ||
job: generate-on-ruby | ||
- project: "lc-templates/id_tokens" | ||
file: "id_tokens.yml" | ||
strategy: depend | ||
forward: | ||
pipeline_variables: true | ||
needs: [generate-on-ruby] | ||
#[--send-variable-child] |
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,76 @@ | ||
############################################################################## | ||
# Copyright (c) 2021-2024, Lawrence Livermore National Security, LLC and | ||
# RADIUSS Stack Testing project contributors. | ||
# See the LICENSE file for details. | ||
# | ||
# SPDX-License-Identifier: MIT | ||
############################################################################## | ||
|
||
ci: | ||
target: gitlab | ||
pipeline-gen: | ||
|
||
- any-job: | ||
before_script: | ||
- . ${MY_SPACK_PATH}/share/spack/setup-env.sh | ||
- export SPACK_DISABLE_LOCAL_CONFIG="" | ||
- export SPACK_USER_CACHE_PATH="${MY_SPACK_USER_CACHE}" | ||
- spack --version | ||
|
||
- submapping: | ||
- match: | ||
- arch=linux-rhel8-ivybridge | ||
build-job: | ||
tags: [ruby, shell] | ||
script:: | ||
- spack ${MY_SPACK_DEBUG} env activate --without-view ${SPACK_CONCRETE_ENV_DIR} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
- spack ${MY_SPACK_DEBUG} mirror rm buildcache-destination | ||
- spack ${MY_SPACK_DEBUG} mirror add --oci-username ${CI_REGISTRY_USER} --oci-password ${CI_REGISTRY_PASSWORD} buildcache-destination oci://${CI_REGISTRY_IMAGE} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
#- spack ${MY_SPACK_DEBUG} ci rebuild | ||
- echo Building ${SPACK_JOB_SPEC_PKG_NAME} /${SPACK_JOB_SPEC_DAG_HASH} | ||
- spack --color=always --backtrace | ||
install | ||
--include-build-deps | ||
--no-check-signature | ||
--use-buildcache=package:never,dependencies:only | ||
/${SPACK_JOB_SPEC_DAG_HASH} | ||
- echo Pushing ${SPACK_JOB_SPEC_PKG_NAME} /${SPACK_JOB_SPEC_DAG_HASH} | ||
- spack buildcache push buildcache-destination /${SPACK_JOB_SPEC_DAG_HASH} | ||
- match: | ||
- 'target=ppc64le:' | ||
build-job: | ||
tags: [lassen, shell] | ||
script:: | ||
- spack ${MY_SPACK_DEBUG} env activate --without-view ${SPACK_CONCRETE_ENV_DIR} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
- spack ${MY_SPACK_DEBUG} mirror rm buildcache-destination | ||
- spack ${MY_SPACK_DEBUG} mirror add --oci-username ${CI_REGISTRY_USER} --oci-password ${CI_REGISTRY_PASSWORD} buildcache-destination oci://${CI_REGISTRY_IMAGE} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
#- spack ${MY_SPACK_DEBUG} ci rebuild | ||
- echo Building ${SPACK_JOB_SPEC_PKG_NAME} /${SPACK_JOB_SPEC_DAG_HASH} | ||
- spack --color=always --backtrace | ||
install | ||
--include-build-deps | ||
--no-check-signature | ||
--use-buildcache=package:never,dependencies:only | ||
/${SPACK_JOB_SPEC_DAG_HASH} | ||
- echo Pushing ${SPACK_JOB_SPEC_PKG_NAME} /${SPACK_JOB_SPEC_DAG_HASH} | ||
- spack buildcache push buildcache-destination /${SPACK_JOB_SPEC_DAG_HASH} | ||
match_behavior: first | ||
|
||
- reindex-job: | ||
tags: [oslic, shell] | ||
before_script: | ||
- . ${MY_SPACK_PATH}/share/spack/setup-env.sh | ||
- export SPACK_DISABLE_LOCAL_CONFIG="" | ||
- export SPACK_USER_CACHE_PATH="${MY_SPACK_USER_CACHE}" | ||
- spack --version | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
- spack ${MY_SPACK_DEBUG} mirror add --oci-username ${CI_REGISTRY_USER} --oci-password ${CI_REGISTRY_PASSWORD} buildcache-destination oci://${CI_REGISTRY_IMAGE} | ||
- spack ${MY_SPACK_DEBUG} config blame mirrors | ||
- noop-job: | ||
tags: [oslic, shell] | ||
- cleanup-job: | ||
tags: [oslic, shell] |
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,3 @@ | ||
[submodule "cmake/blt"] | ||
path = cmake/blt | ||
url = https://github.com/LLNL/blt.git |
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
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
Oops, something went wrong.