-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update upstream specifications to their latest version
- Loading branch information
Showing
232 changed files
with
45,011 additions
and
28,913 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
.github/workflows/terratest-pgv2_percona_com_percona_pg_upgrade_v2_manifest.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# SPDX-FileCopyrightText: The terraform-provider-k8s Authors | ||
# SPDX-License-Identifier: 0BSD | ||
|
||
name: Pgv2PerconaComPerconaPgupgradeV2Manifest | ||
on: | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- examples/data-sources/k8s_pgv2_percona_com_percona_pg_upgrade_v2_manifest/** | ||
- internal/provider/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest.go | ||
- internal/provider/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest_test.go | ||
- terratest/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest_test.go | ||
jobs: | ||
terraform: | ||
name: Test with Terraform | ||
runs-on: ubuntu-latest | ||
steps: | ||
- id: checkout | ||
name: Checkout | ||
uses: actions/checkout@v4 | ||
- id: setup_go | ||
name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- id: setup_terraform | ||
name: Setup Terraform | ||
uses: hashicorp/setup-terraform@v3 | ||
with: | ||
terraform_wrapper: false | ||
- id: install | ||
name: Install Provider | ||
run: make install | ||
- id: tests | ||
name: Run Unit Tests | ||
run: go test -v -timeout=120s -count=1 ./internal/provider/pgv2_percona_com_v2/pgv2_percona_com_percona_pg_upgrade_v2_manifest_test.go | ||
- id: terratest | ||
name: Run Terratest Tests | ||
run: go test -v -timeout=120s -count=1 -run TestPgv2PerconaComPerconaPgupgradeV2Manifest ./terratest/pgv2_percona_com_v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.