Skip to content

Commit

Permalink
Merge pull request #258 from gridscale/feature/add-retries-to-actions
Browse files Browse the repository at this point in the history
Increase request intervals in test actions
  • Loading branch information
miha-m authored Feb 2, 2024
2 parents 3199207 + c9835ef commit bbb3445
Show file tree
Hide file tree
Showing 25 changed files with 96 additions and 50 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
env:
GOPATH: /home/runner/go
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/common_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
env:
GOPATH: /home/runner/go
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/filesystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/firewall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/ipv4_ipv6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/isoimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/loadbalancer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/marketplace_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/memcached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: https://api.gridscale.cloud
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/mysql8_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/object_storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/paas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: https://api.gridscale.cloud
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/sshkey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/sslcert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ jobs:
GRIDSCALE_UUID: ${{ secrets.CI_USER_UUID }}
GRIDSCALE_TOKEN: ${{ secrets.CI_API_TOKEN }}
GRIDSCALE_URL: ${{ secrets.CI_API_URL }}
GRIDSCALE_TF_REQUEST_DELAY_INTERVAL: 2000
GRIDSCALE_TF_MAX_N_RETRIES: 5
steps:
- name: Set up Go 1.17
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: ^1.17
go-version: ^1.21
id: go

- name: Check out code into the Go module directory
Expand Down

0 comments on commit bbb3445

Please sign in to comment.