Skip to content

SC-85410 | V2 demos build on schedule #1358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 130 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
b57ba0f
create new demos directory structure
brownj85 Dec 20, 2024
4dc5233
pick lib.qml tool
brownj85 Dec 20, 2024
b2e3edb
fix pytorch constraint
brownj85 Dec 20, 2024
bb76dae
restructure lib
brownj85 Dec 20, 2024
22acefc
Apply suggestions from code review
brownj85 Jan 16, 2025
326e586
docstrings
brownj85 Jan 16, 2025
5fcda7f
specify poetry<2
brownj85 Jan 16, 2025
fb46d78
sync
brownj85 Jan 16, 2025
6b19a63
requirements
brownj85 Jan 16, 2025
bea7530
fix tutorial quantum chemistry paths
brownj85 Jan 16, 2025
c51c68e
docs
brownj85 Jan 16, 2025
e768e21
docstrings
brownj85 Jan 16, 2025
ceea64f
update lockfile
brownj85 Jan 16, 2025
39d96d3
fmt
brownj85 Jan 27, 2025
8441b41
add core dependencies
brownj85 Jan 27, 2025
c54066c
fmt
brownj85 Jan 27, 2025
7aecbae
Merge branch 'master' into sc-79849-implement-improved-demo-build-pip…
brownj85 Jan 27, 2025
1fc423e
sync
brownj85 Jan 27, 2025
60e982e
fix v2
brownj85 Jan 27, 2025
424b4b0
clean conf.py
brownj85 Jan 27, 2025
70797e2
add requirements-parser
brownj85 Jan 27, 2025
00f517c
qiskit-aer spec
brownj85 Jan 27, 2025
36d8ec1
Merge branch 'sc-79849-implement-improved-demo-build-pipeline' into s…
brownj85 Jan 30, 2025
8b828ce
single demo builds
brownj85 Jan 31, 2025
8d1e3ec
don't generate full requirements
brownj85 Feb 7, 2025
0aded43
Merge branch 'master' into sc-79849-implement-improved-demo-build-pip…
brownj85 Feb 7, 2025
a505b55
sync
brownj85 Feb 7, 2025
dd0347a
Merge branch 'sc-79849-implement-improved-demo-build-pipeline' into s…
brownj85 Feb 7, 2025
f4c2367
add lxml
brownj85 Feb 7, 2025
1e86b65
pack demos
brownj85 Feb 7, 2025
03363b4
copy hardware images
brownj85 Feb 7, 2025
bbd53cd
skip non-executable demos
brownj85 Feb 7, 2025
20e7135
Merge branch 'sc-79849-implement-improved-demo-build-pipeline' into s…
brownj85 Feb 7, 2025
b4c1e66
jax
brownj85 Feb 7, 2025
2212966
jax
brownj85 Feb 7, 2025
cf7a5ce
Merge branch 'sc-79849-implement-improved-demo-build-pipeline' into s…
brownj85 Feb 7, 2025
00c4454
add actions for build and deploy to content service
brownj85 Feb 11, 2025
5fa842e
add inherit secrets
brownj85 Feb 11, 2025
9d137e1
add pypandoc_binary
brownj85 Feb 11, 2025
e79f85b
Merge branch 'sc-79849-implement-improved-demo-build-pipeline' into s…
brownj85 Feb 11, 2025
53f52d1
fix organization
brownj85 Feb 11, 2025
7880301
add openfermion dep to tutorial_diffable_shadows
brownj85 Feb 11, 2025
55a29b0
Merge branch 'sc-79849-implement-improved-demo-build-pipeline' into s…
brownj85 Feb 11, 2025
53be132
update
brownj85 Feb 11, 2025
8f0b2d9
remove pypandoc-binary
brownj85 Feb 11, 2025
111fb92
Merge branch 'sc-81925-qml-repository-ci-pushes-newly-built-demos' in…
brownj85 Feb 11, 2025
8c24d01
demo
brownj85 Feb 11, 2025
98c63f8
push trigger
brownj85 Feb 11, 2025
d1ac538
fx environment
brownj85 Feb 11, 2025
a8b5ec3
use GITHUB_OUTPUT
brownj85 Feb 11, 2025
8ba91a3
formatting
brownj85 Feb 11, 2025
b4d200d
deploy
brownj85 Feb 11, 2025
17a8899
gbs
brownj85 Feb 11, 2025
3ecf175
rename deploy step
brownj85 Feb 11, 2025
d86d97a
error handling
brownj85 Feb 11, 2025
9b19a4d
hmm
brownj85 Feb 11, 2025
6dfd10a
fix deploy
brownj85 Feb 11, 2025
5a7aab3
test build
brownj85 Feb 11, 2025
b8a6dcc
reqs
brownj85 Feb 11, 2025
2586336
test
brownj85 Feb 11, 2025
756309c
fix build issues
brownj85 Feb 12, 2025
2c42e58
fix gallery path
brownj85 Feb 12, 2025
76df2c8
requirements
brownj85 Feb 12, 2025
3ff2753
qrack
brownj85 Feb 12, 2025
8f95123
concurrency
brownj85 Feb 12, 2025
420a1ca
install system dependencies
brownj85 Feb 13, 2025
86f7789
fix error summary
brownj85 Feb 13, 2025
35a4477
remove kak_theorem
brownj85 Feb 13, 2025
51f52d2
fetch hymenoptera_data
brownj85 Feb 13, 2025
032be6e
error logging
brownj85 Feb 13, 2025
3e86fe1
test all
brownj85 Feb 13, 2025
0ab9b4b
updates
brownj85 Feb 13, 2025
3ec262b
add get-changed-action
brownj85 Feb 13, 2025
98ff9b5
fix requirements
brownj85 Feb 13, 2025
12ae7a1
index urls
brownj85 Feb 13, 2025
09b0ec3
cleanup
brownj85 Feb 13, 2025
75b35d3
execute
brownj85 Feb 14, 2025
aedec50
increment done
brownj85 Feb 14, 2025
f070f6e
execute_demo log
brownj85 Feb 14, 2025
83816a6
chunk workflow
brownj85 Feb 18, 2025
46e01cf
output
brownj85 Feb 18, 2025
754f6f8
output name
brownj85 Feb 18, 2025
5bc3948
get demo names
brownj85 Feb 18, 2025
1c1c3e9
quoting
brownj85 Feb 18, 2025
d45d0b5
quoting
brownj85 Feb 18, 2025
fa103d3
de-json
brownj85 Feb 18, 2025
88eedbf
consolidate artifacts
brownj85 Feb 18, 2025
0788637
requirements
brownj85 Feb 18, 2025
64b64e3
fix sha
brownj85 Feb 18, 2025
8d59318
dep
brownj85 Feb 19, 2025
15d6872
requirements
brownj85 Feb 19, 2025
5977c96
requirements
brownj85 Feb 19, 2025
a801646
subprocess
brownj85 Feb 19, 2025
a72fde0
dask
brownj85 Feb 19, 2025
79a5b13
Merge branch 'master' into sc-79849-implement-improved-demo-build-pip…
brownj85 Feb 20, 2025
3931fe9
update sync algorithm
brownj85 Feb 20, 2025
c0d7d49
sync
brownj85 Feb 20, 2025
afcd7aa
uv sync
brownj85 Feb 20, 2025
f082f6e
Revert "sync"
brownj85 Feb 20, 2025
32ea6f5
sync v2
brownj85 Feb 20, 2025
3d4c57f
fix univariate_qvr
brownj85 Feb 20, 2025
9bd0d17
rename workflows
brownj85 Feb 25, 2025
ea8ad7f
workflows
brownj85 Feb 25, 2025
c3292b7
refactor workflows
brownj85 Feb 25, 2025
5524d02
scaffold
brownj85 Feb 27, 2025
574ff4a
Merge branch 'master' into add-qml-new-cmds
brownj85 Feb 27, 2025
a19d1cb
add 'new' command
brownj85 Feb 27, 2025
204f013
dependencies
brownj85 Feb 28, 2025
995a650
Merge branch 'master' into v2
brownj85 Feb 28, 2025
11b0b34
rename workflow
brownj85 Feb 28, 2025
9a6ab6f
add inflection
brownj85 Feb 28, 2025
adea110
pl
brownj85 Feb 28, 2025
65bc574
fix dev constraints
brownj85 Feb 28, 2025
b63e7bf
prerelease
brownj85 Feb 28, 2025
9238e66
pin chex
brownj85 Feb 28, 2025
b969e3d
fix constraints
brownj85 Feb 28, 2025
a25722a
delete workflows
brownj85 Feb 28, 2025
f8c869a
Merge branch 'master' into v2
Alan-eMartin Apr 10, 2025
cd7099e
Merge remote-tracking branch 'origin/master' into v2
Alan-eMartin Apr 14, 2025
78b6669
Merge remote-tracking branch 'origin/master' into v2
Alan-eMartin Apr 16, 2025
a775a1d
SC-85409 | Build and deploy demonstration previews on pull requests (…
Alan-eMartin Apr 29, 2025
a6d6a05
Chore Disable auto comment in v2 deploy pr [sc-90282]
Alan-eMartin May 1, 2025
19c659c
Merge branch 'master' into v2
Alan-eMartin May 1, 2025
7fcd6fb
trigger workflow run
Alan-eMartin May 1, 2025
75f3f2c
workflow permissions added to build and deploy, rm branch arg
Alan-eMartin May 1, 2025
06da7c7
crons added for bi-daily builds
Alan-eMartin May 1, 2025
3dd017d
fix: job name
Alan-eMartin May 1, 2025
2a4cd72
Merge remote-tracking branch 'origin/master' into sc-85410-v2-demos-a…
Alan-eMartin May 7, 2025
8be6597
Update .github/workflows/v2-build-branch-master.yml
Alan-eMartin May 8, 2025
a9db0be
Discard changes to README.md
Alan-eMartin May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/v2-build-branch-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: V2 Build QML Branch - Dev
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0,2,4,6' # At 00:00 on Sunday, Tuesday, Thursday, and Saturday.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering why we're building on Saturday and Sunday? I know the core team works pretty hard but surely the Sunday build will be identical to the Saturday build no?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great question, this cron is just a copy-paste from the current implementation. @doctorperceptron


concurrency:
group: build-qml-demo-branch-dev
cancel-in-progress: true

jobs:
build_dev:
uses: ./.github/workflows/v2-build-demos.yml
with:
ref: build-branch-dev
dev: true
save-artifact: true
artifact-name: build-branch-dev
keep-going: false
quiet: false
batch_size: 10
Comment on lines +13 to +21

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 4 days ago

To fix the issue, we will add a permissions block at the root level of the workflow. This block will define the minimal permissions required for the workflow to function securely. Based on the provided details, the workflow likely only needs contents: read permissions, as it appears to be a build process that does not modify repository contents or interact with other GitHub features.


Suggested changeset 1
.github/workflows/v2-build-branch-dev.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/v2-build-branch-dev.yml b/.github/workflows/v2-build-branch-dev.yml
--- a/.github/workflows/v2-build-branch-dev.yml
+++ b/.github/workflows/v2-build-branch-dev.yml
@@ -1,2 +1,4 @@
 name: V2 Build QML Branch - Dev
+permissions:
+  contents: read
 on:
EOF
@@ -1,2 +1,4 @@
name: V2 Build QML Branch - Dev
permissions:
contents: read
on:
Copilot is powered by AI and may make mistakes. Always verify output.
21 changes: 21 additions & 0 deletions .github/workflows/v2-build-branch-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: V2 Build QML Branch - Master
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0,2,4,6' # At 00:00 on Sunday, Tuesday, Thursday, and Saturday.

concurrency:
group: build-qml-demo-branch-master
cancel-in-progress: true

jobs:
build_master:
uses: ./.github/workflows/v2-build-demos.yml
with:
ref: build-branch-master
dev: false
save-artifact: true
artifact-name: build-branch-master
keep-going: false
quiet: false
batch_size: 10
Comment on lines +13 to +21

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}

Copilot Autofix

AI 3 days ago

To fix the issue, we will add a permissions block at the root level of the workflow file. This block will specify the minimal permissions required for the workflow to function correctly. Based on the provided workflow, it appears to primarily involve building and saving artifacts, so contents: read should suffice unless additional permissions are explicitly required.

Suggested changeset 1
.github/workflows/v2-build-branch-master.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/v2-build-branch-master.yml b/.github/workflows/v2-build-branch-master.yml
--- a/.github/workflows/v2-build-branch-master.yml
+++ b/.github/workflows/v2-build-branch-master.yml
@@ -1,2 +1,4 @@
 name: V2 Build QML Branch - Master
+permissions:
+  contents: read
 on:
EOF
@@ -1,2 +1,4 @@
name: V2 Build QML Branch - Master
permissions:
contents: read
on:
Copilot is powered by AI and may make mistakes. Always verify output.