e4s: disable mac stack due to binary relocation issue#32571 (#34560)

This commit is contained in:
eugeneswalker 2022-12-17 02:53:15 -08:00 committed by GitHub
parent cec3da61d2
commit 7e836b925d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,113 +158,113 @@ protected-publish:
# still run on UO runners and be signed # still run on UO runners and be signed
# using the previous approach. # using the previous approach.
######################################## ########################################
.e4s-mac: # .e4s-mac:
variables: # variables:
SPACK_CI_STACK_NAME: e4s-mac # SPACK_CI_STACK_NAME: e4s-mac
allow_failure: True # allow_failure: True
.mac-pr: # .mac-pr:
only: # only:
- /^pr[\d]+_.*$/ # - /^pr[\d]+_.*$/
- /^github\/pr[\d]+_.*$/ # - /^github\/pr[\d]+_.*$/
variables: # variables:
SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries-prs/${CI_COMMIT_REF_NAME}" # SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries-prs/${CI_COMMIT_REF_NAME}"
SPACK_PRUNE_UNTOUCHED: "True" # SPACK_PRUNE_UNTOUCHED: "True"
.mac-protected: # .mac-protected:
only: # only:
- /^develop$/ # - /^develop$/
- /^releases\/v.*/ # - /^releases\/v.*/
- /^v.*/ # - /^v.*/
- /^github\/develop$/ # - /^github\/develop$/
variables: # variables:
SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}" # SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}"
.mac-pr-build: # .mac-pr-build:
extends: [ ".mac-pr", ".build" ] # extends: [ ".mac-pr", ".build" ]
variables: # variables:
AWS_ACCESS_KEY_ID: ${PR_MIRRORS_AWS_ACCESS_KEY_ID} # AWS_ACCESS_KEY_ID: ${PR_MIRRORS_AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${PR_MIRRORS_AWS_SECRET_ACCESS_KEY} # AWS_SECRET_ACCESS_KEY: ${PR_MIRRORS_AWS_SECRET_ACCESS_KEY}
.mac-protected-build: # .mac-protected-build:
extends: [ ".mac-protected", ".build" ] # extends: [ ".mac-protected", ".build" ]
variables: # variables:
AWS_ACCESS_KEY_ID: ${PROTECTED_MIRRORS_AWS_ACCESS_KEY_ID} # AWS_ACCESS_KEY_ID: ${PROTECTED_MIRRORS_AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${PROTECTED_MIRRORS_AWS_SECRET_ACCESS_KEY} # AWS_SECRET_ACCESS_KEY: ${PROTECTED_MIRRORS_AWS_SECRET_ACCESS_KEY}
SPACK_SIGNING_KEY: ${PACKAGE_SIGNING_KEY} # SPACK_SIGNING_KEY: ${PACKAGE_SIGNING_KEY}
e4s-mac-pr-generate: # e4s-mac-pr-generate:
extends: [".e4s-mac", ".mac-pr"] # extends: [".e4s-mac", ".mac-pr"]
stage: generate # stage: generate
script: # script:
- tmp="$(mktemp -d)"; export SPACK_USER_CONFIG_PATH="$tmp"; export SPACK_USER_CACHE_PATH="$tmp" # - tmp="$(mktemp -d)"; export SPACK_USER_CONFIG_PATH="$tmp"; export SPACK_USER_CACHE_PATH="$tmp"
- . "./share/spack/setup-env.sh" # - . "./share/spack/setup-env.sh"
- spack --version # - spack --version
- cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME} # - cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME}
- spack env activate --without-view . # - spack env activate --without-view .
- spack ci generate --check-index-only # - spack ci generate --check-index-only
--buildcache-destination "${SPACK_BUILDCACHE_DESTINATION}" # --buildcache-destination "${SPACK_BUILDCACHE_DESTINATION}"
--artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir" # --artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir"
--output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/cloud-ci-pipeline.yml" # --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/cloud-ci-pipeline.yml"
artifacts: # artifacts:
paths: # paths:
- "${CI_PROJECT_DIR}/jobs_scratch_dir" # - "${CI_PROJECT_DIR}/jobs_scratch_dir"
tags: # tags:
- lambda # - lambda
interruptible: true # interruptible: true
retry: # retry:
max: 2 # max: 2
when: # when:
- runner_system_failure # - runner_system_failure
- stuck_or_timeout_failure # - stuck_or_timeout_failure
timeout: 60 minutes # timeout: 60 minutes
e4s-mac-protected-generate: # e4s-mac-protected-generate:
extends: [".e4s-mac", ".mac-protected"] # extends: [".e4s-mac", ".mac-protected"]
stage: generate # stage: generate
script: # script:
- tmp="$(mktemp -d)"; export SPACK_USER_CONFIG_PATH="$tmp"; export SPACK_USER_CACHE_PATH="$tmp" # - tmp="$(mktemp -d)"; export SPACK_USER_CONFIG_PATH="$tmp"; export SPACK_USER_CACHE_PATH="$tmp"
- . "./share/spack/setup-env.sh" # - . "./share/spack/setup-env.sh"
- spack --version # - spack --version
- cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME} # - cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME}
- spack env activate --without-view . # - spack env activate --without-view .
- spack ci generate --check-index-only # - spack ci generate --check-index-only
--artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir" # --artifacts-root "${CI_PROJECT_DIR}/jobs_scratch_dir"
--output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/cloud-ci-pipeline.yml" # --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/cloud-ci-pipeline.yml"
artifacts: # artifacts:
paths: # paths:
- "${CI_PROJECT_DIR}/jobs_scratch_dir" # - "${CI_PROJECT_DIR}/jobs_scratch_dir"
tags: # tags:
- omicron # - omicron
interruptible: true # interruptible: true
retry: # retry:
max: 2 # max: 2
when: # when:
- runner_system_failure # - runner_system_failure
- stuck_or_timeout_failure # - stuck_or_timeout_failure
timeout: 60 minutes # timeout: 60 minutes
e4s-mac-pr-build: # e4s-mac-pr-build:
extends: [ ".e4s-mac", ".mac-pr-build" ] # extends: [ ".e4s-mac", ".mac-pr-build" ]
trigger: # trigger:
include: # include:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml # - artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
job: e4s-mac-pr-generate # job: e4s-mac-pr-generate
strategy: depend # strategy: depend
needs: # needs:
- artifacts: True # - artifacts: True
job: e4s-mac-pr-generate # job: e4s-mac-pr-generate
e4s-mac-protected-build: # e4s-mac-protected-build:
extends: [ ".e4s-mac", ".mac-protected-build" ] # extends: [ ".e4s-mac", ".mac-protected-build" ]
trigger: # trigger:
include: # include:
- artifact: jobs_scratch_dir/cloud-ci-pipeline.yml # - artifact: jobs_scratch_dir/cloud-ci-pipeline.yml
job: e4s-mac-protected-generate # job: e4s-mac-protected-generate
strategy: depend # strategy: depend
needs: # needs:
- artifacts: True # - artifacts: True
job: e4s-mac-protected-generate # job: e4s-mac-protected-generate
######################################## ########################################
# E4S pipeline # E4S pipeline