Skip to content

Commit

Permalink
Merge pull request #2336 from DARMA-tasking/2335-fix-missing-project-…
Browse files Browse the repository at this point in the history
…name-in-spack-ci

#2335: fix missing project name in spack ci
  • Loading branch information
lifflander authored Aug 27, 2024
2 parents 96689a3 + 62e91c0 commit 1dbedd2
Show file tree
Hide file tree
Showing 20 changed files with 292 additions and 115 deletions.
14 changes: 8 additions & 6 deletions ci/azure/azure-clang-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ variables:
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
VT_CI_TEST_LB_SCHEMA: 0
RUN_FULL_CI: true
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-10-cache
volume_name: ubuntu-cpp
Expand All @@ -84,6 +85,7 @@ stages:
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
condition: eq(variables['RUN_FULL_CI'], 'true')
inputs:
targetType: 'inline'
script: |
Expand All @@ -106,14 +108,14 @@ stages:
- task: Bash@3
displayName: Output timestamp for caching
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"'
- task: Cache@2
displayName: Update cache
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
securityNamespace: cache
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS)
Expand Down Expand Up @@ -152,7 +154,7 @@ stages:
- task: Bash@3
displayName: Put compilation's and tests' logs in PR comment
continueOnError: true
condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest'))
condition: and(eq(variables['RUN_FULL_CI'], 'true'), and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')))
inputs:
targetType: 'inline'
script: |
Expand Down Expand Up @@ -182,7 +184,7 @@ stages:
- task: Bash@3
displayName: Create artifacts
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: |
Expand All @@ -191,15 +193,15 @@ stages:
- task: PublishPipelineArtifact@1
displayName: Upload CMake test output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/LastTest.log.gz'
artifact: 'CMakeLastTestLog'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Upload CMake full output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz'
artifact: 'CMakeOutputLog'
Expand Down
14 changes: 8 additions & 6 deletions ci/azure/azure-clang-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ variables:
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
VT_CI_TEST_LB_SCHEMA: 0
RUN_FULL_CI: true
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-11-cache
volume_name: ubuntu-cpp
Expand All @@ -84,6 +85,7 @@ stages:
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
condition: eq(variables['RUN_FULL_CI'], 'true')
inputs:
targetType: 'inline'
script: |
Expand All @@ -106,14 +108,14 @@ stages:
- task: Bash@3
displayName: Output timestamp for caching
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"'
- task: Cache@2
displayName: Update cache
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
securityNamespace: cache
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS)
Expand Down Expand Up @@ -152,7 +154,7 @@ stages:
- task: Bash@3
displayName: Put compilation's and tests' logs in PR comment
continueOnError: true
condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest'))
condition: and(eq(variables['RUN_FULL_CI'], 'true'), and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')))
inputs:
targetType: 'inline'
script: |
Expand Down Expand Up @@ -182,7 +184,7 @@ stages:
- task: Bash@3
displayName: Create artifacts
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: |
Expand All @@ -191,15 +193,15 @@ stages:
- task: PublishPipelineArtifact@1
displayName: Upload CMake test output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/LastTest.log.gz'
artifact: 'CMakeLastTestLog'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Upload CMake full output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz'
artifact: 'CMakeOutputLog'
Expand Down
14 changes: 8 additions & 6 deletions ci/azure/azure-clang-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ variables:
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
VT_CI_TEST_LB_SCHEMA: 0
RUN_FULL_CI: true
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-12-cache
volume_name: ubuntu-cpp
Expand All @@ -84,6 +85,7 @@ stages:
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
condition: eq(variables['RUN_FULL_CI'], 'true')
inputs:
targetType: 'inline'
script: |
Expand All @@ -106,14 +108,14 @@ stages:
- task: Bash@3
displayName: Output timestamp for caching
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"'
- task: Cache@2
displayName: Update cache
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
securityNamespace: cache
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS)
Expand Down Expand Up @@ -152,7 +154,7 @@ stages:
- task: Bash@3
displayName: Put compilation's and tests' logs in PR comment
continueOnError: true
condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest'))
condition: and(eq(variables['RUN_FULL_CI'], 'true'), and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')))
inputs:
targetType: 'inline'
script: |
Expand Down Expand Up @@ -182,7 +184,7 @@ stages:
- task: Bash@3
displayName: Create artifacts
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: |
Expand All @@ -191,15 +193,15 @@ stages:
- task: PublishPipelineArtifact@1
displayName: Upload CMake test output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/LastTest.log.gz'
artifact: 'CMakeLastTestLog'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Upload CMake full output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz'
artifact: 'CMakeOutputLog'
Expand Down
14 changes: 8 additions & 6 deletions ci/azure/azure-clang-13-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ variables:
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
VT_CI_TEST_LB_SCHEMA: 0
RUN_FULL_CI: true
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-13-cache
volume_name: ubuntu-cpp
Expand All @@ -84,6 +85,7 @@ stages:
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
condition: eq(variables['RUN_FULL_CI'], 'true')
inputs:
targetType: 'inline'
script: |
Expand All @@ -106,14 +108,14 @@ stages:
- task: Bash@3
displayName: Output timestamp for caching
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"'
- task: Cache@2
displayName: Update cache
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
securityNamespace: cache
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS)
Expand Down Expand Up @@ -152,7 +154,7 @@ stages:
- task: Bash@3
displayName: Put compilation's and tests' logs in PR comment
continueOnError: true
condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest'))
condition: and(eq(variables['RUN_FULL_CI'], 'true'), and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')))
inputs:
targetType: 'inline'
script: |
Expand Down Expand Up @@ -182,7 +184,7 @@ stages:
- task: Bash@3
displayName: Create artifacts
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: |
Expand All @@ -191,15 +193,15 @@ stages:
- task: PublishPipelineArtifact@1
displayName: Upload CMake test output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/LastTest.log.gz'
artifact: 'CMakeLastTestLog'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Upload CMake full output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz'
artifact: 'CMakeOutputLog'
Expand Down
14 changes: 8 additions & 6 deletions ci/azure/azure-clang-14-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ variables:
VT_KOKKOS_ENABLED: 0
CMAKE_CXX_STANDARD: 17
VT_CI_TEST_LB_SCHEMA: 0
RUN_FULL_CI: true
CACHE: "$(Agent.TempDirectory)/cache/"
cache_name: ubuntu-clang-14-cache
volume_name: ubuntu-cpp
Expand All @@ -84,6 +85,7 @@ stages:
- task: Bash@3
displayName: Build timestamp for caching
continueOnError: true
condition: eq(variables['RUN_FULL_CI'], 'true')
inputs:
targetType: 'inline'
script: |
Expand All @@ -106,14 +108,14 @@ stages:
- task: Bash@3
displayName: Output timestamp for caching
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: 'echo "my pipeline variable is $(TS) $(TS_YEAR) $(TS_MONTH) $(TS_DAY)"'
- task: Cache@2
displayName: Update cache
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
securityNamespace: cache
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS)
Expand Down Expand Up @@ -152,7 +154,7 @@ stages:
- task: Bash@3
displayName: Put compilation's and tests' logs in PR comment
continueOnError: true
condition: and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest'))
condition: and(eq(variables['RUN_FULL_CI'], 'true'), and(succeededOrFailed(), eq(variables['Build.Reason'], 'PullRequest')))
inputs:
targetType: 'inline'
script: |
Expand Down Expand Up @@ -182,7 +184,7 @@ stages:
- task: Bash@3
displayName: Create artifacts
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetType: 'inline'
script: |
Expand All @@ -191,15 +193,15 @@ stages:
- task: PublishPipelineArtifact@1
displayName: Upload CMake test output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/LastTest.log.gz'
artifact: 'CMakeLastTestLog'
publishLocation: 'pipeline'
- task: PublishPipelineArtifact@1
displayName: Upload CMake full output artifact
continueOnError: true
condition: in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')
condition: and(eq(variables['RUN_FULL_CI'], 'true'), in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues'))
inputs:
targetPath: '$(Agent.TempDirectory)/cmake-output.log.gz'
artifact: 'CMakeOutputLog'
Expand Down
Loading

0 comments on commit 1dbedd2

Please sign in to comment.