Skip to content

Commit f5c215c

Browse files
authored
Merge pull request #810 from prometheus/superq/promci
Update PromCI
2 parents c8c46ec + 403ecf5 commit f5c215c

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ updates:
88
directory: "/"
99
schedule:
1010
interval: "monthly"
11+
# Exclude configs synced from upstream prometheus/prometheus.
12+
exclude-paths:
13+
- .github/workflows/container_description.yml
14+
- .github/workflows/golangci-lint.yml

.github/workflows/ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
image: quay.io/prometheus/golang-builder:1.25-base
1717
steps:
1818
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19-
- uses: prometheus/promci@fc721ff8497a70a93a881cd552b71af7fb3a9d53 # v0.5.4
20-
- uses: ./.github/promci/actions/setup_environment
19+
- uses: prometheus/promci-setup@5af30ba8c199a91d6c04ebdc3c48e630e355f62d # v0.1.0
2120
- run: make
2221

2322
build:
@@ -36,8 +35,7 @@ jobs:
3635
thread: [ 0, 1, 2 ]
3736
steps:
3837
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
39-
- uses: prometheus/promci@fc721ff8497a70a93a881cd552b71af7fb3a9d53 # v0.5.4
40-
- uses: ./.github/promci/actions/build
38+
- uses: prometheus/promci/build@769ee18070cd21cfc2a24fa912349fd3e48dee58 # v0.6.0
4139
with:
4240
promu_opts: "-p linux/amd64 -p windows/amd64 -p linux/arm64 -p darwin/amd64 -p darwin/arm64 -p linux/386"
4341
parallelism: 3
@@ -60,8 +58,7 @@ jobs:
6058

6159
steps:
6260
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63-
- uses: prometheus/promci@fc721ff8497a70a93a881cd552b71af7fb3a9d53 # v0.5.4
64-
- uses: ./.github/promci/actions/build
61+
- uses: prometheus/promci/build@769ee18070cd21cfc2a24fa912349fd3e48dee58 # v0.6.0
6562
with:
6663
parallelism: 12
6764
thread: ${{ matrix.thread }}
@@ -77,8 +74,7 @@ jobs:
7774
(github.event_name == 'push' && github.event.ref == 'refs/heads/master')
7875
steps:
7976
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
80-
- uses: prometheus/promci@fc721ff8497a70a93a881cd552b71af7fb3a9d53 # v0.5.4
81-
- uses: ./.github/promci/actions/publish_main
77+
- uses: prometheus/promci/publish_main@769ee18070cd21cfc2a24fa912349fd3e48dee58 # v0.6.0
8278
with:
8379
docker_hub_login: ${{ secrets.docker_hub_login }}
8480
docker_hub_password: ${{ secrets.docker_hub_password }}
@@ -93,8 +89,7 @@ jobs:
9389
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
9490
steps:
9591
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
96-
- uses: prometheus/promci@fc721ff8497a70a93a881cd552b71af7fb3a9d53 # v0.5.4
97-
- uses: ./.github/promci/actions/publish_release
92+
- uses: prometheus/promci/publish_release@769ee18070cd21cfc2a24fa912349fd3e48dee58 # v0.6.0
9893
with:
9994
docker_hub_login: ${{ secrets.docker_hub_login }}
10095
docker_hub_password: ${{ secrets.docker_hub_password }}

0 commit comments

Comments
 (0)