-
Notifications
You must be signed in to change notification settings - Fork 16
124 lines (111 loc) · 3.62 KB
/
release-nightly.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: Release Nightly
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
concurrency: rel-nightly
jobs:
show-inputs:
runs-on: ubuntu-latest
steps:
- run: |
echo "Workflow branch: ${{ github.ref_name }} " >> $GITHUB_STEP_SUMMARY
env:
if: github.event_name != 'schedule' || github.repository_owner == 'keycloak-rel'
uses: ./.github/workflows/x-env.yml
create-tags:
name: Create tags
needs: [env]
uses: ./.github/workflows/x-create-tags.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
create-gh-releases:
name: Create Github releases
needs: [env, create-tags]
uses: ./.github/workflows/x-create-gh-releases.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
keycloak-nodejs-connect:
name: Keycloak Node.js Connect
needs: [env, create-tags, create-gh-releases]
uses: ./.github/workflows/x-keycloak-nodejs-connect.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
keycloak:
name: Keycloak
needs: [env, create-tags, create-gh-releases]
uses: ./.github/workflows/x-keycloak.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
mvn-url: ${{ needs.env.outputs.mvn-snapshots-url }}
version: 999.0.0-SNAPSHOT
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MVN_USERNAME: ${{ secrets.MVN_USERNAME }}
MVN_TOKEN: ${{ secrets.MVN_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
keycloak-container:
name: Keycloak Container
needs: [env, create-tags, keycloak]
uses: ./.github/workflows/x-keycloak-container.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
quay-org: ${{ needs.env.outputs.quay-org }}
docker-org: ${{ needs.env.outputs.docker-org }}
version: 999.0.0-SNAPSHOT
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
keycloak-operator:
name: Keycloak Operator
needs: [env, create-tags,keycloak-container]
uses: ./.github/workflows/x-keycloak-operator.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
quay-org: ${{ needs.env.outputs.quay-org }}
docker-org: ${{ needs.env.outputs.docker-org }}
mvn-url: ${{ needs.env.outputs.mvn-snapshots-url }}
version: 999.0.0-SNAPSHOT
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MVN_USERNAME: ${{ secrets.MVN_USERNAME }}
MVN_TOKEN: ${{ secrets.MVN_TOKEN }}
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_TOKEN: ${{ secrets.QUAY_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
keycloak-quickstarts:
name: Keycloak QuickStarts
needs: [env, create-tags, keycloak]
uses: ./.github/workflows/x-keycloak-quickstarts.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
tag: nightly
target-branch: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
publish-gh-releases:
name: Publish releases
needs: [env, keycloak, keycloak-nodejs-connect]
uses: ./.github/workflows/x-publish-gh-releases.yml
with:
gh-org: ${{ needs.env.outputs.gh-org }}
tag: nightly
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}