Commit Graph
198 Commits
Author SHA1 Message Date
Michael Li 31ca969f4f Revert "chore(e2e): Remove need for tparse (#4326)" (#4362)
This reverts commit f18bc5262f.
2024-02-05 17:48:00 -05:00
Michael Li f18bc5262f chore(e2e): Remove need for tparse (#4326) 2024-02-05 16:14:42 -05:00
Michael Li b14cd1e864 chore: Fix breaking change in labeler when upgrading to v5 (#4350) 2024-02-01 17:16:35 -05:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] 5d6c42a0c2 Result of tsccr-helper -log-level=info gha update -latest . (#4346)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2024-02-01 15:00:58 -05:00
Michael Li eb4471c9d0 chore(e2e): Name output based on scenario (#4327) 2024-02-01 10:22:19 -05:00
Michael Li ec8902ec68 test(e2e): Add docker-based infra scenario for Admin UI tests (#4166)
* chore(e2e): Add docker-based scenario for Admin UI tests

* test(e2e): Trim space in worker_led_token output
2023-12-22 10:10:29 -05:00
Michael Li f36b3d4723 chore(e2e): Avoid error in action if no log files are found (#4152) 2023-12-13 14:16:44 -05:00
Hugo cf71ae042c feat(github): Disable schema-diff for PRs in draft state (#4110) 2023-12-07 16:59:34 +00:00
Michael Li 11d4211f30 Revert "chore(deps): bump actions/setup-python from 4.7.1 to 4.8.0 (#4098)" (#4101)
This reverts commit 17e9edc07f.
2023-12-05 09:58:12 -05:00
dependabot[bot] 17e9edc07f chore(deps): bump actions/setup-python from 4.7.1 to 4.8.0 (#4098)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.1 to 4.8.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236...b64ffcaf5b410884ad320a9cfac8866006a109aa)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-12-05 09:53:10 -05:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] b159080593 Result of tsccr-helper -log-level=info -pin-all-workflows . (#4080)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-12-04 09:48:09 -05:00
Michael Li 093f889333 test(e2e): Add test for LDAP (#4061)
* test(e2e): Add test for LDAP

This adds the infrastructure and a test for an LDAP workflow

* test(e2e): Refactor test packages

This reduces the number of scenarios needed

* CR

* fixup! test(e2e): Add test for LDAP
2023-11-28 16:25:26 -05:00
Michael Li b0127116f3 test(e2e): Add test for worker-led worker registration (#4014)
* refact(e2e): Create module to run boundary commands

* test(e2e): Add worker-led registration test
2023-11-09 09:55:47 -05:00
Michael Li 444def7971 chore(e2e): Fix workflow trigger (#4013) 2023-11-07 10:51:16 -05:00
Michael Li 25961d98b1 chore(e2e): Continue if log renaming fails (#4005) 2023-11-06 13:21:53 -05:00
dependabot[bot] bfea91b0a0 chore(deps): bump hashicorp/setup-terraform from 2.0.3 to 3.0.0 (#3963)
Bumps [hashicorp/setup-terraform](https://github.com/hashicorp/setup-terraform) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/hashicorp/setup-terraform/releases)
- [Changelog](https://github.com/hashicorp/setup-terraform/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/setup-terraform/compare/633666f66e0061ca3b725c73b2ec20cd13a8fdd1...a1502cd9e758c50496cc9ac5308c4843bcd56d36)

---
updated-dependencies:
- dependency-name: hashicorp/setup-terraform
  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>
2023-11-01 17:12:55 -04:00
Sarah Thompson c5407919b0 update linux package license to BUSL-1.1 (#3577) 2023-11-01 17:01:31 -04:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] b5ae6f0ceb Result of tsccr-helper -log-level=info -pin-all-workflows . (#3968)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-11-01 10:08:02 -04:00
Michael Li f0a4bce17c test(e2e): Add test for controller-led worker registration (#3882)
* test(e2e): Add test for controller led worker registration

* chore(e2e): Rename log files to ensure uniqueness

This updates the log files to be based on the scenario name instead of just the test package in case some scenarios run the same test package
2023-10-30 09:48:08 -04:00
mickael-hc fe948942c2 security-scan: temporarily pin semgrep to 1.45.0 (#3931) 2023-10-26 10:34:21 -04:00
Timothy Messier d865ff16a4 ci(schema-diff): Fix error with large diffs (#3909)
When generating the JSON for submitting the github comment, if the
message was too large, the workflow would fail with the following error:

    /usr/bin/jq: Argument list too long

This fix switches to using the `--rawfile`, which allows jq to process
the large comment.
2023-10-24 14:00:29 -04:00
Michael Li cad044926f chore(e2e): Add always condition (#3866) 2023-10-19 11:09:09 -04:00
dependabot[bot] 1f598988e6 chore(deps): bump actions/setup-python from 4.7.0 to 4.7.1 (#3837)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/61a6322f88396a6271a6ee3565807d608ecaddd1...65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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-10-12 06:21:39 -04:00
Mark Collao d42369551a Update security-scan.yml 2023-10-11 12:55:04 -05:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] ae85c5d7ff Result of tsccr-helper -log-level=info -pin-all-workflows . (#3786)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-10-11 09:17:52 -04:00
Michael Li 43ae62506f Revert "chore(e2e): Set terraform version to 1.5 until issue is addressed (#3797)" (#3815)
This reverts commit 031e143dfb.
2023-10-10 12:07:06 -04:00
Michael Li 9acff95fd6 chore(e2e): Add logs for aws dependencies error (#3796) 2023-10-09 09:32:34 -04:00
Michael Li 031e143dfb chore(e2e): Set terraform version to 1.5 until issue is addressed (#3797) 2023-10-04 16:20:52 -04:00
Michael Li a4023b846f chore(e2e): Get logs from the postgres container (#3792) 2023-10-03 15:35:38 -04:00
Michael Li ff34cb629e test(e2e): Add a test for a single-hop worker (#3690)
* refact(e2e): Add env for workers

* test(e2e): Add test for single-hop worker

* fixup! refact(e2e): Add env for workers

* fixup! test(e2e): Add test for single-hop worker

* fixup! test(e2e): Add test for single-hop worker

* fixup! test(e2e): Add test for single-hop worker

* fixup! test(e2e): Add test for single-hop worker
2023-09-11 14:25:32 -04:00
Michael Li 9a6b0d26cb test(e2e): Add test for boundary connect postgres (#3671)
* refact(e2e): Rename env

* test(e2e): Add test for `connect postgres`

* fixup! test(e2e): Add test for `connect postgres`
2023-09-06 17:29:35 -04:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] c55df52d44 Result of tsccr-helper -log-level=info -pin-all-workflows . (#3658)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-09-01 12:21:34 -04:00
Johan Brandhorst-Satzkorn 9e955c806e ci: attempt to silence action linter (#3659)
The lint warnings are bogus but they keep failing so lets
try to work around the suggested issues.
2023-09-01 09:18:15 -07:00
Johan Brandhorst-Satzkorn 477deeb294 Fix fuzz corpus upload (#3647) 2023-08-31 09:28:15 -07:00
Jim 922fcfb4c0 tests (grants): add basic fuzz test for grants.Parse (#3638) 2023-08-25 21:17:29 -04:00
Susmitha Girumala 8f6f542436 Update labels in github issue template (#3625)
* Update bug_report.md

* Update labels in github issue template for jira integration improvements
2023-08-24 14:26:56 -07:00
hashicorp-copywrite[bot]andJohan Brandhorst-Satzkorn 29da0bcb92 [COMPLIANCE] License changes (#3567)
* Adding explicit MPL license for sub-package.

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Adding explicit MPL license for sub-package

This directory and its subdirectories (packages) contain files licensed with the MPLv2 `LICENSE` file in this directory and are intentionally licensed separately from the BSL `LICENSE` file at the root of this repository.

* Updating the license from MPL to Business Source License

Going forward, this project will be licensed under the Business Source License v1.1. Please see our blog post for more details at https://hashi.co/bsl-blog, FAQ at www.hashicorp.com/licensing-faq, and details of the license at www.hashicorp.com/bsl.

* Update copyright file headers to BUS-1.1

* Rerun make gen

This will pick up the last of the license changes

* Revert "Rerun make gen"

This reverts commit dbe0968bffd92745d8663c6940debae098395a6b.

* Remove copywrite from generation script

The current version of copywrite is not sophisticated enough
to only apply the copywrite changes to certain subdirectories,
so to avoid accidentally relicensing our api and sdk modules,
we will stop running the copywrite script until such time
that it can do the right thing.

* License protobuf API as MPL

The protobuf API files are used to generate the SDK,
since we want the SDK to be MPL, the protobuf files
must also be MPL. This extends to all protobuf files
whose sources end up in the SDK directory, including:

- internal/proto/controller/api
- internal/proto/controller/custom_options
- internal/proto/plugin

It also includes the generated service directory in
internal/gen/controller/api/services, since they are
generated from the protobuf sources used for the SDK.

* Change website license file name

This makes the naming scheme consistent with the rest
of the repository.

* Add note on licensing to README

* Set copywrite license to BUSL

* Revert "Add note on licensing to README"

This reverts commit 4d865a91a7a4f11605f0dc4609355d7e3c3cfffe.

---------

Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2023-08-11 10:31:53 -07:00
Michael Li dec3bf3a5c chore: Change workflow to use launch (#3551) 2023-08-09 12:26:36 -04:00
Michael Li 0af4c38230 chore: Modify go test retry settings (#3536) 2023-08-07 09:45:13 -04:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] e8207d4bb2 Result of tsccr-helper -log-level=info -pin-all-workflows . (#3527)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-08-01 08:42:39 -04:00
Michael Li ef3954c561 test(e2e): Add a docker test runner (#3499)
* test(e2e): Add a docker test runner

* !fixup: Self-review

* !fixup: Make vault address compatible with local runs

* !fixup: Remove unnecessary modification

* !fixup: Remove arm64 requirement

* !fixup: extend timeout
2023-07-31 09:10:21 -04:00
hashicorp-tsccr[bot]andhashicorp-tsccr[bot] 7a069cb54e Result of tsccr-helper -log-level=info -pin-all-workflows . (#3466)
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
2023-07-18 09:25:10 -04:00
Michael Li e460187508 chore: Add missing ** in paths-ignore (#3451) 2023-07-14 09:28:49 -04:00
Mark Collao 81016ef984 fix paths-ignore on security-scan workflow (#3435) 2023-07-13 13:08:29 -05:00
Mark Collao 75b4234668 chore: prefer gosec for semgrep rule and turn on codeql (#3418) 2023-07-13 13:03:53 -05:00
Michael Li 88adfecb59 chore: Ignore website directory for build and test workflows (#3426) 2023-07-13 10:16:53 -04:00
Michael Li 23d500917b chore: Remove check-legacy-links-format workflow (#3376)
This workflow has been deprecated in favor of similar checks in other places.
2023-06-29 11:21:41 -04:00
Michael Li a751d65831 chore: Update actionlint to a trusted version (#3357) 2023-06-23 12:59:01 -04:00
Michael Li bfc3babd20 chore(e2e): Change port used by vault docker container (#3355)
* chore: Update scenario reference name

* chore: Use different port for vault

This avoids any conflicts with other uses of vault
2023-06-22 16:12:00 -04:00
Michael Li d920676112 chore: Update some e2e test scenarios to use docker-based infra (#3345)
* chore: Update docker scenario to check edition

* chore: Use large runner to resolve flakiness issues

* chore: Migrate enos scenarios to use docker
2023-06-21 11:36:47 -04:00