From e8cc153d5ea0a16ac5c17adc7b54d3d1512b9742 Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Thu, 21 Mar 2024 15:51:52 +0100 Subject: [PATCH 1/2] fix: Add `installation-test` input in `release-crates-debian` workflow --- .github/workflows/release-crates-debian.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-crates-debian.yml b/.github/workflows/release-crates-debian.yml index 1bed742..8fa8082 100644 --- a/.github/workflows/release-crates-debian.yml +++ b/.github/workflows/release-crates-debian.yml @@ -4,8 +4,8 @@ on: workflow_call: inputs: live-run: - type: string - required: false + type: boolean + required: true repo: type: string required: true @@ -15,6 +15,10 @@ on: branch: type: string required: true + installation-test: + type: boolean + required: false + default: true no-build: type: boolean required: false @@ -22,8 +26,8 @@ on: workflow_dispatch: inputs: live-run: - type: string - required: false + type: boolean + required: true repo: type: string required: true @@ -33,6 +37,10 @@ on: branch: type: string required: true + installation-test: + type: boolean + required: false + default: true no-build: type: boolean required: false @@ -57,6 +65,7 @@ jobs: with: live-run: ${{ inputs.live-run }} version: ${{ inputs.version }} + installation-test: ${{ inputs.installation-test }} ssh-host: genie.zenoh@projects-storage.eclipse.org ssh-host-path: /home/data/httpd/download.eclipse.org/zenoh/debian-repo ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} From fe7114be404c0ae3a23b8da9929179292634d3a6 Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Fri, 22 Mar 2024 15:40:53 +0100 Subject: [PATCH 2/2] fix: Missing and incorrect workflow/action inputs --- .github/workflows/branch-bump-tag-crates.yml | 5 +++-- .github/workflows/release-crates-cargo.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/branch-bump-tag-crates.yml b/.github/workflows/branch-bump-tag-crates.yml index a4c2c05..704061e 100644 --- a/.github/workflows/branch-bump-tag-crates.yml +++ b/.github/workflows/branch-bump-tag-crates.yml @@ -21,6 +21,9 @@ on: bump-deps-version: type: string required: false + bump-deps-branch: + type: string + required: false outputs: branch: value: ${{ jobs.main.outputs.branch }} @@ -61,7 +64,6 @@ jobs: uses: eclipse-zenoh/ci/create-release-branch@main with: repo: ${{ inputs.repo }} - path: ${{ inputs.path }} live-run: ${{ inputs.live-run }} version: ${{ inputs.version }} github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }} @@ -70,7 +72,6 @@ jobs: with: repo: ${{ inputs.repo }} path: ${{ inputs.path }} - live-run: ${{ inputs.live-run }} version: ${{ inputs.version }} bump-deps-pattern: ${{ inputs.bump-deps-pattern }} bump-deps-version: ${{ inputs.bump-deps-version }} diff --git a/.github/workflows/release-crates-cargo.yml b/.github/workflows/release-crates-cargo.yml index 5dd09b0..6581203 100644 --- a/.github/workflows/release-crates-cargo.yml +++ b/.github/workflows/release-crates-cargo.yml @@ -45,7 +45,7 @@ jobs: repo: ${{ inputs.repo }} live-run: ${{ inputs.live-run }} branch: ${{ inputs.branch }} - unpublished-deps-pattern: ${{ inputs.unpublished-deps-pattern }} + unpublished-deps-patterns: ${{ inputs.unpublished-deps-patterns }} unpublished-deps-repos: ${{ inputs.unpublished-deps-repos }} github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }} crates-io-token: ${{ secrets.CRATES_IO_TOKEN }}