Skip to content

Release on manual push #211

Release on manual push

Release on manual push #211

Workflow file for this run

name: Release on manual push
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version'
required: true
jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@6f15f719a6820cf631bce0399a89b3f060302d3d
with:
preferred: ${{ inputs.release_version }}
gradle:
uses: walt-id/waltid-identity/.github/workflows/gradle.yml@354260aebde1a117cb35e4dffaecaa67a0182eae
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
publish: true
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@43ba2cb6031b8001d73d6e6a66e211c18a7a7d12
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker:
uses: walt-id/waltid-identity/.github/workflows/docker.yml@3a0b58287aa318e34845cd7f8279a1441ae8cbe2
secrets: inherit
needs: [ version, docker-matrix ]
with:
images: ${{ needs.docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
tags: '["stable"]'
publish: true
api-docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@43ba2cb6031b8001d73d6e6a66e211c18a7a7d12
with:
jsonpath: ".github/workflows/data/api-docker-matrix.json"
api-docker:
uses: walt-id/waltid-identity/.github/workflows/api-docker.yml@807020d067847768f59cdd493703bcb88748b598
secrets: inherit
needs: [ version, api-docker-matrix ]
with:
images: ${{ needs.api-docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
tags: '["stable"]'
publish: true
deploy:
uses: walt-id/waltid-identity/.github/workflows/deployment.yml@10c95cc4f730fa248edf233ca05427293d044a4c
secrets: inherit
needs: [ version, gradle, docker, api-docker ]
with:
version: ${{ needs.version.outputs.release_version }}
deployment: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'dev' || 'prod' }}
oss: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'test-identity-main' || 'identity-main' }}
enterprise: ${{ contains(needs.version.outputs.release_version, 'PRE-RELEASE') && 'test-enterprise-main' || 'enterprise-main' }}
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
secrets: inherit
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
enterprise-tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
secrets: inherit
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
repository: walt-id/waltid-identity-enterprise
docs-tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
secrets: inherit
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
repository: walt-id/waltid-docs
quickstart-tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
secrets: inherit
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
repository: walt-id/waltid-enterprise-quickstart
unified-build-tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@40178bca5ee6dbc8fb3ec818d308e8b72b0c6dd3
secrets: inherit
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
repository: walt-id/waltid-unified-build
release:
uses: walt-id/waltid-identity/.github/workflows/changelog.yml@cf46ed618f9b296fd9b63c7207ca288855bb5343
secrets: inherit
needs: [ tag ]
with:
tag: ${{ needs.tag.outputs.tag }}
enterprise-release:
name: Create Enterprise Release
runs-on: ubuntu-latest
needs: [ enterprise-tag ]
steps:
- name: Create Release
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
repository: walt-id/waltid-identity-enterprise
tag_name: ${{ needs.enterprise-tag.outputs.tag }}
prerelease: ${{ contains(needs.enterprise-tag.outputs.tag, 'PRE-RELEASE') }}
docs-release:
name: Create Docs Release
runs-on: ubuntu-latest
needs: [ docs-tag ]
steps:
- name: Create Release
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
repository: walt-id/waltid-docs
tag_name: ${{ needs.docs-tag.outputs.tag }}
prerelease: ${{ contains(needs.docs-tag.outputs.tag, 'PRE-RELEASE') }}
quickstart-release:
name: Create Quickstart Release
runs-on: ubuntu-latest
needs: [ quickstart-tag ]
steps:
- name: Create Release
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
repository: walt-id/waltid-enterprise-quickstart
tag_name: ${{ needs.quickstart-tag.outputs.tag }}
prerelease: ${{ contains(needs.quickstart-tag.outputs.tag, 'PRE-RELEASE') }}
unified-build-release:
name: Create Unified Build Release
runs-on: ubuntu-latest
needs: [ unified-build-tag ]
steps:
- name: Create Release
uses: softprops/action-gh-release@v3
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
repository: walt-id/waltid-unified-build
tag_name: ${{ needs.unified-build-tag.outputs.tag }}
prerelease: ${{ contains(needs.unified-build-tag.outputs.tag, 'PRE-RELEASE') }}