Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release reusable pipeline #42

Merged
merged 4 commits into from
Jan 29, 2024
Merged

Conversation

sigilioso
Copy link
Contributor

@sigilioso sigilioso commented Jan 18, 2024

This PR introduces a reusable workflow to release the OHIs.

Usage example:

jobs:
  job_name:
    uses: newrelic/coreint-automation/.github/workflows/trigger_reusable_on_release.yaml@v2
    with:
      tag: ${{ github.event.release.tag_name }}
      integration_name: "integration-name" # without the 'nri-' prefix
    secrets: inherit
  • Since the required secrets are common for all OHIs, the workflow can be used with inherited secrets (this force us to use the workflow in the same organization).
  • There are flags to skip testing the package, and setting up the publish schema.

@sigilioso sigilioso force-pushed the feat/reausable-release-pipeline branch from 34f2f92 to 973c088 Compare January 19, 2024 08:03
@sigilioso sigilioso force-pushed the feat/reausable-release-pipeline branch from 973c088 to a925d0e Compare January 19, 2024 08:08
@sigilioso sigilioso changed the title [WIP] release reusable pipeline [release reusable pipeline Jan 19, 2024
@sigilioso sigilioso changed the title [release reusable pipeline release reusable pipeline Jan 19, 2024
@sigilioso sigilioso marked this pull request as ready for review January 19, 2024 08:54
@sigilioso sigilioso requested a review from a team January 19, 2024 08:54
@paologallinaharbur
Copy link
Member

I am testing how the inputs are passed here (In particular that the events.repository is correctly detected)

@paologallinaharbur paologallinaharbur merged commit 322d8ef into main Jan 29, 2024
5 checks passed
@paologallinaharbur paologallinaharbur deleted the feat/reausable-release-pipeline branch January 29, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants