Skip to content

Commit

Permalink
Merge pull request #6 from turkenh/contrib-to-upbound
Browse files Browse the repository at this point in the history
Provider Terraform as an Official Provider
  • Loading branch information
turkenh authored Nov 16, 2022
2 parents b6e02eb + 85604cd commit ab0feb4
Show file tree
Hide file tree
Showing 36 changed files with 948 additions and 632 deletions.
16 changes: 9 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: Bug Report
about: Help us diagnose and fix bugs in Crossplane
about: Help us diagnose and fix bugs in Official Terraform Provider
labels: bug
title: "terraform: `Workspace` CRD is not working..."
---
<!--
Thank you for helping to improve Crossplane!
Thank you for helping to improve Official Terraform Provider!
Please be sure to search for open issues before raising a new one. We use issues
for bug reports and feature requests. Please find us at https://slack.crossplane.io
for questions, support, and discussion.
for bug reports and feature requests.
-->

### What happened?
<!--
Please let us know what behaviour you expected and how Crossplane diverged from
Please let us know what behaviour you expected and how Official Terraform Provider diverged from
that behaviour.
-->

Expand All @@ -26,10 +26,12 @@ appreciated!
-->

### What environment did it happen in?
Crossplane version:

* Universal Crossplane Version:
* Provider Version:

<!--
Include at least the version or commit of Crossplane you were running. Consider
Include at least the version or commit of Official Terraform Provider you were running. Consider
also including your:
* Cloud provider or hardware configuration
Expand Down
13 changes: 7 additions & 6 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
---
name: Feature Request
about: Help us make Crossplane more useful
about: Help us make Official Terraform Provider more useful
labels: enhancement
title: "A new auth option"
---
<!--
Thank you for helping to improve Crossplane!
Thank you for helping to improve Official Terraform Provider!
Please be sure to search for open issues before raising a new one. We use issues
for bug reports and feature requests. Please find us at https://slack.crossplane.io
for questions, support, and discussion.
for bug reports and feature requests.
-->

### What problem are you facing?

<!--
Please tell us a little about your use case - it's okay if it's hypothetical!
Leading with this context helps frame the feature request so we can ensure we
implement it sensibly.
--->

### How could Crossplane help solve your problem?
### How could Official Terraform Provider help solve your problem?
<!--
Let us know how you think Crossplane could help with your use case.
Let us know how you think Official Terraform Provider could help with your use case.
-->
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/new_resource_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: New Resource Request
about: Help us know what resource you need is missing.
labels: new-resource
title: "Request for `terraform_instance` resource"
---
<!--
Thank you for helping to improve Official Terraform Provider!
Please be sure to search for open issues before raising a new one. We use issues
for bug reports and feature requests.
-->

### What resource do you need?

Terraform Resource Name:
<!--
Please let us know the name of the resource you need.
-->


### What is your use case?
<!--
Help us for prioritization of the resource support by giving more details about
why you need it.
-->
11 changes: 4 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
Thank you for helping to improve Crossplane!
Thank you for helping to improve Official Terraform Provider!
Please read through https://git.io/fj2m9 if this is your first time opening a
Crossplane pull request. Find us in https://slack.crossplane.io/messages/dev if
Official Terraform Provider pull request. Find us in https://slack.crossplane.io/messages/dev if
you need any help contributing.
-->

Expand All @@ -12,7 +12,7 @@ you need any help contributing.
Briefly describe what this pull request does. Be sure to direct your reviewers'
attention to anything that needs special consideration.
We love pull requests that resolve an open Crossplane issue. If yours does, you
We love pull requests that resolve an open Official Terraform Provider issue. If yours does, you
can uncomment the below line to indicate which issue your PR fixes, for example
"Fixes #500":
Expand All @@ -21,8 +21,7 @@ Fixes #

I have:

- [ ] Read and followed Crossplane's [contribution process].
- [ ] Run `make reviewable test` to ensure this PR is ready for review.
- [ ] Run `make reviewable` to ensure this PR is ready for review.

### How has this code been tested

Expand All @@ -31,5 +30,3 @@ Before reviewers can be confident in the correctness of this pull request, it
needs to tested and shown to be correct. Briefly describe the testing that has
already been done or which is planned for this change.
-->

[contribution process]: https://git.io/fj2m9
34 changes: 34 additions & 0 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Backport

on:
# NOTE(negz): This is a risky target, but we run this action only when and if
# a PR is closed, then filter down to specifically merged PRs. We also don't
# invoke any scripts, etc from within the repo. I believe the fact that we'll
# be able to review PRs before this runs makes this fairly safe.
# https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
pull_request_target:
types: [closed]
# See also commands.yml for the /backport triggered variant of this workflow.

jobs:
# NOTE(negz): I tested many backport GitHub actions before landing on this
# one. Many do not support merge commits, or do not support pull requests with
# more than one commit. This one does. It also handily links backport PRs with
# new PRs, and provides commentary and instructions when it can't backport.
# The main gotchas with this action are that it _only_ supports merge commits,
# and that PRs _must_ be labelled before they're merged to trigger a backport.
open-pr:
runs-on: ubuntu-22.04
if: github.event.pull_request.merged
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Open Backport PR
uses: zeebe-io/backport-action@v0.0.8
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}
version: v0.0.8
Loading

0 comments on commit ab0feb4

Please sign in to comment.