Skip to content

Commit eaaac14

Browse files
authored
Merge branch 'master' into update-doc-documentdb
2 parents 28d04f5 + c1f09d2 commit eaaac14

File tree

1,093 files changed

+1009134
-568029
lines changed

Some content is hidden

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

1,093 files changed

+1009134
-568029
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: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,20 @@ jobs:
1818
- block
1919
- cockpit
2020
- container
21-
- documentdb
2221
- domain
2322
- flexibleip
2423
- function
2524
- iam
2625
- instance
26+
- inference
2727
- iot
2828
- ipam
2929
- jobs
3030
- k8s
3131
- lb
3232
- marketplace
3333
- mnq
34+
- mongodb
3435
- object
3536
- rdb
3637
- redis
@@ -43,12 +44,15 @@ jobs:
4344
- webhosting
4445
runs-on: ubuntu-latest
4546
steps:
47+
# Checkout should always be before setup-go to ensure caching is working
48+
- name: Checkout
49+
uses: actions/checkout@v4
50+
- name: Install Terraform
51+
uses: hashicorp/setup-terraform@v3
4652
- name: Install Go
4753
uses: actions/setup-go@v5
4854
with:
49-
go-version: 1.22
50-
- name: Checkout
51-
uses: actions/checkout@v4
55+
go-version: 1.23.5
5256
- name: Run Acceptance Tests
5357
run: go test -v ./internal/services/${{ matrix.products }} -timeout=2h
5458
env:
@@ -66,12 +70,15 @@ jobs:
6670
fail-fast: false
6771
runs-on: ubuntu-latest
6872
steps:
73+
# Checkout should always be before setup-go to ensure caching is working
74+
- name: Checkout
75+
uses: actions/checkout@v4
6976
- name: Install Go
7077
uses: actions/setup-go@v5
7178
with:
72-
go-version: 1.22
73-
- name: Checkout
74-
uses: actions/checkout@v4
79+
go-version: 1.23.5
80+
- name: Install Terraform
81+
uses: hashicorp/setup-terraform@v3
7582
- name: Run scwconfig tests
7683
run: go test -v ./internal/services/scwconfig -timeout=2m
7784
env:

.github/workflows/coverage.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/documentation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ on:
1212
- docs/**
1313

1414
env:
15-
GO_VERSION: "1.22"
15+
GO_VERSION: "1.23.5"
1616
GO111MODULE: on
1717

1818
jobs:
1919
markdown-link-check:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
23-
- uses: gaurav-nelson/[email protected].15
23+
- uses: gaurav-nelson/[email protected].16
2424
with:
2525
use-quiet-mode: 'yes'
2626
use-verbose-mode: 'yes'
@@ -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/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: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
- block
2020
- cockpit
2121
- container
22-
- documentdb
2322
- domain
2423
- flexibleip
2524
- function
2625
- iam
26+
- inference
2727
- instance
2828
- iot
2929
- ipam
@@ -32,6 +32,7 @@ jobs:
3232
- lb
3333
- marketplace
3434
- mnq
35+
- mongodb
3536
- object
3637
- rdb
3738
- redis
@@ -44,12 +45,15 @@ jobs:
4445
- webhosting
4546
runs-on: ubuntu-latest
4647
steps:
48+
# Checkout should always be before setup-go to ensure caching is working
49+
- name: Checkout
50+
uses: actions/checkout@v4
51+
- name: Install Terraform
52+
uses: hashicorp/setup-terraform@v3
4753
- name: Install Go
4854
uses: actions/setup-go@v5
4955
with:
50-
go-version: 1.22
51-
- name: Checkout
52-
uses: actions/checkout@v4
56+
go-version: 1.23.5
5357
- name: Run Acceptance Tests
5458
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
5559
env:
@@ -84,6 +88,9 @@ jobs:
8488
env:
8589
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
8690
FAILED_PRODUCT: ${{ matrix.products }}
91+
- name: Run acceptance test for cassettes
92+
if: success() || failure() # If the job is not cancelled, run it regardless of the result of the previous step
93+
run: go test -v github.com/scaleway/terraform-provider-scaleway/v2/internal/acctest -run TestAccCassettes_Validator
8794

8895
# sweeper needs to run after nightly completed
8996
# no matter what are the results of the jobs
@@ -92,12 +99,15 @@ jobs:
9299
needs: nightly
93100
if: always()
94101
steps:
102+
# Checkout should always be before setup-go to ensure caching is working
103+
- name: Checkout
104+
uses: actions/checkout@v4
95105
- name: Install Go
96106
uses: actions/setup-go@v5
97107
with:
98-
go-version: 1.22
99-
- name: Checkout
100-
uses: actions/checkout@v4
108+
go-version: 1.23.5
109+
- name: Install Terraform
110+
uses: hashicorp/setup-terraform@v3
101111
- name: Run sweepers
102112
run: make sweep
103113
env:

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
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

@@ -27,7 +28,7 @@ jobs:
2728
- name: Set up Go
2829
uses: actions/setup-go@v5
2930
with:
30-
go-version: 1.22
31+
go-version: 1.23.5
3132

3233
- name: Import GPG key
3334
id: import_gpg
@@ -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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,23 @@ 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:
15-
go-version: 1.22
16+
go-version: 1.23.5
1617
- name: Install tfproviderlint
1718
run: go install github.com/bflad/tfproviderlint/cmd/tfproviderlint
1819
- name: Run tfproviderlint
1920
run: make tfproviderlint
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:
26-
go-version: 1.22
28+
go-version: 1.23.5
2729
- uses: hashicorp/setup-terraform@v3
2830
- run: go install github.com/bflad/tfproviderdocs@latest
2931
- run: make tfproviderdocs

0 commit comments

Comments
 (0)