Skip to content

Commit 46830ba

Browse files
authored
Merge branch 'master' into feat/edge-services
2 parents 426accc + 36c4cac commit 46830ba

File tree

561 files changed

+357863
-241556
lines changed

Some content is hidden

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

561 files changed

+357863
-241556
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
- block
1919
- cockpit
2020
- container
21-
- documentdb
2221
- domain
2322
- flexibleip
2423
- function
@@ -43,12 +42,13 @@ jobs:
4342
- webhosting
4443
runs-on: ubuntu-latest
4544
steps:
45+
# Checkout should always be before setup-go to ensure caching is working
46+
- name: Checkout
47+
uses: actions/checkout@v4
4648
- name: Install Go
4749
uses: actions/setup-go@v5
4850
with:
4951
go-version: 1.22
50-
- name: Checkout
51-
uses: actions/checkout@v4
5252
- name: Run Acceptance Tests
5353
run: go test -v ./internal/services/${{ matrix.products }} -timeout=2h
5454
env:
@@ -66,12 +66,13 @@ jobs:
6666
fail-fast: false
6767
runs-on: ubuntu-latest
6868
steps:
69+
# Checkout should always be before setup-go to ensure caching is working
70+
- name: Checkout
71+
uses: actions/checkout@v4
6972
- name: Install Go
7073
uses: actions/setup-go@v5
7174
with:
7275
go-version: 1.22
73-
- name: Checkout
74-
uses: actions/checkout@v4
7576
- name: Run scwconfig tests
7677
run: go test -v ./internal/services/scwconfig -timeout=2m
7778
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
- block
2020
- cockpit
2121
- container
22-
- documentdb
2322
- domain
2423
- flexibleip
2524
- function
@@ -44,12 +43,13 @@ jobs:
4443
- webhosting
4544
runs-on: ubuntu-latest
4645
steps:
46+
# Checkout should always be before setup-go to ensure caching is working
47+
- name: Checkout
48+
uses: actions/checkout@v4
4749
- name: Install Go
4850
uses: actions/setup-go@v5
4951
with:
5052
go-version: 1.22
51-
- name: Checkout
52-
uses: actions/checkout@v4
5353
- name: Run Acceptance Tests
5454
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
5555
env:
@@ -92,12 +92,13 @@ jobs:
9292
needs: nightly
9393
if: always()
9494
steps:
95+
# Checkout should always be before setup-go to ensure caching is working
96+
- name: Checkout
97+
uses: actions/checkout@v4
9598
- name: Install Go
9699
uses: actions/setup-go@v5
97100
with:
98101
go-version: 1.22
99-
- name: Checkout
100-
uses: actions/checkout@v4
101102
- name: Run sweepers
102103
run: make sweep
103104
env:

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
goreleaser:
1919
runs-on: ubuntu-latest
2020
steps:
21+
# Checkout should always be before setup-go to ensure caching is working
2122
- name: Checkout
2223
uses: actions/checkout@v4
2324

@@ -38,7 +39,7 @@ jobs:
3839
fingerprint: ${{ secrets.GPG_FINGERPRINT }}
3940

4041
- name: Check goreleaser
41-
uses: goreleaser/goreleaser-action@v5
42+
uses: goreleaser/goreleaser-action@v6
4243
with:
4344
version: latest
4445
args: check

.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)