Skip to content

Commit fbee63d

Browse files
authored
Merge branch 'master' into object_sse_c
2 parents f2d6b4f + c3a2c31 commit fbee63d

File tree

542 files changed

+302573
-197287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

542 files changed

+302573
-197287
lines changed

.github/labeler.yml

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
account:
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- internal/services/account/**
5+
6+
apple-silicon:
7+
- changed-files:
8+
- any-glob-to-any-file:
9+
- internal/services/applesilicon/**
10+
11+
baremetal:
12+
- changed-files:
13+
- any-glob-to-any-file:
14+
- internal/services/baremetal/**
15+
16+
billing:
17+
- changed-files:
18+
- any-glob-to-any-file:
19+
- internal/services/billing/**
20+
21+
container:
22+
- changed-files:
23+
- any-glob-to-any-file:
24+
- internal/services/container/**
25+
26+
domain:
27+
- changed-files:
28+
- any-glob-to-any-file:
29+
- internal/services/domain/**
30+
31+
flexible-ip:
32+
- changed-files:
33+
- any-glob-to-any-file:
34+
- internal/services/flexibleip/**
35+
36+
function:
37+
- changed-files:
38+
- any-glob-to-any-file:
39+
- internal/services/function/**
40+
41+
iam:
42+
- changed-files:
43+
- any-glob-to-any-file:
44+
- internal/services/iam/**
45+
46+
instance:
47+
- changed-files:
48+
- any-glob-to-any-file:
49+
- internal/services/instance/**
50+
51+
iot:
52+
- changed-files:
53+
- any-glob-to-any-file:
54+
- internal/services/iot/**
55+
56+
k8s:
57+
- changed-files:
58+
- any-glob-to-any-file:
59+
- internal/services/k8s/**
60+
61+
load-balancer:
62+
- changed-files:
63+
- any-glob-to-any-file:
64+
- internal/services/lb/**
65+
66+
mnq:
67+
- changed-files:
68+
- any-glob-to-any-file:
69+
- internal/services/mnq/**
70+
71+
object:
72+
- changed-files:
73+
- any-glob-to-any-file:
74+
- internal/services/object/**
75+
76+
rdb:
77+
- changed-files:
78+
- any-glob-to-any-file:
79+
- internal/services/rdb/**
80+
81+
redis:
82+
- changed-files:
83+
- any-glob-to-any-file:
84+
- internal/services/redis/**
85+
86+
registry:
87+
- changed-files:
88+
- any-glob-to-any-file:
89+
- internal/services/registry/**
90+
91+
sdb:
92+
- changed-files:
93+
- any-glob-to-any-file:
94+
- internal/services/sdb/**
95+
96+
secret:
97+
- changed-files:
98+
- any-glob-to-any-file:
99+
- internal/services/secret/**
100+
101+
tem:
102+
- changed-files:
103+
- any-glob-to-any-file:
104+
- internal/services/tem/**
105+
106+
vpc:
107+
- changed-files:
108+
- any-glob-to-any-file:
109+
- internal/services/vpc/**
110+
111+
vpcgw:
112+
- changed-files:
113+
- any-glob-to-any-file:
114+
- internal/services/vpcgw/**
115+
116+
webhosting:
117+
- changed-files:
118+
- any-glob-to-any-file:
119+
- internal/services/webhosting/**

.github/workflows/acceptance-tests.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ jobs:
4343
- webhosting
4444
runs-on: ubuntu-latest
4545
steps:
46+
# Checkout should always be before setup-go to ensure caching is working
47+
- name: Checkout
48+
uses: actions/checkout@v4
4649
- name: Install Go
4750
uses: actions/setup-go@v5
4851
with:
4952
go-version: 1.22
50-
- name: Checkout
51-
uses: actions/checkout@v4
5253
- name: Run Acceptance Tests
5354
run: go test -v ./internal/services/${{ matrix.products }} -timeout=2h
5455
env:
@@ -66,12 +67,13 @@ jobs:
6667
fail-fast: false
6768
runs-on: ubuntu-latest
6869
steps:
70+
# Checkout should always be before setup-go to ensure caching is working
71+
- name: Checkout
72+
uses: actions/checkout@v4
6973
- name: Install Go
7074
uses: actions/setup-go@v5
7175
with:
7276
go-version: 1.22
73-
- name: Checkout
74-
uses: actions/checkout@v4
7577
- name: Run scwconfig tests
7678
run: go test -v ./internal/services/scwconfig -timeout=2m
7779
env:

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12+
# Checkout should always be before setup-go to ensure caching is working
1213
- uses: actions/checkout@v4
1314
with:
1415
fetch-depth: 2

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
misspell:
3939
runs-on: ubuntu-latest
4040
steps:
41+
# Checkout should always be before setup-go to ensure caching is working
4142
- uses: actions/checkout@v4
4243
- uses: actions/setup-go@v5
4344
with:

.github/workflows/golangci-lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: golangci-lint
22
on:
33
merge_group:
44
pull_request:
5+
permissions:
6+
contents: read
7+
checks: write
8+
pull-requests: read
59
jobs:
610
golangci:
711
name: lint

.github/workflows/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: Labeler
15+
uses: actions/labeler@v5

.github/workflows/nightly.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ jobs:
4444
- webhosting
4545
runs-on: ubuntu-latest
4646
steps:
47+
# Checkout should always be before setup-go to ensure caching is working
48+
- name: Checkout
49+
uses: actions/checkout@v4
4750
- name: Install Go
4851
uses: actions/setup-go@v5
4952
with:
5053
go-version: 1.22
51-
- name: Checkout
52-
uses: actions/checkout@v4
5354
- name: Run Acceptance Tests
5455
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
5556
env:
@@ -92,12 +93,13 @@ jobs:
9293
needs: nightly
9394
if: always()
9495
steps:
96+
# Checkout should always be before setup-go to ensure caching is working
97+
- name: Checkout
98+
uses: actions/checkout@v4
9599
- name: Install Go
96100
uses: actions/setup-go@v5
97101
with:
98102
go-version: 1.22
99-
- name: Checkout
100-
uses: actions/checkout@v4
101103
- name: Run sweepers
102104
run: make sweep
103105
env:

.github/workflows/release.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,37 @@ jobs:
1818
goreleaser:
1919
runs-on: ubuntu-latest
2020
steps:
21-
-
22-
name: Checkout
21+
# Checkout should always be before setup-go to ensure caching is working
22+
- name: Checkout
2323
uses: actions/checkout@v4
24-
-
25-
name: Unshallow
24+
25+
- name: Unshallow
2626
run: git fetch --prune --unshallow
27-
-
28-
name: Set up Go
27+
28+
- name: Set up Go
2929
uses: actions/setup-go@v5
3030
with:
3131
go-version: 1.22
32-
-
33-
name: Import GPG key
32+
33+
- name: Import GPG key
3434
id: import_gpg
3535
uses: crazy-max/ghaction-import-gpg@v6
3636
with:
3737
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3838
passphrase: ${{ secrets.GPG_PASSPHRASE }}
3939
fingerprint: ${{ secrets.GPG_FINGERPRINT }}
40-
-
41-
name: Run GoReleaser
42-
uses: goreleaser/goreleaser-action@v5
40+
41+
- name: Check goreleaser
42+
uses: goreleaser/goreleaser-action@v6
4343
with:
4444
version: latest
45-
args: release --rm-dist
45+
args: check
46+
47+
- name: Run GoReleaser
48+
uses: goreleaser/goreleaser-action@v6
49+
with:
50+
version: latest
51+
args: release
4652
env:
4753
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
4854
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tfproviderlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
tfproviderlint:
1010
runs-on: ubuntu-latest
1111
steps:
12+
# Checkout should always be before setup-go to ensure caching is working
1213
- uses: actions/checkout@v4
1314
- uses: actions/setup-go@v5
1415
with:
@@ -20,6 +21,7 @@ jobs:
2021
tfproviderdocs:
2122
runs-on: ubuntu-latest
2223
steps:
24+
# Checkout should always be before setup-go to ensure caching is working
2325
- uses: actions/checkout@v4
2426
- uses: actions/setup-go@v5
2527
with:

.github/workflows/unit-tests.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ jobs:
1212
platform: [ubuntu-latest]
1313
runs-on: ${{ matrix.platform }}
1414
steps:
15-
- name: Install Go
16-
uses: actions/setup-go@v5
17-
with:
18-
go-version: ${{ matrix.go-version }}
15+
# Checkout should always be before setup-go to ensure caching is working
1916
- name: Checkout
2017
uses: actions/checkout@v4
2118
with:
2219
fetch-depth: 1
20+
- name: Install Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version: ${{ matrix.go-version }}
2324
- name: Build binaries
2425
run: make build
2526
- name: Run unit tests

0 commit comments

Comments
 (0)