Skip to content

Commit d47028d

Browse files
authored
enable deployments for experimental branches (#880)
1 parent 7ac8de1 commit d47028d

File tree

6 files changed

+17
-4
lines changed

6 files changed

+17
-4
lines changed

.gitattributes

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
# Configure what will be included in source releases
66
.devcontainer export-ignore
77
.github export-ignore
8-
.licenserc.yaml export-ignore
9-
docker export-ignore
8+
.licenserc.yaml export-ignore

.github/workflows/deployments.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ on:
4040
push:
4141
branches:
4242
- 'releases/*'
43+
- 'experimental/*'
4344

4445
name: Deployments # do not change name without updating workflow_run triggers
4546

.github/workflows/docker_images.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
echo "runner=linux-amd64-cpu16" >> $GITHUB_OUTPUT
5656
echo "build_docs=${{ inputs.build_docs != 'false' }}" >> $GITHUB_OUTPUT
5757
is_versioned=${{ github.ref_type == 'tag' || github.ref_name == 'main' || startsWith(github.ref_name, 'releases/') }}
58-
push_to_ngc=`${{ inputs.environment && secrets.NGC_CREDENTIALS != '' }} && $is_versioned && echo true || echo`
58+
is_experimental=${{ startsWith(github.ref_name, 'experimental/') }}
59+
push_to_ngc=`${{ inputs.environment && secrets.NGC_CREDENTIALS != '' }} && ($is_versioned || $is_experimental) && echo true || echo`
5960
echo "push_to_ngc=$push_to_ngc" >> $GITHUB_OUTPUT
6061
elif [ -n "$(echo ${{ inputs.platforms }} | grep -i arm)" ]; then
6162
platform_tag=`echo ${{ inputs.platforms }} | sed 's/linux\///g' | tr -d ' '`

.github/workflows/documentation.yml

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
- CI
1616
types:
1717
- completed
18+
branches:
19+
# Don't publish documentation for experimental features;
20+
# Instead edit the README in docker/release/ to describe the feature
21+
# and link any additional resources.
22+
- 'releases/*'
1823

1924
name: Documentation
2025

.github/workflows/prepare_deployment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- 'main'
77
- 'releases/*'
8+
- 'experimental/*'
89

910
name: PR merged
1011

docs/sphinx/install.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,20 @@ You should see a message "Login Succeeded".
2020

2121
.. _NGC Container Registry: https://catalog.ngc.nvidia.com/orgs/nvidia/containers/cuda-quantum
2222

23-
In addition to publishing stable releases, we also publish docker images whenever we update the main branch of our `GitHub repository <https://github.com/NVIDIA/cuda-quantum>`_.
23+
In addition to publishing stable releases, we also publish docker images whenever we update
24+
certain branches of our `GitHub repository <https://github.com/NVIDIA/cuda-quantum>`_.
2425
These images are published in a separate location `nvidia/nightly` on NGC, as well as on GitHub.
2526
To download the latest version on the main branch of our GitHub repository, for example, use the command
2627

2728
.. code-block:: console
2829
2930
docker pull nvcr.io/nvidia/nightly/cuda-quantum:latest
3031
32+
Early prototypes for features we are considering can be tried out by using the image tags starting
33+
with `experimental`. The `README` in the `/home/cudaq` folder in the container gives more details
34+
about the feature. We welcome and appreciate your feedback about these early prototypes;
35+
how popular they are will help inform whether we should include them in future releases.
36+
3137
.. _use-cuda-quantum-in-terminal:
3238

3339
Use CUDA Quantum in a Terminal

0 commit comments

Comments
 (0)