-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tic-testing directory for build/testing process
- Loading branch information
Showing
4 changed files
with
86 additions
and
2 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Visit https://goreleaser.com for documentation on how to customize this | ||
# behavior. | ||
before: | ||
hooks: | ||
# this is just an example and not a requirement for provider building/publishing | ||
- go mod tidy | ||
builds: | ||
- env: | ||
# goreleaser does not work with CGO, it could also complicate | ||
# usage by users in CI/CD systems like Terraform Cloud where | ||
# they are unable to install libraries. | ||
- CGO_ENABLED=0 | ||
mod_timestamp: '{{ .CommitTimestamp }}' | ||
flags: | ||
- -trimpath | ||
ldflags: | ||
- '-s -w -X github.com/jfrog/terraform-provider-project/pkg/project/provider.Version={{.Version}}' | ||
goos: | ||
- linux | ||
- darwin | ||
goarch: | ||
- amd64 | ||
ignore: | ||
- goos: darwin | ||
goarch: '386' | ||
binary: '{{ .ProjectName }}_v{{ .Version }}' | ||
|
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,34 @@ | ||
terraform { | ||
cloud { | ||
organization = "jfrog-partnership-engineering" | ||
workspaces { | ||
name = "alexh" | ||
} | ||
} | ||
|
||
required_providers { | ||
project = { | ||
source = "jfrog/project" | ||
version = "1.5.3" | ||
} | ||
} | ||
} | ||
|
||
provider "project" { | ||
url = "https://partnership.jfrog.io" | ||
oidc_provider_name = "terraform-cloud" | ||
} | ||
|
||
resource "project" "myproject" { | ||
key = "myproj" | ||
display_name = "My Project" | ||
description = "My Project" | ||
admin_privileges { | ||
manage_members = true | ||
manage_resources = true | ||
index_resources = true | ||
} | ||
max_storage_in_gibibytes = 10 | ||
block_deployments_on_limit = false | ||
email_notification = true | ||
} |