Commit Graph

391 Commits

Author SHA1 Message Date
Steven Clark
297a9831f1 Pin protoc-gen-go-grpc to 1.4.0 (#27892)
* Pin protoc-gen-go-grpc to 1.4.0

They introduced a replace statement within the go.mod file which
causes failures running go install protoc-gen-go-grpc@latest

Workaround for now is to pin to the previous version

See https://github.com/grpc/grpc-go/issues/7448

* Add missing v to version v1.4.0 instead of 1.4.0 within tools/tools.sh
2024-07-29 14:36:43 +00:00
Kuba Wieczorek
5d172d5861 [VAULT-28666] Use the retry script to check release version for gotestsum in CI (#27878) 2024-07-26 16:41:01 +00:00
Kuba Wieczorek
7a4cf3d273 [VAULT-28666] Use the retry script to check release versions for external tools installed in CI (#27873) 2024-07-26 10:17:32 -04:00
Kuba Wieczorek
920c08966c [VAULT-28666] Enable the --clobber flag on GitHub CLI release downloads in CI to avoid errors when retrying (#27852) 2024-07-24 12:24:30 +01:00
Kuba Wieczorek
74d15e3d50 [VAULT-28666] Remove the errexit option from the retry script and add increasing wait on failure (up to 5 seconds and 5 retries) (#27842)
Co-authored-by: VAL <val@hashicorp.com>
2024-07-23 17:58:37 +00:00
Kuba Wieczorek
b7d9008e5b [VAULT-28666] Retry tool download from GitHub releases on failure in GitHub Actions (GHA) (#27786) 2024-07-16 09:07:30 +01:00
Kuba Wieczorek
d9cd3a094a [VAULT-28666] Retry staticcheck download on failure in GitHub Actions (GHA) (#27781) 2024-07-15 13:19:16 -04:00
Josh Black
56b32081f0 add a retry-command script (#27754)
* add a retry-command script

* add license header to retry script
2024-07-12 13:18:41 -07:00
Ryan Cragun
44c988328f actions: don't use linux runs-on label (#27674)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-07-08 09:47:41 -06:00
Kuba Wieczorek
1b794a5579 [VAULT-28664] Enable the --rerun-fails option in gotestsum for enterprise to reduce the impact of flaky tests on the CI (#27695) 2024-07-04 18:42:51 +01:00
Violet Hynes
64ce6e74da Update actions/checkout to 4.1.7 (#27636) 2024-07-02 09:25:21 -04:00
dependabot[bot]
93bda36235 Bump actions/add-to-project from 1.0.1 to 1.0.2 (#27584)
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/actions/add-to-project/releases)
- [Commits](9bfe908f2e...244f685bbc)

---
updated-dependencies:
- dependency-name: actions/add-to-project
  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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-27 18:48:58 +00:00
dependabot[bot]
281f6931b0 Bump test-summary/action from 2.3 to 2.4 (#27626)
Bumps [test-summary/action](https://github.com/test-summary/action) from 2.3 to 2.4.
- [Release notes](https://github.com/test-summary/action/releases)
- [Commits](032c8a9cec...31493c76ec)

---
updated-dependencies:
- dependency-name: test-summary/action
  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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-27 18:44:29 +00:00
Ryan Cragun
ad5ca3e7b7 actions: use the Github API for pull request labels (#27603)
We have seen instances where the github.event.pull_request.labels.*.name
context in Github Actions doesn't actually include the labels.

Instead, we now pull and parse them ourselves instead of relying on that
context.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-25 16:32:12 -06:00
Ryan Cragun
e0199efb19 ui: pin chrome in UI tests (#27580)
* ui: pin chrome in UI tests

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-24 14:16:07 -06:00
Ryan Cragun
84935e4416 [QT-697] enos: add descriptions and quality verification (#27311)
In order to take advantage of enos' ability to outline scenarios and to
inventory what verification they perform we needed to retrofit all of
that information to our existing scenarios and steps.

This change introduces an initial set of descriptions and verification
declarations that we can continue to refine over time.

As doing this required that I re-read every scenanario in its entirety I
also updated and fixed a few things along the way that I noticed,
including adding a few small features to enos that we utilize to make
handling initial versions programtic between versions instead of having a
delta between our globals in each branch.

* Update autopilot and in-place upgrade initial versions
* Programatically determine which initial versions to use based on Vault
  version
* Partially normalize steps between scenarios to make comparisons easier
* Update the MOTD to explain that VAULT_ADDR and VAULT_TOKEN have been
  set
* Add scenario and step descriptions to scenarios
* Add initial scenario quality verification declarations to scenarios
* Unpin Terraform in scenarios as >= 1.8.4 should work fine
2024-06-13 11:16:33 -06:00
Ryan Cragun
80e6d81a4b backport: bump backport-assistant to v0.4.3 (#27484)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-13 10:29:52 -06:00
Violet Hynes
a4347e9098 Update backport assistant in CE (#27482) 2024-06-13 14:54:26 +00:00
Violet Hynes
a40265de6e Remove changelog checklist item from PR template (#27460)
* Remove changelog checklist item from PR template

* Update ent PR guidance
2024-06-12 12:59:03 -04:00
Violet Hynes
2db5d6aa54 Automate feature changelog checking (#27450)
* Automate feature changelog checking

* Add changelog for testing

* Simplify check

* Forgot the end of line thing

* Escape the characters

* More testing

* Last test?

* Delete test changelog
2024-06-12 08:54:29 -04:00
Josh Black
1710f59688 add PR template (#27392)
* add PR template

* adjustments

* PR feedback and add a docs template as well

* Update .github/docs/pull_request_template.md

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>

* further feedback

---------

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-06-11 18:48:27 +00:00
dependabot[bot]
5517d0764c Bump browser-actions/setup-chrome from 1.6.2 to 1.7.1 (#27246)
Bumps [browser-actions/setup-chrome](https://github.com/browser-actions/setup-chrome) from 1.6.2 to 1.7.1.
- [Release notes](https://github.com/browser-actions/setup-chrome/releases)
- [Changelog](https://github.com/browser-actions/setup-chrome/blob/master/CHANGELOG.md)
- [Commits](9683066f53...db1b524c26)

---
updated-dependencies:
- dependency-name: browser-actions/setup-chrome
  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>
Co-authored-by: Peter Wilson <peter.wilson@hashicorp.com>
2024-06-11 17:13:00 +01:00
Ryan Cragun
a9114742b2 actions: update actions-slack-status to v2.0.1 (#27440)
Fix a node deprecation warning by updating our actions-slack-status to
v2.0.1, which pulls in a newer version of the github-script action that
causes the deprecation warning.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-11 16:12:08 +00:00
Ryan Cragun
f7c16796ed lint: fix misspell linter install (#27408)
It appears that starting with v0.5.2 the misspell linter embeds the
version directory into the release archive.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-06-07 19:14:20 -04:00
Rebecca Willett
c28739512a Add Amazon Linux, openSUSE Leap, and SUSE SLES support to Enos scenarios and modules (#25983)
Add Consul edition support to Enos scenarios and modules
Add Linux distros and Consul edition to Enos samples
Bump RHEL versions to 9.3 and 8.9
2024-06-05 12:58:35 -04:00
Mike Palmiotto
e99e8870ec Add a CI check for do-not-merge label (#27325) 2024-06-04 09:37:10 -04:00
John-Michael Faircloth
ab9ee4a452 gha: add branch as input to plugin update workflow (#27204)
* gha: add branch as input to plugin update workflow

* name => set_name

* Revert "name => set_name"

This reverts commit de9ee4f33637729f09d17096d20f200061913a84.
2024-05-23 15:58:21 -05:00
claire labry
3c28e9dd1f SMRE/BPA Onboarding LTS (#27053)
* onboard to use backport-assistant with lts support

* add active releases manifest file

* fix CE active release versions

* update manifest and backport files for 0.4.1 bpa version

* remove BACKPORT_LABEL_TEMPLATE

* remove extra container;

* seperate backport.yml files

---------

Co-authored-by: Jeanne Franco <jeanne.franco@hashicorp.com>
2024-05-20 10:05:52 -05:00
Bianca Moreira
db388a5ecd legal: include license in release zip and docker image (#26801)
* legal: include license in release zip and docker image

* Move license logic to script

* Add cp license to build vault action

* test

* Trigger Build
2024-05-17 17:18:38 +02:00
dependabot[bot]
2718994242 Bump actions/checkout from 4.1.5 to 4.1.6 (#27096)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...a5ac7e51b4)

---
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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-17 10:06:45 -04:00
dependabot[bot]
c0a27b4e00 Bump browser-actions/setup-chrome from 1.6.1 to 1.6.2 (#27072)
Bumps [browser-actions/setup-chrome](https://github.com/browser-actions/setup-chrome) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/browser-actions/setup-chrome/releases)
- [Changelog](https://github.com/browser-actions/setup-chrome/blob/master/CHANGELOG.md)
- [Commits](361a23fcf9...9683066f53)

---
updated-dependencies:
- dependency-name: browser-actions/setup-chrome
  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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-16 11:50:43 -04:00
dependabot[bot]
a3f8a49009 Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3 (#26955)
Bumps [hashicorp/setup-copywrite](https://github.com/hashicorp/setup-copywrite) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/hashicorp/setup-copywrite/releases)
- [Commits](867a1a2a06...32638da2d4)

---
updated-dependencies:
- dependency-name: hashicorp/setup-copywrite
  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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-13 14:19:17 +00:00
dependabot[bot]
b81a2666b2 Bump actions/checkout from 4.1.4 to 4.1.5 (#26920)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-10 18:15:07 +00:00
Ryan Cragun
fc4042bd2e [QT-687] use new packaging action (#26905)
Update hashicorp/actions-packaging-linux to our rewritten version
that no longer requires building a Docker container or relies on code
hosted in a non-hashicorp repo for packaging.

As internal actions are not managed in the same manner as external
actions in via the tsccr trusted components db, the tsccr helper is
unable to easily re-pin hashicorp/* actions. As such, we unpin some
pinned hashicorp/* actions to automatically pull in updates that are
compatible.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-05-10 16:51:06 +00:00
dependabot[bot]
f3b3f32176 Bump hashicorp/setup-copywrite from 1.1.2 to 1.1.3 (#26921)
Bumps [hashicorp/setup-copywrite](https://github.com/hashicorp/setup-copywrite) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/hashicorp/setup-copywrite/releases)
- [Commits](867a1a2a06...32638da2d4)

---
updated-dependencies:
- dependency-name: hashicorp/setup-copywrite
  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>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-10 11:37:18 -04:00
John-Michael Faircloth
f75b057081 workflow: add reviewer input to plugin update (#26895)
* workflow: add reviewer input to plugin update

* fix typo and change commit msg
2024-05-10 08:58:39 -05:00
dependabot[bot]
28612efd26 Bump hashicorp/vault-action from 2.8.0 to 3.0.0 (#26847)
Bumps [hashicorp/vault-action](https://github.com/hashicorp/vault-action) from 2.8.0 to 3.0.0.
- [Release notes](https://github.com/hashicorp/vault-action/releases)
- [Changelog](https://github.com/hashicorp/vault-action/blob/main/CHANGELOG.md)
- [Commits](9f522b8598...d1720f055e)

---
updated-dependencies:
- dependency-name: hashicorp/vault-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2024-05-09 15:13:05 -04:00
Violet Hynes
73506d1395 Update hashicorp/set-product-version to version 2 (#26908) 2024-05-09 13:48:57 -04:00
Victor Rodriguez
4a9ffe24d4 Build the HSM binary for running ENT tests that require it. (#26902) 2024-05-09 12:08:36 -04:00
Ryan Cragun
842dff8342 [QT-711] actions: use next generation CRT actions (#26882)
Update the Github Actions pins to use the next generation of actions
that are supported by CRT.

In some cases these are simply to resolve Node 16 deprecations. In
others, we can now use `action/upload-artifact@v4` and
`actions/download-artifact@v4` since the next generation of actions like
`hashicorp/actions-docker-build@v2` and
`hashicorp/actions-persist-metadata@v2` use the `v4` versions of these.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-05-08 15:17:20 -06:00
Ryan Cragun
1f2f3ff20a [QT-711] Pin to latest github actions (#26789)
Pin to the latest actions in preparation for the migration to
`actions/upload-artifact@v4`, `actions/download-artifact@v4`, and
`hashicorp/actions-docker-build@v2` on May 6 or 7.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-05-02 13:29:20 -06:00
Kuba Wieczorek
cb36fba177 Remove duplicated text field in tests-completed Slack payload (#26733) 2024-05-01 13:06:47 +00:00
Kuba Wieczorek
98894d4f7c Improve the Slack CI feed message for when data races are detected in Go tests (#26731) 2024-05-01 12:32:39 +00:00
akshya96
5671d67483 add re-run flag for 32 bit nightly tests (#26526) 2024-04-30 13:01:22 -07:00
Christopher Swenson
9643471081 Install tools when doing test-ui builds (#26505) 2024-04-18 17:44:45 +00:00
Steven Clark
3140dbe209 Adapt CI to use new filenames for misspell releases (#26506) 2024-04-18 17:11:07 +00:00
Christopher Swenson
961bf20bdb Use enumer to generate String() methods for most enums (#25705)
We have many hand-written String() methods (and similar) for enums.
These require more maintenance and are more error-prone than using
automatically generated methods. In addition, the auto-generated
versions can be more efficient.

Here, we switch to using https://github.com/loggerhead/enumer, itself
a fork of https://github.com/diegostamigni/enumer, no longer maintained,
and a fork of the mostly standard tool
https://pkg.go.dev/golang.org/x/tools/cmd/stringer.
We use this fork of enumer for Go 1.20+ compatibility and because
we require the `-transform` flag to be able to generate
constants that match our current code base.

Some enums were not targeted for this change:
2024-04-17 11:14:14 -07:00
Ryan Cragun
71758f4def terraform: pin to 1.7.5 until 1.8.0 crash is resolved (#26356)
Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-04-10 21:39:12 +00:00
John-Michael Faircloth
69fd338c78 fix plugin update check pr num fetching (#26066) 2024-03-20 18:57:42 +00:00
Ryan Cragun
c7bdac4081 [QT-688] Pin to latest tsccr actions (#26006)
This should resolve various Node JS 16 deprecation errors.

Signed-off-by: Ryan Cragun <me@ryan.ec>
2024-03-18 18:56:12 +00:00