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

feat: Add pre-release and release workflow for integrations #7

Merged
merged 4 commits into from
Dec 2, 2021

Conversation

christian-kreuzberger-dtx
Copy link
Member

@christian-kreuzberger-dtx christian-kreuzberger-dtx commented Dec 1, 2021

This PR

  • Adds a pre-release and release workflow for Keptn integrations

Usage Example (pre-)release workflow

name: Create Pre-Release
on:
  workflow_dispatch:
jobs:
  test:
    strategy:
      matrix:
        platform: [ubuntu-latest]
    runs-on: ${{ matrix.platform }}
    steps:
      - name: Checkout code
        uses: actions/[email protected]
      - name: Run tests
        run: echo "No tests configured yet"

  pre-release:
    needs: test
    name: Pre-Release
    uses: keptn/gh-automation/.github/workflows/pre-release-integration.yml@feature/integration-workflows
    # pre-release and release workflow are interchangeable here!

  release-assets:
    name: Release Assets
    needs: pre-release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/[email protected]
      - name: Add release assets
        env:
          RELEASE_TAG: ${{ needs.pre-release.outputs.RELEASE_TAG }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          gh release upload "$RELEASE_TAG" ./LICENSE

@christian-kreuzberger-dtx christian-kreuzberger-dtx changed the title Feature/integration workflows feat: Add pre-release and release workflow for integrations Dec 1, 2021
@christian-kreuzberger-dtx christian-kreuzberger-dtx force-pushed the feature/integration-workflows branch 3 times, most recently from 7f47304 to d03baec Compare December 1, 2021 12:44
Signed-off-by: Christian Kreuzberger <[email protected]>
@christian-kreuzberger-dtx christian-kreuzberger-dtx marked this pull request as ready for review December 1, 2021 13:20
@christian-kreuzberger-dtx christian-kreuzberger-dtx deleted the feature/integration-workflows branch December 2, 2021 13:08
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.

2 participants