Skip to content

Commit cdcca4b

Browse files
authored
Merge branch 'master' into billing_consistency_errors
2 parents 29a9379 + 302e25a commit cdcca4b

File tree

857 files changed

+147950
-328970
lines changed

Some content is hidden

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

857 files changed

+147950
-328970
lines changed

.github/workflows/acceptance-tests.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ jobs:
5050
steps:
5151
# Checkout should always be before setup-go to ensure caching is working
5252
- name: Checkout
53-
uses: actions/checkout@v4
53+
uses: actions/checkout@v5
5454
- name: Install Terraform
5555
uses: hashicorp/setup-terraform@v3
5656
- name: Install Go
57-
uses: actions/setup-go@v5
57+
uses: actions/setup-go@v6
5858
with:
59-
go-version: 1.24.0
59+
go-version: stable
6060
# This CI supports skipping flaky or broken tests via GitHub repository variables.
6161
# This allows quick fixes without code changes when tests break due to external factors.
6262
#
@@ -110,14 +110,14 @@ jobs:
110110
echo "Pattern: $SKIP_PATTERN"
111111
echo ""
112112
echo "Tests that will be skipped:"
113-
go test -list=. ./internal/services/${{ matrix.products }} | grep -E "$SKIP_PATTERN" || true
113+
go tool gotestsum --format github-actions -- -list=. ./internal/services/${{ matrix.products }} | grep -E "$SKIP_PATTERN" || true
114114
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
115115
echo ""
116116
117-
go test -v ./internal/services/${{ matrix.products }} -timeout=2h -skip="$SKIP_PATTERN"
117+
go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=2h -skip="$SKIP_PATTERN"
118118
TEST_RESULT=$?
119119
else
120-
go test -v ./internal/services/${{ matrix.products }} -timeout=2h
120+
go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=2h
121121
TEST_RESULT=$?
122122
fi
123123
@@ -147,15 +147,15 @@ jobs:
147147
steps:
148148
# Checkout should always be before setup-go to ensure caching is working
149149
- name: Checkout
150-
uses: actions/checkout@v4
150+
uses: actions/checkout@v5
151151
- name: Install Go
152-
uses: actions/setup-go@v5
152+
uses: actions/setup-go@v6
153153
with:
154-
go-version: 1.24.0
154+
go-version: stable
155155
- name: Install Terraform
156156
uses: hashicorp/setup-terraform@v3
157157
- name: Run scwconfig tests
158-
run: go test -v ./internal/services/scwconfig -timeout=2m
158+
run: go tool gotestsum --format github-actions -- ./internal/services/scwconfig -timeout=2m
159159
env:
160160
TF_LOG: DEBUG
161161
TF_ACC: 1

.github/workflows/actionlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
actionlint:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@v5
1212
- name: Check workflow files
1313
uses: docker://rhysd/actionlint:latest
1414
with:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@v5
3939
with:
4040
# We must fetch at least the immediate parents so that if this is
4141
# a pull request then we can checkout the head.

