Skip to content

Commit

Permalink
Add ability to test feature branches in TeamCity (#8388)
Browse files Browse the repository at this point in the history
* Add comments, link to TeamCity Kotlin DSL docs

* Change default value of environment from "public" to "default"

This is because Google provider has no public TeamCity resources

* Enable different default cron values for `ga`/`beta` downstreams

* Enable non-default cron values to be used, based on value of `environment` parameter in TeamCity

* Add ability to make VCS root and nightly trigger use non-main branch

* Update tests to reflect how entrypoint func requires `branch` parameter now

* Update `MAJOR_RELEASE_TESTING` value, and update code to handle unsupported chars

* Update `uniqueID` method to uppercase the environment value

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician committed Jul 21, 2023
1 parent 40ba793 commit e470752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/hashicorp/terraform-plugin-framework v1.1.1
github.com/hashicorp/terraform-plugin-framework-validators v0.9.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20230720213742-41660c479c82
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20230721115110-740dbf4d3143
github.com/mitchellh/go-homedir v1.1.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ github.com/hashicorp/terraform-plugin-mux v0.8.0 h1:WCTP66mZ+iIaIrCNJnjPEYnVjawT
github.com/hashicorp/terraform-plugin-mux v0.8.0/go.mod h1:vdW0daEi8Kd4RFJmet5Ot+SIVB/B8SwQVJiYKQwdCy8=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0 h1:FtCLTiTcykdsURXPt/ku7fYXm3y19nbzbZcUxHx9RbI=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0/go.mod h1:80wf5oad1tW+oLnbXS4UTYmDCrl7BuN1Q+IA91X1a4Y=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20230720213742-41660c479c82 h1:OQHo6CjBzJakQOykeHV+8t8kAtFCRe25/ASf2yoNK/4=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20230720213742-41660c479c82/go.mod h1:o+seE7uyuvAjtqEINcz8m7c9ucsHQxePyKznhH/euvE=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20230721115110-740dbf4d3143 h1:/skCrCtY++yD0aigHFzRKY4z6C5rGs6j83tpuHD0dFU=
github.com/hashicorp/terraform-provider-google-beta v1.20.1-0.20230721115110-740dbf4d3143/go.mod h1:o+seE7uyuvAjtqEINcz8m7c9ucsHQxePyKznhH/euvE=
github.com/hashicorp/terraform-registry-address v0.1.0 h1:W6JkV9wbum+m516rCl5/NjKxCyTVaaUBbzYcMzBDO3U=
github.com/hashicorp/terraform-registry-address v0.1.0/go.mod h1:EnyO2jYO6j29DTHbJcm00E5nQTFeTtyZH3H5ycydQ5A=
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 h1:HKLsbzeOsfXmKNpr3GiT18XAblV0BjCbzL8KQAMZGa0=
Expand Down

0 comments on commit e470752

Please sign in to comment.