|
|
|
@ -14,7 +14,7 @@ jobs:
|
|
|
|
|
image: quay.io/prometheus/golang-builder:1.22-base |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/setup_environment |
|
|
|
|
- run: make GOOPTS=--tags=stringlabels GO_ONLY=1 SKIP_GOLANGCI_LINT=1 |
|
|
|
|
- run: go test --tags=stringlabels ./tsdb/ -test.tsdb-isolation=false |
|
|
|
@ -28,7 +28,7 @@ jobs:
|
|
|
|
|
image: quay.io/prometheus/golang-builder:1.22-base |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/setup_environment |
|
|
|
|
- run: go test --tags=dedupelabels ./... |
|
|
|
|
- run: GOARCH=386 go test ./cmd/prometheus |
|
|
|
@ -58,7 +58,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/setup_environment |
|
|
|
|
with: |
|
|
|
|
enable_go: false |
|
|
|
@ -115,7 +115,7 @@ jobs:
|
|
|
|
|
thread: [ 0, 1, 2 ] |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/build |
|
|
|
|
with: |
|
|
|
|
promu_opts: "-p linux/amd64 -p windows/amd64 -p linux/arm64 -p darwin/amd64 -p darwin/arm64 -p linux/386" |
|
|
|
@ -138,7 +138,7 @@ jobs:
|
|
|
|
|
# should also be updated. |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/build |
|
|
|
|
with: |
|
|
|
|
parallelism: 12 |
|
|
|
@ -200,7 +200,7 @@ jobs:
|
|
|
|
|
if: github.event_name == 'push' && github.event.ref == 'refs/heads/main' |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/publish_main |
|
|
|
|
with: |
|
|
|
|
docker_hub_login: ${{ secrets.docker_hub_login }} |
|
|
|
@ -214,7 +214,7 @@ jobs:
|
|
|
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v2.') |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- uses: ./.github/promci/actions/publish_release |
|
|
|
|
with: |
|
|
|
|
docker_hub_login: ${{ secrets.docker_hub_login }} |
|
|
|
@ -229,7 +229,7 @@ jobs:
|
|
|
|
|
steps: |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
|
|
|
|
- uses: prometheus/promci@3cb0c3871f223bd5ce1226995bd52ffb314798b6 # v0.1.0 |
|
|
|
|
- uses: prometheus/promci@45166329da36d74895901808f1c8c97efafc7f84 # v0.3.0 |
|
|
|
|
- name: Install nodejs |
|
|
|
|
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 |
|
|
|
|
with: |
|
|
|
|