Skip to content

Commit

Permalink
Refactor agent V3 release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley committed Aug 8, 2024
1 parent 881a740 commit 623557b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
description: 'Setup release in github'
type: boolean
default: false
buildPackages:
description: 'Build packages'
default: true
type: boolean
packageVersion:
description: 'Package version number'
default: "3.0.0"
Expand Down Expand Up @@ -56,7 +52,6 @@ jobs:
runs-on: ubuntu-22.04
outputs:
github_release: ${{steps.vars.outputs.github_release }}
build_packages: ${{steps.vars.outputs.build_packages }}
upload_azure: ${{steps.vars.outputs.upload_azure }}
publish_packages: ${{steps.vars.outputs.publish_packages }}
tag_release: ${{steps.vars.outputs.tag_release }}
Expand All @@ -71,7 +66,6 @@ jobs:
id: vars
run: |
echo "github_release=${{ inputs.githubRelease }}" >> $GITHUB_OUTPUT
echo "build_packages=${{ inputs.buildPackages }}" >> $GITHUB_OUTPUT
echo "upload_azure=${{ inputs.uploadAzure }}" >> $GITHUB_OUTPUT
echo "publish_packages=${{ inputs.publishPackages }}" >> $GITHUB_OUTPUT
echo "tag_release=${{ inputs.tagRelease }}" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -238,7 +232,7 @@ jobs:
- name: Build Packages
env:
GPG_KEY: ${{ secrets.gpg-key }}
GPG_KEY: ${{ secrets.INDIGO_GPG_AGENT }}
NFPM_SIGNING_KEY_FILE: .key.asc
VERSION: ${{ inputs.packageVersion }}
run: |
Expand Down Expand Up @@ -316,7 +310,7 @@ jobs:

merge-release:
if: ${{ needs.vars.outputs.create_pull_request == 'true' }}
name: Publish packages
name: Merge release branch back into V3 branch
runs-on: ubuntu-22.04
needs: [vars,tag-release]
steps:
Expand Down

0 comments on commit 623557b

Please sign in to comment.