Skip to content

Fix server power state conflict when deleting server (#275) #147

Fix server power state conflict when deleting server (#275)

Fix server power state conflict when deleting server (#275) #147

Workflow file for this run

name: Test Storage ds/rs
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "**.go"
- ".github/workflows/storage.yml"
pull_request:
branches:
- master
paths:
- "**gridscale_storage**"
- "gridscale/error-handler/**"
- "gridscale/common.go"
- "gridscale/config.go"
- "gridscale/provider.go"
- "gridscale/provider_test.go"
- ".github/workflows/storage.yml"
jobs:
build:
name: Storage AccTest
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
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.21
uses: actions/setup-go@v5
with:
go-version: ^1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run TestAccdataSourceGridscaleStorage_basic
run: make testacc TEST=./gridscale TESTARGS='-run=TestAccdataSourceGridscaleStorage_basic'
- name: Run TestAccResourceGridscaleStorage_Basic
run: make testacc TEST=./gridscale TESTARGS='-run=TestAccResourceGridscaleStorage_Basic'
- name: Run TestAccResourceGridscaleStorageClone_Basic
run: make testacc TEST=./gridscale TESTARGS='-run=TestAccResourceGridscaleStorageClone_Basic'