Skip to content

Commit

Permalink
Store the gitlab commit during staging (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
bettinaheim authored Feb 5, 2024
1 parent ac8ce9e commit d12e330
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/config/gitlab_commits.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nvidia-mgpu-repo: cuda-quantum/cuquantum-mgpu.git
nvidia-mgpu-commit: 71c51f4584a5967994d99b00fb1d88a340b4c480
4 changes: 4 additions & 0 deletions .github/workflows/docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,9 @@ jobs:
permissions: {}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create build info
id: staging
run: |
Expand All @@ -818,6 +821,7 @@ jobs:
echo "cuda-quantum-dev-image: $cudaqdev_hash" >> "$info_file"
echo "cuda-quantum-devdeps-image: ${{ inputs.devdeps_image }}" >> "$info_file"
echo "platforms: ${{ inputs.platforms }}" >> "$info_file"
cat .github/workflows/config/gitlab_commits.txt >> "$info_file"
- name: Upload build info
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prebuilt_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,9 @@ jobs:
permissions: {}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create build info
id: staging
run: |
Expand All @@ -455,6 +458,7 @@ jobs:
echo "platform-base-image: ${{ inputs.platform_base_image }}" >> "$info_file"
echo "openmpi-build-cache: ${{ needs.build_openmpi.outputs.build_cache }}" >> "$info_file"
echo "platform: ${{ inputs.platform }}" >> "$info_file"
cat .github/workflows/config/gitlab_commits.txt >> "$info_file"
- name: Upload build info
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,9 @@ jobs:
permissions: {}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Create build info
id: staging
run: |
Expand All @@ -345,6 +348,7 @@ jobs:
echo "source-sha: ${{ github.sha }}" >> "$info_file"
echo "cuda-quantum-wheeldeps-image: $wheeldeps_hash" >> "$info_file"
echo "platform: ${{ inputs.platform }}" >> "$info_file"
cat .github/workflows/config/gitlab_commits.txt >> "$info_file"
- name: Upload build info
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d12e330

Please sign in to comment.