-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cortexproject:master' into query-rejection
- Loading branch information
Showing
197 changed files
with
7,781 additions
and
3,510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Build Image | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
paths: | ||
- 'build-image/**' | ||
- '.github/workflows/build-image.yml' | ||
pull_request: | ||
branches: [ master ] | ||
paths: | ||
- 'build-image/**' | ||
- '.github/workflows/build-image.yml' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Checkout | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Save image | ||
run: make save-multiarch-build-image | ||
|
||
- name: Upload Docker Images Artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build-image | ||
path: | | ||
./build-image-amd64.tar | ||
./build-image-arm64.tar | ||
if-no-files-found: error | ||
|
||
push: | ||
needs: build | ||
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && github.repository == 'cortexproject/cortex' | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: Checkout | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Download Docker Images Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: build-image | ||
|
||
- name: Load image | ||
run: make load-multiarch-build-image | ||
|
||
- name: Login to Quay.io | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: quay.io | ||
username: ${{secrets.QUAY_REGISTRY_USER}} | ||
password: ${{secrets.QUAY_REGISTRY_PASSWORD}} | ||
|
||
- name: Push image | ||
run: make push-multiarch-build-image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,6 @@ Makefile.local | |
.vscode | ||
compose | ||
compose-simple | ||
|
||
/build-image-arm64.tar | ||
/build-image-amd64.tar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
Alan Protasio, Amazon Web Services <alanprot@gmail.com> (@alanprot) | ||
Alvin Lin, Amazon Web Services <alvinlin123@gmail.com> (@alvinlin123) | ||
Ben Ye, Amazon Web Services <yb532204897@gmail.com> (@yeya24) | ||
Charlie Le, Apple <chtle4@gmail.com> (@CharlieTLe) | ||
Friedrich Gonzalez, Adobe <friedrichg@gmail.com> (@friedrichg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
save-multiarch-build-image: | ||
@echo | ||
# Build image for each platform separately... it tends to generate fewer errors. | ||
$(SUDO) docker buildx build --platform linux/amd64 --build-arg=revision=$(GIT_REVISION) --build-arg=goproxyValue=$(GOPROXY_VALUE) -t $(IMAGE_PREFIX)build-image:$(IMAGE_TAG)-amd64 --output type=docker,dest=./build-image-amd64.tar build-image/ | ||
$(SUDO) docker buildx build --platform linux/arm64 --build-arg=revision=$(GIT_REVISION) --build-arg=goproxyValue=$(GOPROXY_VALUE) -t $(IMAGE_PREFIX)build-image:$(IMAGE_TAG)-arm64 --output type=docker,dest=./build-image-arm64.tar build-image/ | ||
|
||
load-multiarch-build-image: | ||
$(SUDO) docker load -i build-image-amd64.tar | ||
$(SUDO) docker load -i build-image-arm64.tar | ||
|
||
push-multiarch-build-image: | ||
# This command will run the same build as multiarch-build-image, but it will reuse existing platform-specific images, | ||
# put them together and push to registry. | ||
$(SUDO) docker push $(IMAGE_PREFIX)build-image:${IMAGE_TAG}-amd64 | ||
$(SUDO) docker push $(IMAGE_PREFIX)build-image:${IMAGE_TAG}-arm64 | ||
$(SUDO) docker manifest create $(IMAGE_PREFIX)build-image:$(IMAGE_TAG) --amend $(IMAGE_PREFIX)build-image:${IMAGE_TAG}-amd64 --amend $(IMAGE_PREFIX)build-image:${IMAGE_TAG}-arm64 | ||
$(SUDO) docker manifest push $(IMAGE_PREFIX)build-image:$(IMAGE_TAG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.18 | ||
FROM alpine:3.19 | ||
ARG TARGETARCH | ||
|
||
RUN apk add --no-cache ca-certificates | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.18 | ||
FROM alpine:3.19 | ||
ARG TARGETARCH | ||
|
||
RUN apk add --no-cache ca-certificates | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.18 | ||
FROM golang:1.19 | ||
ENV CGO_ENABLED=0 | ||
RUN go get github.com/go-delve/delve/cmd/dlv | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
development/tsdb-blocks-storage-s3-single-binary/dev.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.18 | ||
FROM alpine:3.19 | ||
|
||
RUN mkdir /cortex | ||
WORKDIR /cortex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
development/tsdb-blocks-storage-swift-single-binary/dev.dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.18 | ||
FROM alpine:3.19 | ||
|
||
RUN mkdir /cortex | ||
WORKDIR /cortex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CORTEX_VERSION=v1.17.0 | ||
CORTEX_VERSION=v1.17.1 | ||
GRAFANA_VERSION=10.4.2 | ||
PROMETHEUS_VERSION=v2.51.2 | ||
SEAWEEDFS_VERSION=3.67 |
Oops, something went wrong.