Skip to content

Commit dc8f4de

Browse files
CodeGataccess-bot
andauthored
E2E Test: CD Merge for Multi-Target Workflows (#4) (#20)
* Change to force build * spack.yaml: Updated access-test package version from 2024.11.15 to 2024.11.16 * spack.yaml: Updated access-test package version from 2024.11.16 to 2025.01.0 * Redeploy the traditional way * Deploy via commit * Test multi-target spack.yaml * Deploy again with Projection fixes * Deploy again for export var in metadata fix * Give cd job pull-requests:write --------- Co-authored-by: access-bot <[email protected]>
1 parent 88ea719 commit dc8f4de

File tree

2 files changed

+27
-7
lines changed

2 files changed

+27
-7
lines changed

.github/workflows/cd.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ jobs:
1515
model: ${{ vars.NAME }}
1616
permissions:
1717
contents: write
18+
pull-requests: write
1819
secrets: inherit

spack.yaml

+26-7
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,28 @@
22
#
33
# It describes a set of packages to be installed, along with
44
# configuration settings.
5+
# This is testing of the dev-121-multi-target-workflows branch!!!
56
spack:
7+
definitions:
8+
- ROOT_PACKAGE:
9+
10+
11+
# Specific case for Gadi - should be run
12+
- when: env['DEPLOYMENT_TARGET'] == 'gadi'
13+
compiler_targets:
14+
- [email protected] target=x86_64
15+
16+
# Default case, shouldn't be used
17+
- when: '"DEPLOYMENT_TARGET" not in env'
18+
compiler_targets:
19+
- [email protected] target=x86_64
20+
21+
- ROOT_SPEC:
22+
- matrix:
23+
- [$ROOT_PACKAGE]
24+
- [$%compiler_targets]
625
specs:
7-
26+
- $ROOT_SPEC
827
packages:
928
oasis3-mct:
1029
require:
@@ -19,11 +38,11 @@ spack:
1938
require:
2039
- '@4.1.5'
2140
- 'cppflags="-diag-disable=10441"'
22-
# Specifications that apply to all packages
23-
all:
24-
require:
25-
26-
- 'target=x86_64'
41+
# Specifications that apply to all packages - not relevant with multi-target builds
42+
# all:
43+
# require:
44+
45+
# - 'target=x86_64'
2746
view: true
2847
concretizer:
2948
unify: true
@@ -34,5 +53,5 @@ spack:
3453
- access-test
3554
- oasis3-mct
3655
projections:
37-
access-test: '{name}/2024.11.15'
56+
access-test: '{name}/2025.01.0'
3857
oasis3-mct: '{name}/2023.11.09-{hash:7}'

0 commit comments

Comments
 (0)