Skip to content

Commit

Permalink
Add agent release workflow (#224)
Browse files Browse the repository at this point in the history
Add a workflow to update the agent release files when we publish a new
release.

This references the shared `integrations-shared` `agent_release.yml`
workflow used by all integration repositories.

[skip changeset]
[skip review]
[skip ci]
  • Loading branch information
tombruijn committed Sep 19, 2024
1 parent a34dce4 commit 782dbbf
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/agent_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Update agent release files"

on:
workflow_dispatch:
inputs:
version:
description: "Version"
required: true
type: string
user:
description: "User who triggered the release"
required: true
type: string
files:
description: "Files to update"
required: true
type: string

jobs:
update:
name: "Update"
uses: "appsignal/integrations-shared/.github/workflows/agent_release.yml@main"
with:
version: "${{inputs.version}}"
user: "${{inputs.user}}"
files: "${{inputs.files}}"
secrets:
PUBLISH_INTEGRATION_DEPLOY_KEY: "${{secrets.AGENT_UPDATE_DEPLOY_KEY}}"
PUBLISH_GIT_SIGN_KEY: "${{secrets.PUBLISH_GIT_SIGN_KEY}}"
PUBLISH_GIT_SIGN_PUBLIC_KEY: "${{secrets.PUBLISH_GIT_SIGN_PUBLIC_KEY}}"
PUBLISH_AGENT_INTEGRATIONS_RELEASE_PAT: "${{secrets.PUBLISH_AGENT_INTEGRATIONS_RELEASE_PAT}}"

0 comments on commit 782dbbf

Please sign in to comment.