Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sholtkamp committed Feb 3, 2023
1 parent 69af080 commit a6f28db
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/devnet-bundle-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: devnet-bundle-release

on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Release version"
required: true
nextDevVersion:
description: "Next SNAPSHOT version"
required: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: conterra/devnet-bundle-release-action@main
with:
nexus_id: ${{secrets.NEXUS_ID}}
nexus_user: ${{secrets.NEXUS_USER}}
nexus_user_pw: ${{secrets.NEXUS_USER_PW}}
nexus_url: ${{secrets.NEXUS_URL}}
nexus_url_release: ${{secrets.NEXUS_URL_RELEASE}}
nexus_url_snapshots: ${{secrets.NEXUS_URL_SNAPSHOTS}}
release_token: ${{secrets.RELEASE_TOKEN}}
git_mail: ${{secrets.GIT_MAIL}}
git_user: ${{secrets.GIT_USER}}
release_version: ${{ github.event.inputs.releaseVersion }}
next_dev_version: ${{ github.event.inputs.nextDevVersion }}
ms_teams_webhook_uri: ${{secrets.MS_TEAMS_WEBHOOK_URI}}
21 changes: 21 additions & 0 deletions .github/workflows/devnet-bundle-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: devnet-bundle-snapshot

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: conterra/devnet-bundle-snapshot-action@main
with:
nexus_id: ${{secrets.NEXUS_ID}}
nexus_user: ${{secrets.NEXUS_USER}}
nexus_user_pw: ${{secrets.NEXUS_USER_PW}}
nexus_url: ${{secrets.NEXUS_URL}}
nexus_url_release: ${{secrets.NEXUS_URL_RELEASE}}
nexus_url_snapshots: ${{secrets.NEXUS_URL_SNAPSHOTS}}
release_token: ${{secrets.RELEASE_TOKEN}}

0 comments on commit a6f28db

Please sign in to comment.