-
Notifications
You must be signed in to change notification settings - Fork 60
42 lines (41 loc) · 1.5 KB
/
test-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Deploy manually to test environment
on:
workflow_dispatch:
inputs:
release_version:
description: 'Custom version'
required: false
jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
with:
preferred: ${{ inputs.release_version }}
gradle:
uses: walt-id/waltid-identity/.github/workflows/gradle.yml@d3e3284f901bef1e6d80b35720fbae5e4b49a95a
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@927c4233610e90dd8a57418662fad7293b7b29a4
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker:
uses: walt-id/waltid-identity/.github/workflows/docker.yml@a82cb3363b9ffc14fde08d787383318f83cb99be
secrets: inherit
needs: [ version, docker-matrix ]
with:
images: ${{ needs.docker-matrix.outputs.json }}s
version: ${{ needs.version.outputs.release_version }}
publish: true
deploy:
uses: walt-id/waltid-identity/.github/workflows/deployment.yml@7e03d0f22863cac15deafac7292b4c38fd9ba920
secrets: inherit
needs: [ version, gradle, docker ]
with:
version: ${{ needs.version.outputs.release_version }}
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@266f5c09359450c39019a6da38f2b331e7122918
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}