Commit graph

39 commits

Author SHA1 Message Date
Brian Flad
b4be958214
.github: Add CI for changie (#376)
Reference: https://github.com/hashicorp/terraform-providers-devex-internal/issues/171
2023-11-27 12:39:31 -05:00
hashicorp-tsccr[bot]
cfd668c07b
Result of tsccr-helper -log-level=info -pin-all-workflows . (#369)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-30 07:35:58 +00:00
Oliver Ford
4dff81de7e
Fix output malformed when wrapper enabled (#367)
* Fix output malformed when wrapper enabled

Presently using a command such as `terraform output -json | jq` does not
work with the wrapper enabled, as it is by default.

In order to consume terraform's output having set it up with this
Action, it is necessary either to disable the wrapper (`with:
terraform_wrapper: false`) or run it in its own Actions step with an
explicit `id` (e.g. `id: foo`) so that it can be referred to and consumed
(`${{steps.foo.outputs.stdout}}` et al.) in later steps.

This seems to be the result of much confusion (issues passim) and is not
at all easy (#338) to debug/diagnose and come to the realisation that
it's due to the wrapper, or even that such a thing exists.

@austinvalle identified the issue as being due to the `@actions/exec`
package writing the spawned command to stdout (along with then its
actual stdout). This has previously been reported upstream in
actions/toolkit#649; I've proposed actions/toolkit#1573 to fix it.

This commit aims to address the issue for `setup-terraform` in the
meantime by silencing `@actions/exec` and then writing out to stdout &
stderr from the listener buffers, which it writes to without this
additional logging.

Closes #20, #80, #85, #149, #338, and probably more.

* add test for stdout with jq

* update test name

* remove debug lines and add changelog

* add additional note about the bug fix to wrapper

---------

Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-27 14:05:58 -04:00
Rui Chen
9507e1d5bb
feat: bump to use node20 runtime (#346)
* feat: bump to use node20 runtime

Signed-off-by: Rui Chen <rui@chenrui.dev>

fix action refs for `actions/reusable-workflows`

Signed-off-by: Rui Chen <rui@chenrui.dev>

* docs: update changelog

Signed-off-by: Rui Chen <rui@chenrui.dev>

* workflows: update `actions/reusable-workflows` to use node20

Signed-off-by: Rui Chen <rui@chenrui.dev>

* chore: update dist file

* clean up PR for merge

* add node version

* update dist

* switch changelog

---------

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: Austin Valle <austinvalle@gmail.com>
2023-10-27 08:55:58 -04:00
Rishav Dhar
bf6ea8ac71
Remove redundant shell definition (#358)
* remove redundant shell definition

* Revert formatting changes

* redefine shell where default is declared
2023-10-17 14:36:26 -04:00
hashicorp-tsccr[bot]
e192cfcbae
Result of tsccr-helper -log-level=info -pin-all-workflows . (#353)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-02 17:19:43 +01:00
hashicorp-tsccr[bot]
2804f806e0
Result of tsccr-helper -log-level=info -pin-all-workflows . (#351)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-18 07:38:39 +01:00
hashicorp-tsccr[bot]
efd0b45bf6
Result of tsccr-helper -log-level=info -pin-all-workflows . (#345)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-04 07:29:46 +01:00
dependabot[bot]
93a916da3d
Bump actions/setup-node from 3.6.0 to 3.7.0 (#332)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](64ed1c7eab...e33196f742)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 06:23:37 +01:00
dependabot[bot]
55aa98b46e
Bump actions/checkout from 3.5.2 to 3.5.3 (#329)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e5e7e5ab8...c85c95e3d7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 15:22:31 -04:00
Austin Valle
5aa9444145
[COMPLIANCE] Add copyright and license headers (#327)
* add copywrite changes

* extra slash

* [COMPLIANCE] Add copyright and license headers

* removed incorrect license

* reverted /dist

* add action.yml to copywrite ignore

* revert

* remove dist changes

* revert dist
2023-06-05 11:20:41 -04:00
hashicorp-tsccr[bot]
0db19997f8
Result of tsccr-helper -pin-all-workflows . (#319)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-04-27 08:40:50 -04:00
Austin Valle
6b752b326b
Update release workflow to work with new branch protections (#313)
* Update release workflow to work with new branch protections

* removed issue permission
2023-03-02 16:59:59 -05:00
Brian Flad
aa7ea2f4b9
.github/workflows: Add GitHub Release title to workflow (#312)
Reference: https://github.com/hashicorp/ghaction-terraform-provider-release/issues/44

```console
$ gh release create --help
Create a new GitHub Release for a repository.

A list of asset files may be given to upload to the new release. To define a
display label for an asset, append text starting with `#` after the file name.

If a matching git tag does not yet exist, one will automatically get created
from the latest state of the default branch.
Use `--target` to point to a different branch or commit for the automatic tag creation.
Use `--verify-tag` to abort the release if the tag doesn't already exist.
To fetch the new tag locally after the release, do `git fetch --tags origin`.

To create a release from an annotated git tag, first create one locally with
git, push the tag to GitHub, then run this command.

When using automatically generated release notes, a release title will also be automatically
generated unless a title was explicitly passed. Additional release notes can be prepended to
automatically generated notes by using the notes parameter.

USAGE
  gh release create [<tag>] [<files>...]

FLAGS
      --discussion-category string   Start a discussion in the specified category
  -d, --draft                        Save the release as a draft instead of publishing it
      --generate-notes               Automatically generate title and notes for the release
      --latest                       Mark this release as "Latest" (default: automatic based on date and version)
  -n, --notes string                 Release notes
  -F, --notes-file file              Read release notes from file (use "-" to read from standard input)
      --notes-start-tag string       Tag to use as the starting point for generating release notes
  -p, --prerelease                   Mark the release as a prerelease
      --target branch                Target branch or full commit SHA (default: main branch)
  -t, --title string                 Release title
      --verify-tag                   Abort in case the git tag doesn't already exist in the remote repository
```
2023-02-28 14:25:15 -05:00
dependabot[bot]
525ec9dce5
Bump miniscruff/changie-action from 1.0.0 to 1.0.1 (#311)
Bumps [miniscruff/changie-action](https://github.com/miniscruff/changie-action) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/miniscruff/changie-action/releases)
- [Changelog](https://github.com/miniscruff/changie-action/blob/main/CHANGELOG.md)
- [Commits](7d8e4c245d...b6d52c80de)

---
updated-dependencies:
- dependency-name: miniscruff/changie-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:24:43 -05:00
dependabot[bot]
234b25c729
Bump leonsteinhaeuser/project-beta-automations from 2.0.1 to 2.1.0 (#310)
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:23:47 -05:00
SBGoods
08e201aa90 Checkout the latest commit instead of pulling for remote changes 2023-02-21 15:15:48 -05:00
Selena Goods
0d0e1dd31e
Pin setup-node action to SHA instead of major version
Co-authored-by: Brian Flad <bflad417@gmail.com>
2023-02-21 12:07:05 -05:00
Selena Goods
a405e92ab1
Merge branch 'main' into changie-automation 2023-02-09 16:50:32 -05:00
SBGoods
8972b88921 Add job to update package version 2023-02-09 16:48:43 -05:00
SBGoods
a0b152b5df Add steps to update major version tag 2023-02-09 16:39:54 -05:00
dependabot[bot]
225afc4e17
Bump atlassian/gajira-transition from 3.0.0 to 3.0.1 (#294)
Bumps [atlassian/gajira-transition](https://github.com/atlassian/gajira-transition) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-transition/releases)
- [Commits](4749176faf...38fc9cd61b)

---
updated-dependencies:
- dependency-name: atlassian/gajira-transition
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 09:15:13 -05:00
dependabot[bot]
b69ccc5640
Bump atlassian/gajira-create from 3.0.0 to 3.0.1 (#293)
Bumps [atlassian/gajira-create](https://github.com/atlassian/gajira-create) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-create/releases)
- [Commits](1ff0b6bd11...59e177c4f6)

---
updated-dependencies:
- dependency-name: atlassian/gajira-create
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update .github/workflows/send-to-jira.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brian Flad <bflad417@gmail.com>
2023-02-09 09:13:30 -05:00
SBGoods
eed2545295 Switch to Changie for changelog automation 2023-02-08 15:32:40 -05:00
Dave Parfitt
ced4e07081 Add Jira automation 2023-01-24 15:20:41 -05:00
Brian Flad
97112244d3
.github/workflows: Use actions/reusable-workflows for CI validation (#282)
Reference: https://github.com/actions/reusable-workflows
Reference: a8533f184b/.github/workflows/basic-validation.yml
Reference: a8533f184b/.github/workflows/check-dist.yml

Simplify the project's CI by using the recently developed actions/reusable-workflows for testing and dist/ compilation checking.

Recompiled `dist/` via `npm run build`
2022-12-22 10:51:35 -05:00
dependabot[bot]
c016a46e74
Bump leonsteinhaeuser/project-beta-automations from 2.0.0 to 2.0.1
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 18:26:42 +00:00
Peter Mescalchin
4f5ea8bbca
Update GitHub workflow branch triggers from master -> main (#216) 2022-09-17 17:18:44 -04:00
dependabot[bot]
b2ab8506ab
Bump leonsteinhaeuser/project-beta-automations from 1.3.0 to 2.0.0
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v1.3.0...v2.0.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 18:22:05 +00:00
dependabot[bot]
d8f7c30c7f
Bump leonsteinhaeuser/project-beta-automations from 1.2.1 to 1.3.0
Bumps [leonsteinhaeuser/project-beta-automations](https://github.com/leonsteinhaeuser/project-beta-automations) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/leonsteinhaeuser/project-beta-automations/releases)
- [Commits](https://github.com/leonsteinhaeuser/project-beta-automations/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: leonsteinhaeuser/project-beta-automations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 18:15:31 +00:00
Ivan De Marino
8d6e47a98a Add new Issues/PRs to TF Provider DevEx team board 2022-05-19 15:54:27 +01:00
Rui Chen
d5cbd3fe79
Upgrade Nodejs runtime from 12 to 16 (#170)
This updates the NodeJS runtime version from 12 to 16. NodeJS 12 is EOL on 4/30/2022. NodeJS 16 is supported on all Github Actions Runners v2.285.0 or later.

Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: James Pogran <jpogran@outlook.com>
2022-04-08 08:52:09 -04:00
James Pogran
3672145e4b
Add GitHub automatic release (#173)
This automatically creates a GitHub release when a matching tag is created in this repository.
2022-04-04 09:38:08 -04:00
Audrey Eschright
a504130155
Update js-releases to fix missing dep in bundle (#78) 2020-12-09 12:21:26 -08:00
Audrey Eschright
32c4f59108
Switch to @hashicorp/js-releases for finding correct package to install (#70) 2020-12-01 10:49:15 -08:00
Audrey Eschright
ccd38093bb
Upgrade dependencies and clean up package config (#63) 2020-10-30 13:07:27 -07:00
Matthew Sanabria
ec552d11bc
Adding tests for version constraints (#45)
* Adding tests for version constraints

* Update test names
2020-09-08 11:36:35 -04:00
chenrui
3301b9a828
Bump terraform to v0.12.25 (#8)
* Bump terraform to v0.12.25

* Update version ref and tests per PR suggestion
2020-05-14 22:41:26 -04:00
Matthew Sanabria
cd5e05ffbf Initial commit 2020-04-25 19:46:30 -04:00