File tree 5 files changed +16
-29
lines changed
5 files changed +16
-29
lines changed Original file line number Diff line number Diff line change 18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- uses : actions/checkout@v4
21
- - uses : asdf-vm/actions/setup@v3
22
- - id : asdf-cache
23
- uses : actions/cache@v4
24
- with :
25
- path : ~/.asdf/
26
- key : ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
27
- - uses : asdf-vm/actions/install@v3
28
- if : steps.asdf-cache.outputs.cache-hit != 'true'
29
- with :
30
- before_install : |
31
- asdf install golang latest
32
- asdf global golang latest
21
+ - uses : jdx/mise-action@v2
33
22
- name : Find go cache dir
34
23
id : go-cache
35
24
run : |
54
43
make generate
55
44
git diff --exit-code --name-only
56
45
- id : go_version
57
- run : echo "go_version=$(asdf current golang | awk '{print $2}' )" >> $GITHUB_OUTPUT
46
+ run : echo "go_version=$(mise current go )" >> $GITHUB_OUTPUT
58
47
- uses : nais/platform-build-push-sign@main
59
48
id : build-push-sign
60
49
with :
91
80
chart="${{ steps.package_chart.outputs.archive }}"
92
81
echo "Pushing: $chart"
93
82
helm push "$chart" ${{ env.IMAGE_REPOSITORY }}
83
+
94
84
rollout :
95
85
runs-on : fasit-deploy
96
86
permissions :
Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v4
12
- - uses : asdf-vm/actions/setup@v3
13
- - id : asdf-cache
14
- uses : actions/cache@v4
15
- with :
16
- path : ~/.asdf/
17
- key : ${{ runner.os }}-asdf-${{ hashFiles('**/.tool-versions') }}
18
- - uses : asdf-vm/actions/install@v3
19
- if : steps.asdf-cache.outputs.cache-hit != 'true'
20
- with :
21
- before_install : |
22
- asdf install golang latest
23
- asdf global golang latest
12
+ - uses : jdx/mise-action@v2
24
13
- name : Find go cache dir
25
14
id : go-cache
26
15
run : |
55
44
runs-on : ubuntu-latest
56
45
steps :
57
46
- uses : actions/checkout@v4
47
+ - uses : jdx/mise-action@v2
48
+ with :
49
+ cache_key_prefix : " pr_bp_"
58
50
- id : go_version
59
- run : echo "go_version=$(cat .tool-versions | grep golang | awk '{print $2}' )" >> $GITHUB_OUTPUT
51
+ run : echo "go_version=$(mise current go )" >> $GITHUB_OUTPUT
60
52
- uses : nais/platform-build-push-sign@main
61
53
id : build-push-sign
62
54
with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ So ensure that you configure and provide a proper environment for the reconciler
16
16
You may use the example configuration file to skip the boring process of figuring it out:
17
17
18
18
``` shell
19
- cp .env.example .env
19
+ mise install # Install required dependencies
20
+ cp .env.example .env # Copy the example configuration file
20
21
```
21
22
22
23
To run the reconciler locally, you can use the following command:
Original file line number Diff line number Diff line change
1
+ [settings ]
2
+ pin = true
3
+
4
+ [tools ]
5
+ go = " 1.24.0"
6
+ helm = " 3.17.1"
You can’t perform that action at this time.
0 commit comments