-
Notifications
You must be signed in to change notification settings - Fork 13
62 lines (58 loc) · 1.96 KB
/
update-values.yaml
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
name: Update values
on:
workflow_dispatch:
inputs:
dir:
required: true
description: 'Dir'
default: '9c-internal'
type: choice
options:
- 9c-main
- 9c-internal
file-name:
required: true
description: 'FileName'
default: 'general'
type: choice
options:
- general
- 9c-network
- heimdall
- thor
- idun
headless:
description: 'Dockerhub tag for headless (e.g. 30, git-5db812731f7fef1156b00a90ff0267e95dd31820)'
seed:
description: 'Same, for seed'
bridge-service:
description: 'Same, bridgeService'
data-provider:
description: 'Same, for DP'
world-boss-service:
description: 'Same, for world-boss-service'
market-service:
description: 'Same, for market-service'
patrol-reward-service:
description: 'Same, for patrol-reward-service'
rudolf-service:
description: 'Same, for rudolf-service'
jobs:
update-values-file:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: 3.10.13
- run: |
python -m pip install -r requirements.txt
flit install
name: install dependencies
working-directory: ./scripts
- name: Update values
id: update-values
run: |
bash .github/scripts/update-values.sh "${{ github.event.inputs.dir }}" "${{ github.event.inputs.file-name }}" "${{ github.event.inputs.headless }}" "${{ github.event.inputs.seed }}" "${{ github.event.inputs.bridge-service }}" "${{ github.event.inputs.data-provider }}" "${{ github.event.inputs.world-boss-service }}" "${{ github.event.inputs.market-service }}" "${{ github.event.inputs.patrol-reward-service }}" "${{ github.event.inputs.rudolf-service }}"
env:
GITHUB_TOKEN: ${{ secrets.P_GITHUB_TOKEN }}