1717 lint :
1818 runs-on : ubuntu-24.04
1919 container :
20- image : quay.io/cortexproject/build-image:master-03a8f8c98
20+ image : quay.io/cortexproject/build-image:master-59491e9aae
2121 steps :
2222 - name : Checkout Repo
2323 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -42,11 +42,13 @@ jobs:
4242 run : make BUILD_IN_CONTAINER=false check-doc
4343 - name : Check White Noise.
4444 run : make BUILD_IN_CONTAINER=false check-white-noise
45+ - name : Check Modernize
46+ run : make BUILD_IN_CONTAINER=false check-modernize
4547
4648 test :
4749 runs-on : ubuntu-24.04
4850 container :
49- image : quay.io/cortexproject/build-image:master-03a8f8c98
51+ image : quay.io/cortexproject/build-image:master-59491e9aae
5052 steps :
5153 - name : Checkout Repo
5254 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6466 test-no-race :
6567 runs-on : ubuntu-24.04
6668 container :
67- image : quay.io/cortexproject/build-image:master-03a8f8c98
69+ image : quay.io/cortexproject/build-image:master-59491e9aae
6870 steps :
6971 - name : Checkout Repo
7072 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -93,21 +95,21 @@ jobs:
9395
9496 # Initializes the CodeQL tools for scanning.
9597 - name : Initialize CodeQL
96- uses : github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
98+ uses : github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
9799 with :
98100 languages : go
99101
100102 - name : Autobuild
101- uses : github/codeql-action/autobuild@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
103+ uses : github/codeql-action/autobuild@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
102104
103105 - name : Perform CodeQL Analysis
104- uses : github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1
106+ uses : github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
105107
106108
107109 build :
108110 runs-on : ubuntu-24.04
109111 container :
110- image : quay.io/cortexproject/build-image:master-03a8f8c98
112+ image : quay.io/cortexproject/build-image:master-59491e9aae
111113 steps :
112114 - name : Checkout Repo
113115 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -131,7 +133,7 @@ jobs:
131133 touch build-image/.uptodate
132134 make BUILD_IN_CONTAINER=false web-build
133135 - name : Upload Website Artifact
134- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
136+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
135137 with :
136138 name : website public
137139 path : website/public/
@@ -143,7 +145,7 @@ jobs:
143145 - name : Create Docker Images Archive
144146 run : tar -cvf images.tar /tmp/images
145147 - name : Upload Docker Images Artifact
146- uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
148+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
147149 with :
148150 name : Docker Images
149151 path : ./images.tar
@@ -162,11 +164,12 @@ jobs:
162164 - integration_querier
163165 - integration_ruler
164166 - integration_query_fuzz
167+ - integration_remote_write_v2
165168 steps :
166169 - name : Upgrade golang
167- uses : actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2 .0
170+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
168171 with :
169- go-version : 1.23.2
172+ go-version : 1.24.0
170173 - name : Checkout Repo
171174 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
172175 - name : Install Docker Client
@@ -176,7 +179,7 @@ jobs:
176179 sudo mkdir -p /go/src/github.com/cortexproject/cortex
177180 sudo ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex
178181 - name : Download Docker Images Artifacts
179- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
182+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
180183 with :
181184 name : Docker Images
182185 - name : Extract Docker Images Archive
@@ -210,8 +213,7 @@ jobs:
210213 docker pull quay.io/cortexproject/cortex:v1.18.1
211214 elif [ "$TEST_TAGS" = "integration_query_fuzz" ]; then
212215 docker pull quay.io/cortexproject/cortex:v1.18.1
213- docker pull quay.io/prometheus/prometheus:v2.51.0
214- docker pull quay.io/prometheus/prometheus:v2.55.1
216+ docker pull quay.io/prometheus/prometheus:v3.5.0
215217 fi
216218 docker pull memcached:1.6.1
217219 docker pull redis:7.0.4-alpine
@@ -224,7 +226,7 @@ jobs:
224226 export CORTEX_IMAGE="${CORTEX_IMAGE_PREFIX}cortex:$IMAGE_TAG-amd64"
225227 export CORTEX_CHECKOUT_DIR="/go/src/github.com/cortexproject/cortex"
226228 echo "Running integration tests with image: $CORTEX_IMAGE"
227- go test -tags=integration,${{ matrix.tags }} -timeout 2400s -v -count=1 ./integration/...
229+ go test -tags=slicelabels, integration,${{ matrix.tags }} -timeout 2400s -v -count=1 ./integration/...
228230 env :
229231 IMAGE_PREFIX : ${{ secrets.IMAGE_PREFIX }}
230232
@@ -237,7 +239,7 @@ jobs:
237239 - name : Install Docker Client
238240 run : sudo ./.github/workflows/scripts/install-docker.sh
239241 - name : Download Docker Images Artifact
240- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
242+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
241243 with :
242244 name : Docker Images
243245 - name : Extract Docker Images Archive
@@ -247,14 +249,14 @@ jobs:
247249 run : |
248250 touch build-image/.uptodate
249251 MIGRATIONS_DIR=$(pwd)/cmd/cortex/migrations
250- make BUILD_IMAGE=quay.io/cortexproject/build-image:master-03a8f8c98 TTY='' configs-integration-test
252+ make BUILD_IMAGE=quay.io/cortexproject/build-image:master-59491e9aae TTY='' configs-integration-test
251253
252254 deploy_website :
253255 needs : [build, test]
254- if : ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
256+ if : github.ref == 'refs/heads/master' && github.repository == 'cortexproject/cortex'
255257 runs-on : ubuntu-24.04
256258 container :
257- image : quay.io/cortexproject/build-image:master-03a8f8c98
259+ image : quay.io/cortexproject/build-image:master-59491e9aae
258260 steps :
259261 - name : Checkout Repo
260262 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -271,7 +273,7 @@ jobs:
271273 mkdir -p /go/src/github.com/cortexproject/cortex
272274 ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex
273275 - name : Download Website Artifact
274- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
276+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
275277 with :
276278 name : website public
277279 path : website/public
@@ -296,7 +298,7 @@ jobs:
296298 if : (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex'
297299 runs-on : ubuntu-24.04
298300 container :
299- image : quay.io/cortexproject/build-image:master-03a8f8c98
301+ image : quay.io/cortexproject/build-image:master-59491e9aae
300302 steps :
301303 - name : Checkout Repo
302304 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -312,7 +314,7 @@ jobs:
312314 mkdir -p /go/src/github.com/cortexproject/cortex
313315 ln -s $GITHUB_WORKSPACE/* /go/src/github.com/cortexproject/cortex
314316 - name : Download Docker Images Artifact
315- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
317+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
316318 with :
317319 name : Docker Images
318320 - name : Extract Docker Images Archive
0 commit comments