Add release/milestone workflows

- Add one full kick workflows for doing milestone or release.
- Use new central infra for all workflows
- Still keep old manual central workflows as we probably need
  those until branches are fixes to use new workflows for central.
- Separate artifactory build names so that we have unique ones
  for snapshot/milestone/release per branch as otherwise
  jfrog artifact download might be inaccurate.
- Use github environments to pause workflow for promotion and
  central sync to be able manually check that staged and released
  artifacts looks ok.
- Add tweaks to gradle build to ease switching to milestone, release
  or next dev version.
This commit is contained in:
Janne Valkealahti
2021-04-03 14:18:13 +01:00
parent 8346ccbd0a
commit 6413bff53c
7 changed files with 300 additions and 12 deletions

View File

@@ -15,8 +15,8 @@ jobs:
# Request close promotion repo
- uses: jvalkeal/nexus-sync@main
with:
username: ${{ secrets.OSSRH_TOKEN_USERNAME }}
password: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
username: ${{ secrets.OSSRH_S01_TOKEN_USERNAME }}
password: ${{ secrets.OSSRH_S01_TOKEN_PASSWORD }}
staging-profile-name: ${{ secrets.OSSRH_STAGING_PROFILE_NAME }}
staging-repo-id: ${{ github.event.inputs.stagedRepositoryId }}
close: true