From 8add8575ace6a17cb5ab537b6939c2263d8e64c3 Mon Sep 17 00:00:00 2001 From: Vincent Michaud-Rioux Date: Mon, 29 Jan 2024 10:24:31 -0500 Subject: [PATCH] Split Docker build cron job into two (#600) * Fix version * Split docker cron job. * Auto update version * Triggers. * Revert triggers. * Update changelog. * trigger ci --------- Co-authored-by: Dev version update bot --- .github/CHANGELOG.md | 3 +++ .github/workflows/compat-docker-latest.yml | 11 ++--------- .github/workflows/compat-docker-master.yml | 15 +++++++++++++++ pennylane_lightning/core/_version.py | 2 +- 4 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/compat-docker-master.yml diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 7fc2768743..ab31f2ce57 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -9,6 +9,9 @@ ### Improvements +* Split Docker build cron job into two jobs: master and latest. This is mainly for reporting in the `plugin-test-matrix` repo. + [(#600)](https://github.com/PennyLaneAI/pennylane-lightning/pull/600) + * The `BlockEncode` operation from PennyLane is now supported on all Lightning devices. [(#599)](https://github.com/PennyLaneAI/pennylane-lightning/pull/599) diff --git a/.github/workflows/compat-docker-latest.yml b/.github/workflows/compat-docker-latest.yml index f0d5a2bb1b..ca725a5e68 100644 --- a/.github/workflows/compat-docker-latest.yml +++ b/.github/workflows/compat-docker-latest.yml @@ -1,4 +1,4 @@ -name: Docker build tests +name: Compat Check Docker - Lightning@latest on: schedule: @@ -10,13 +10,6 @@ jobs: name: Docker latest - Linux::x86_64 uses: ./.github/workflows/docker_linux_x86_64.yml with: - lightning-version: 0.34.0 - push-to-dockerhub: false - secrets: inherit # pass all secrets - docker_linux_x86_64_develop: - name: Docker develop - Linux::x86_64 - uses: ./.github/workflows/docker_linux_x86_64.yml - with: - lightning-version: master + lightning-version: v0.34.0 push-to-dockerhub: false secrets: inherit # pass all secrets diff --git a/.github/workflows/compat-docker-master.yml b/.github/workflows/compat-docker-master.yml new file mode 100644 index 0000000000..0d0bfa73eb --- /dev/null +++ b/.github/workflows/compat-docker-master.yml @@ -0,0 +1,15 @@ +name: Compat Check Docker - Lightning@master + +on: + schedule: + - cron: "0 4 * * 1-5" # Run daily at 4am Mon-Fri + workflow_dispatch: + +jobs: + docker_linux_x86_64_develop: + name: Docker develop - Linux::x86_64 + uses: ./.github/workflows/docker_linux_x86_64.yml + with: + lightning-version: master + push-to-dockerhub: false + secrets: inherit # pass all secrets diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index 5d80b68583..5301226fd1 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.35.0-dev7" +__version__ = "0.35.0-dev8"