@@ -20,10 +20,12 @@ jobs:
2020 lint :
2121 runs-on : ubuntu-latest
2222 container :
23- image : grafana/mimir-build-image:pr3976-e7cae18e3
23+ image : grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
2424 steps :
25- - name : Checkout repository
26- uses : actions/checkout@v2
25+ - name : Check out repository
26+ uses : actions/checkout@v3
27+ - name : Run Git Config
28+ run : git config --global --add safe.directory '*'
2729 # Commands in the Makefile are hardcoded with an assumed file structure of the CI container
2830 # Symlink ensures paths specified in previous commands don’t break
2931 - name : Symlink Expected Path to Workspace
@@ -48,25 +50,26 @@ jobs:
4850 doc-validator :
4951 runs-on : ubuntu-latest
5052 container :
51- image : grafana/doc-validator:v1.5 .0
53+ image : grafana/doc-validator:v1.9 .0
5254 steps :
53- - name : Checkout repository
54- # This workflow intentionally uses v1 of checkout because
55- # the doc-validator image does not contain the expected shared
56- # libraries for the NodeJS packages injected by later versions.
57- uses : actions/checkout@v1
55+ - name : Check out repository
56+ uses : actions/checkout@v3
57+ - name : Run Git Config
58+ run : git config --global --add safe.directory '*'
5859 - name : Run doc-validator tool (mimir)
59- run : doc-validator ./docs/sources/mimir
60+ run : doc-validator ./docs/sources/mimir /docs/mimir/latest
6061 - name : Run doc-validator tool (helm-charts)
61- run : doc-validator ./docs/sources/helm-charts
62+ run : doc-validator ./docs/sources/helm-charts /docs/mimir/latest
6263
6364 lint-jsonnet :
6465 runs-on : ubuntu-latest
6566 container :
66- image : grafana/mimir-build-image:pr3976-e7cae18e3
67+ image : grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
6768 steps :
68- - name : Checkout repository
69- uses : actions/checkout@v2
69+ - name : Check out repository
70+ uses : actions/checkout@v3
71+ - name : Run Git Config
72+ run : git config --global --add safe.directory '*'
7073 # Commands in the Makefile are hardcoded with an assumed file structure of the CI container
7174 # Symlink ensures paths specified in previous commands don’t break
7275 - name : Symlink Expected Path to Workspace
@@ -87,18 +90,20 @@ jobs:
8790 lint-helm :
8891 runs-on : ubuntu-latest
8992 container :
90- image : grafana/mimir-build-image:pr3976-e7cae18e3
93+ image : grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
9194 steps :
92- - name : Checkout repository
93- uses : actions/checkout@v2
95+ - name : Check out repository
96+ uses : actions/checkout@v3
97+ - name : Run Git Config
98+ run : git config --global --add safe.directory '*'
9499 # Commands in the Makefile are hardcoded with an assumed file structure of the CI container
95100 # Symlink ensures paths specified in previous commands don’t break
96101 - name : Symlink Expected Path to Workspace
97102 run : |
98103 mkdir -p /go/src/github.com/grafana/mimir
99104 ln -s $GITHUB_WORKSPACE/* /go/src/github.com/grafana/mimir
100105 - name : Set up Helm
101- uses : azure/setup-helm@v1
106+ uses : azure/setup-helm@v3
102107 with :
103108 version : v3.8.2
104109 - name : Check Helm Tests
@@ -114,10 +119,12 @@ jobs:
114119 test_group_id : [0, 1, 2, 3]
115120 test_group_total : [4]
116121 container :
117- image : grafana/mimir-build-image:pr3976-e7cae18e3
122+ image : grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
118123 steps :
119- - name : Checkout repository
120- uses : actions/checkout@v2
124+ - name : Check out repository
125+ uses : actions/checkout@v3
126+ - name : Run Git Config
127+ run : git config --global --add safe.directory '*'
121128 - name : Symlink Expected Path to Workspace
122129 run : |
123130 mkdir -p /go/src/github.com/grafana/mimir
@@ -130,8 +137,10 @@ jobs:
130137 test-docs :
131138 runs-on : ubuntu-latest
132139 steps :
133- - name : " Check out code"
134- uses : " actions/checkout@v3"
140+ - name : Check out repository
141+ uses : actions/checkout@v3
142+ - name : Run Git Config
143+ run : git config --global --add safe.directory '*'
135144 - name : " Build website"
136145 run : |
137146 docker run \
@@ -145,17 +154,19 @@ jobs:
145154 build :
146155 runs-on : ubuntu-latest
147156 container :
148- image : grafana/mimir-build-image:pr3976-e7cae18e3
157+ image : grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
149158 steps :
150- - name : Checkout repository
151- uses : actions/checkout@v2
159+ - name : Check out repository
160+ uses : actions/checkout@v3
161+ - name : Run Git Config
162+ run : git config --global --add safe.directory '*'
152163 - name : Install Docker Client
153164 run : ./.github/workflows/scripts/install-docker.sh
154165 - name : Set up QEMU
155- uses : docker/setup-qemu-action@v1
166+ uses : docker/setup-qemu-action@v2
156167 - name : Set up Docker Buildx
157168 id : buildx
158- uses : docker/setup-buildx-action@v1
169+ uses : docker/setup-buildx-action@v2
159170 - name : Symlink Expected Path to Workspace
160171 run : |
161172 mkdir -p /go/src/github.com/grafana/mimir
@@ -168,7 +179,7 @@ jobs:
168179 run : |
169180 tar cvf images.tar /tmp/images
170181 - name : Upload Archive with Docker Images
171- uses : actions/upload-artifact@v2
182+ uses : actions/upload-artifact@v3
172183 with :
173184 name : Docker Images
174185 path : ./images.tar
@@ -185,19 +196,21 @@ jobs:
185196 test_group_total : [4]
186197 steps :
187198 - name : Upgrade golang
188- uses : actions/setup-go@v2
199+ uses : actions/setup-go@v3
189200 with :
190- go-version : 1.19.3
191- - name : Checkout repository
192- uses : actions/checkout@v2
201+ go-version : 1.20.3
202+ - name : Check out repository
203+ uses : actions/checkout@v3
204+ - name : Run Git Config
205+ run : git config --global --add safe.directory '*'
193206 - name : Install Docker Client
194207 run : sudo ./.github/workflows/scripts/install-docker.sh
195208 - name : Symlink Expected Path to Workspace
196209 run : |
197210 sudo mkdir -p /go/src/github.com/grafana/mimir
198211 sudo ln -s $GITHUB_WORKSPACE/* /go/src/github.com/grafana/mimir
199212 - name : Download Archive with Docker Images
200- uses : actions/download-artifact@v2
213+ uses : actions/download-artifact@v3
201214 with :
202215 name : Docker Images
203216 - name : Extract Docker Images from Archive
@@ -231,18 +244,20 @@ jobs:
231244 if : (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/r') ) && github.event_name == 'push' && github.repository == 'grafana/mimir'
232245 runs-on : ubuntu-latest
233246 container :
234- image : grafana/mimir-build-image:pr3976-e7cae18e3
247+ image : grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
235248 steps :
236- - name : Checkout repository
237- uses : actions/checkout@v2
249+ - name : Check out repository
250+ uses : actions/checkout@v3
251+ - name : Run Git Config
252+ run : git config --global --add safe.directory '*'
238253 - name : Install Docker Client
239254 run : ./.github/workflows/scripts/install-docker.sh
240255 - name : Symlink Expected Path to Workspace
241256 run : |
242257 mkdir -p /go/src/github.com/grafana/mimir
243258 ln -s $GITHUB_WORKSPACE/* /go/src/github.com/grafana/mimir
244259 - name : Download Archive with Docker Images
245- uses : actions/download-artifact@v2
260+ uses : actions/download-artifact@v3
246261 with :
247262 name : Docker Images
248263 - name : Extract Docker Images from Archive
0 commit comments