-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
6 deletions.
There are no files selected for viewing
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,20 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
|
||
# Modifications copyright (c) Enthought, Inc. | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
default: testacc | ||
|
||
# Run acceptance tests | ||
.PHONY: testacc | ||
testacc: | ||
TF_ACC=1 go test ./... -v $(TESTARGS) -timeout 120m | ||
|
||
# Generate Quay API | ||
.PHONY: generate-quay-api | ||
generate-quay-api: | ||
openapi-generator generate --generator-name go --git-user-id enthought --git-repo-id terraform-provider-quay --additional-properties=packageName=quay_api,isGoSubmodule=true --skip-validate-spec --input-spec code_generator/quay_api.json --output quay_api && \ | ||
gofmt -w quay_api && \ | ||
cd quay_api && \ | ||
go mod tidy |
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,25 @@ | ||
# terraform-provider-quay | ||
Terraform provider for the [Quay Project](https://github.com/quay/quay). | ||
|
||
Please visit the Terraform registry site for instructions on how to use the provider: | ||
|
||
https://registry.terraform.io/providers/enthought/quay/latest/docs | ||
|
||
## Developer Instructions | ||
### Build Documentation | ||
The documentation should be updated every time the provider code is changed. | ||
```bash | ||
go generate . | ||
``` | ||
|
||
### Run Tests | ||
```bash | ||
export QUAY_URL="https://quay.example.com" | ||
export QUAY_TOKEN="" | ||
make testacc | ||
``` | ||
|
||
### Generate Quay API | ||
```bash | ||
make generate-quay-api | ||
``` |
This file was deleted.
Oops, something went wrong.