You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,8 @@
7
7
8
8
## PR Checklist
9
9
10
+
*[ ]_I have read [CONTRIBUTING.md](https://github.com/codefresh-io/terraform-provider-codefresh/blob/master/README.md)._
10
11
*[ ]_I have [allowed changes to my fork to be made](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)._
11
12
*[ ]_I have added tests, assuming new tests are warranted_.
12
13
*[ ]_I have updated the Terraform docs in this repo, assuming any changes to the schema of Resources or Data Sources have been made._
13
-
*[ ]_I understand that the `/test` comment will be ignored by the CI trigger [unless it is made by a repo admin or collaborator](https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)._
14
+
*[ ]_I understand that the `/test` comment will be ignored by the CI trigger [unless it is made by a repo admin or collaborator](https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)._
The documentation is generated using [tfplugindocs](https://github.com/hashicorp/terraform-plugin-docs).
6
+
7
+
`docs/` should never be edited by hand. Instead, update the documentation via updating `Description` fields within the `schema` blocks of the provider's resources and data sources. And if needed, update the templates in `templates/`. Finally, you can run the following command to re-generate the documentation:
8
+
9
+
```bash
10
+
make docs
11
+
```
12
+
13
+
## Submitting a PR
14
+
15
+
1. Fork the repo
16
+
2. Create a PR from your fork against the `master` branch
17
+
3. Add labels to your PR (see: [Labels](.github/release-drafter.yaml))
18
+
19
+
### PR Requirements
20
+
21
+
1. Ensure that all tests pass (via commenting `/test` if you are an admin or a contributor with write access on this repo, otherwise wait for a maintainer to submit the comment. The comment will be ignored if you are not an admin or a contributor with write access on this repo. See: https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)
22
+
2. Ensure that `make docs` has been run and the changes have been committed.
23
+
3. Ensure that `make fmt` has been run and the changes have been committed.
24
+
25
+
### Adding Yourself to the Contributors List
26
+
27
+
Comment on the PR with `@all-contributors please add @<username> for <contributions>` and the bot will add you to the contributors list. See: [All Contributors](https://allcontributors.org/docs/en/bot/usage).
28
+
29
+
For example: `@all-contributors please add @mitchellh for code`.
Copy file name to clipboardExpand all lines: README.md
+39-34Lines changed: 39 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,56 +1,43 @@
1
-
# Terraform provider for Codefresh
1
+
# Terraform Provider for Codefresh
2
2
3
-
This provider was initialized by [LightStep](https://lightstep.com/) and will be maintained as the official Terraform provider for Codefresh.
3
+
This is the official Terraform Provider for Codefresh.
4
4
5
-
The provider is still under development, and can be used as a terraform [third-party plugin](https://www.terraform.io/docs/configuration/providers.html#third-party-plugins) only.
Download and extract terraform-provider-codefresh from [releases](https://github.com/codefresh-io/terraform-provider-codefresh/releases)
14
-
15
-
## Building the Provider
11
+
## Download the Provider
16
12
17
-
```sh
18
-
go build -o terraform-provider-codefresh
19
-
```
13
+
Download and extract terraform-provider-codefresh from [releases](https://github.com/codefresh-io/terraform-provider-codefresh/releases)
20
14
21
15
## Using the Provider
22
16
23
-
Compile or take from the [Releases](https://github.com/codefresh-contrib/terraform-provider-codefresh/releases)`terraform-provider-codefresh` binary and place it locally according the Terraform plugins [documentation](https://www.terraform.io/docs/configuration/providers.html#third-party-plugins).
24
-
25
-
### for terraform 0.12:
26
-
-_~/.terraform.d/plugins/linux\_amd64_
27
-
-_./terraform.d/plugins/linux\_amd64_. The relative path in your Terraform project.
17
+
In `versions.tf`:
28
18
29
-
### for terraform 0.13 follow [required providers](https://www.terraform.io/docs/configuration/provider-requirements.html):
30
-
```bash
31
-
# OS is linux|windows|darwin, ARCH is amd64|arm|x86
**NOTE:** Acceptance tests create real resources, including admin resources (accounts, users) so make sure that `CODEFRESH_API_KEY` is set to an account that you are ok with being modified.
0 commit comments