.github/workflows/documentation.yml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,12 @@ on:
1515
- .github/workflows/documentation.yml
1616
- docs/**
1717

18-
env:
19-
GO_VERSION: "1.24.0"
20-
GO111MODULE: on
21-
2218
jobs:
2319
markdown-link-check:
2420
runs-on: ubuntu-latest
2521
steps:
26-
- uses: actions/checkout@v4
27-
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.17
22+
- uses: actions/checkout@v5
23+
- uses: tcort/github-action-markdown-link-check@v1
2824
with:
2925
use-quiet-mode: 'yes'
3026
use-verbose-mode: 'yes'
@@ -34,7 +30,7 @@ jobs:
3430
markdown-lint:
3531
runs-on: ubuntu-latest
3632
steps:
37-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3834
- uses: avto-dev/[email protected]
3935
with:
4036
config: '.markdownlint.yml'
@@ -43,10 +39,10 @@ jobs:
4339
runs-on: ubuntu-latest
4440
steps:
4541
# Checkout should always be before setup-go to ensure caching is working
46-
- uses: actions/checkout@v4
47-
- uses: actions/setup-go@v5
42+
- uses: actions/checkout@v5
43+
- uses: actions/setup-go@v6
4844
with:
49-
go-version: ${{ env.GO_VERSION }}
45+
go-version: stable
5046
- uses: actions/cache@v4
5147
continue-on-error: true
5248
timeout-minutes: 2
@@ -59,10 +55,12 @@ jobs:
5955
tfplugindocs:
6056
runs-on: ubuntu-latest
6157
steps:
62-
- uses: actions/checkout@v4
63-
- uses: actions/setup-go@v5
58+
- uses: actions/checkout@v5
59+
- uses: actions/setup-go@v6
6460
with:
65-
go-version: ${{ env.GO_VERSION }}
61+
go-version: stable
6662
- uses: hashicorp/setup-terraform@v3
6763
- run: go tool tfplugindocs validate
64+
- run: rm -fr ./docs
6865
- run: go tool tfplugindocs generate
66+
- run: git diff --exit-code docs

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
name: lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515
- name: golangci-lint
1616
uses: golangci/[email protected]
1717
with:
18-
version: v2.3.0
18+
version: v2.5.0
1919
args: --timeout 5m

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414
- name: Labeler
15-
uses: actions/labeler@v5
15+
uses: actions/labeler@v6

.github/workflows/nightly.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ jobs:
5252
steps:
5353
# Checkout should always be before setup-go to ensure caching is working
5454
- name: Checkout
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@v5
5656
- name: Install Terraform
5757
uses: hashicorp/setup-terraform@v3
5858
- name: Install Go
59-
uses: actions/setup-go@v5
59+
uses: actions/setup-go@v6
6060
with:
61-
go-version: 1.24.0
61+
go-version: stable
6262
- name: Run Acceptance Tests
63-
run: go test -v ./internal/services/${{ matrix.products }} -timeout=4h
63+
run: go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=4h
6464
env:
6565
TF_LOG: DEBUG
6666
# https://www.terraform.io/docs/extend/testing/acceptance-tests/index.html#running-acceptance-tests
@@ -74,6 +74,8 @@ jobs:
7474
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
7575
SCW_DEFAULT_ORGANIZATION_ID: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
7676
SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
77+
# Having long retry intervals will ensure that we have few requests done while waiting on call to complete (using time.ParseDuration)
78+
TF_RETRY_DELAY: 30s
7779
- name: Ping on failure
7880
if: ${{ failure() }}
7981
run: |
@@ -106,11 +108,11 @@ jobs:
106108
steps:
107109
# Checkout should always be before setup-go to ensure caching is working
108110
- name: Checkout
109-
uses: actions/checkout@v4
111+
uses: actions/checkout@v5
110112
- name: Install Go
111-
uses: actions/setup-go@v5
113+
uses: actions/setup-go@v6
112114
with:
113-
go-version: 1.24.0
115+
go-version: stable
114116
- name: Install Terraform
115117
uses: hashicorp/setup-terraform@v3
116118
- name: Run sweepers

.github/workflows/purge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
steps:
1313
# Checkout should always be before setup-go to ensure caching is working
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
- name: Install Go
17-
uses: actions/setup-go@v5
17+
uses: actions/setup-go@v6
1818
with:
19-
go-version: 1.24.0
19+
go-version: stable
2020
- name: Install Terraform
2121
uses: hashicorp/setup-terraform@v3
2222
- name: Run sweepers

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
steps:
2323
# Checkout should always be before setup-go to ensure caching is working
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626

2727
- name: Unshallow
2828
run: git fetch --prune --unshallow
2929

3030
- name: Set up Go
31-
uses: actions/setup-go@v5
31+
uses: actions/setup-go@v6
3232
with:
33-
go-version: 1.24.0
33+
go-version: stable
3434

3535
- name: Verify go.mod is tidy
3636
run: |

.github/workflows/terrafmt.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# Checkout should always be before setup-go to ensure caching is working
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-go@v5
16+
- uses: actions/checkout@v5
17+
- uses: actions/setup-go@v6
1818
with:
19-
go-version: 1.24.0
19+
go-version: stable
2020
- name: Run terrafmt on documentation
2121
run: go tool terrafmt fmt --verbose --check ./docs

0 commit comments

Comments
 (0)