Skip to content

Commit f7a9871

Browse files
committed
ci(release): remove package smoke workflow probe
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
1 parent 5d836b4 commit f7a9871

1 file changed

Lines changed: 0 additions & 47 deletions

File tree

.github/workflows/release-dev.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ on:
44
push:
55
branches: [main]
66
workflow_dispatch:
7-
inputs:
8-
package-smoke-only:
9-
description: "Temporary PR probe: build Linux packages and run install smoke tests without publishing release artifacts"
10-
required: false
11-
type: boolean
12-
default: false
137

148
permissions:
159
contents: write
@@ -60,23 +54,20 @@ jobs:
6054
echo "rpm_release=$(uv run python tasks/scripts/release.py get-version --rpm-release)" >> "$GITHUB_OUTPUT"
6155
6256
build-gateway:
63-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
6457
needs: [compute-versions]
6558
uses: ./.github/workflows/docker-build.yml
6659
with:
6760
component: gateway
6861
cargo-version: ${{ needs.compute-versions.outputs.cargo_version }}
6962

7063
build-supervisor:
71-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
7264
needs: [compute-versions]
7365
uses: ./.github/workflows/docker-build.yml
7466
with:
7567
component: supervisor
7668
cargo-version: ${{ needs.compute-versions.outputs.cargo_version }}
7769

7870
e2e:
79-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
8071
needs: [build-gateway, build-supervisor]
8172
uses: ./.github/workflows/e2e-test.yml
8273
with:
@@ -85,7 +76,6 @@ jobs:
8576

8677
tag-ghcr-dev:
8778
name: Tag GHCR Images as Dev
88-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
8979
needs: [build-gateway, build-supervisor, release-dev]
9080
runs-on: linux-amd64-cpu8
9181
timeout-minutes: 10
@@ -107,7 +97,6 @@ jobs:
10797
10898
build-python-wheels-linux:
10999
name: Build Python Wheels (Linux ${{ matrix.arch }})
110-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
111100
needs: [compute-versions]
112101
strategy:
113102
matrix:
@@ -166,7 +155,6 @@ jobs:
166155

167156
build-python-wheel-macos:
168157
name: Build Python Wheel (macOS)
169-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
170158
needs: [compute-versions]
171159
runs-on: linux-amd64-cpu8
172160
timeout-minutes: 120
@@ -330,7 +318,6 @@ jobs:
330318
# ---------------------------------------------------------------------------
331319
build-cli-macos:
332320
name: Build CLI (macOS)
333-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
334321
needs: [compute-versions]
335322
runs-on: linux-amd64-cpu8
336323
timeout-minutes: 60
@@ -494,7 +481,6 @@ jobs:
494481
# ---------------------------------------------------------------------------
495482
build-gateway-binary-macos:
496483
name: Build Gateway Binary (macOS)
497-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
498484
needs: [compute-versions]
499485
runs-on: linux-amd64-cpu8
500486
timeout-minutes: 60
@@ -652,7 +638,6 @@ jobs:
652638

653639
build-driver-vm-macos:
654640
name: Build Driver VM macOS
655-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
656641
needs: [compute-versions]
657642
uses: ./.github/workflows/driver-vm-macos.yml
658643
with:
@@ -678,7 +663,6 @@ jobs:
678663
checkout-ref: ${{ github.sha }}
679664
upload-channel: latest/edge
680665
github-environment: latest/edge
681-
publish: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
682666
secrets:
683667
publish-credentials: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
684668

@@ -759,41 +743,11 @@ jobs:
759743
dnf install -y ./package-input/openshell-[0-9]*.rpm ./package-input/openshell-gateway-*.rpm
760744
LD_BIND_NOW=1 openshell-gateway --version
761745
762-
smoke-snap-dev-artifact:
763-
name: Smoke Snap Dev Artifact (amd64)
764-
if: ${{ github.event_name == 'workflow_dispatch' && inputs['package-smoke-only'] == true }}
765-
needs: [build-snap]
766-
runs-on: ubuntu-latest
767-
timeout-minutes: 20
768-
steps:
769-
- name: Install snapd
770-
run: |
771-
set -euo pipefail
772-
sudo apt-get update
773-
sudo apt-get install -y snapd
774-
sudo systemctl enable --now snapd.socket
775-
sudo systemctl start snapd
776-
sudo snap wait system seed.loaded
777-
778-
- name: Download snap artifact
779-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
780-
with:
781-
name: snap-linux-amd64
782-
path: snap-input/
783-
784-
- name: Smoke snap install
785-
run: |
786-
set -euo pipefail
787-
sudo snap install ./snap-input/*.snap --dangerous
788-
openshell --version
789-
sudo snap run openshell.gateway --version
790-
791746
# ---------------------------------------------------------------------------
792747
# Create / update the dev GitHub Release with CLI, gateway, driver, and wheels
793748
# ---------------------------------------------------------------------------
794749
release-dev:
795750
name: Release Dev
796-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
797751
needs: [compute-versions, build-cli-linux, build-cli-macos, build-gateway-binary-linux, build-gateway-binary-macos, build-supervisor-binary-linux, build-python-wheels-linux, build-python-wheel-macos, e2e, build-driver-vm-linux, build-driver-vm-macos, build-deb, build-rpm, build-snap, smoke-linux-dev-artifacts]
798752
runs-on: linux-amd64-cpu8
799753
timeout-minutes: 10
@@ -1052,7 +1006,6 @@ jobs:
10521006

10531007
trigger-wheel-publish:
10541008
name: Trigger Wheel Publish
1055-
if: ${{ github.event_name != 'workflow_dispatch' || inputs['package-smoke-only'] != true }}
10561009
needs: [compute-versions, release-dev]
10571010
runs-on: [self-hosted, nv]
10581011
timeout-minutes: 10

0 commit comments

Comments
 (0)