Skip to content

Commit

Permalink
CI: Test workflow passing secrets thru env
Browse files Browse the repository at this point in the history
Change-Id: I5fcb0cd29a217673fe8b369781d8dccdf5fcabae
Signed-off-by: Anil Belur <[email protected]>
  • Loading branch information
askb committed Nov 21, 2023
1 parent 5684ed1 commit 1763392
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gerrit-ci-management-novote-verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,24 @@ jobs:
GERRIT_SSH_PRIVKEY: ${{ secrets.GERRIT_SSH_PRIVKEY }}
CLOUDS_ENV_B64: ${{ secrets.CLOUDS_ENV_B64 }}
CLOUDS_YAML_B64: ${{ secrets.CLOUDS_YAML_B64 }}

call-gerrit-packer-verify:
# yamllint disable-line rule:line-length
uses: lfit/releng-reusable-workflows/.github/workflows/composed-packer-verify.yaml@main
with:
GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
GERRIT_CHANGE_NUMBER: ${{ inputs.GERRIT_CHANGE_NUMBER }}
GERRIT_CHANGE_URL: ${{ inputs.GERRIT_CHANGE_URL }}
GERRIT_EVENT_TYPE: ${{ inputs.GERRIT_EVENT_TYPE }}
GERRIT_PATCHSET_NUMBER: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
GERRIT_PATCHSET_REVISION: ${{ inputs.GERRIT_PATCHSET_REVISION }}
GERRIT_PROJECT: ${{ inputs.GERRIT_PROJECT }}
GERRIT_REFSPEC: ${{ inputs.GERRIT_REFSPEC }}
comment-only: "true"
ENV_VARS: ${{ toJSON(vars) }}
secrets:
ENV_SECRETS: ${{ toJSON(secrets) }}
GERRIT_SSH_PRIVKEY: ${{ secrets.GERRIT_SSH_PRIVKEY }}
CLOUDS_ENV_B64: ${{ secrets.CLOUDS_ENV_B64 }}
CLOUDS_YAML_B64: ${{ secrets.CLOUDS_YAML_B64 }}

0 comments on commit 1763392

Please sign in to comment.