Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 5s
CI Workflow / Prepare GO cache (pull_request) Successful in 5m24s
CI Workflow / Test readiness for publishing provider (pull_request) Successful in 12m55s
CI Workflow / CI run build and linting (pull_request) Successful in 14m4s
CI Workflow / Code coverage report (pull_request) Successful in 15s
CI Workflow / CI run tests (pull_request) Failing after 18m17s
31 lines
770 B
YAML
31 lines
770 B
YAML
name: TF Acceptance Tests Workflow
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
acc_test:
|
|
name: Acceptance Tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Create service account json file
|
|
shell: bash
|
|
run: |
|
|
set -e
|
|
mkdir ~/.stackit
|
|
echo "${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}" >~/.stackit/credentials.json
|
|
cat ~/.stackit/credentials.json
|
|
|
|
- name: Run Test
|
|
uses: ./.github/actions/acc_test
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
project_id: ${{ vars.TEST_PROJECT_ID }}
|
|
region: 'eu01'
|
|
service_account_json: ${{ secrets.TF_ACC_SERVICE_ACCOUNT_JSON }}
|