Timothy Messier
b6d58d0c42
ci(schema-diff): Generate one file per constraint ( #3082 )
...
This yeilds a better diff when constraints are changed.
2023-03-14 12:57:07 -04:00
Timothy Messier
23f9a7774b
chore(globals): Add missing copywrite header ( #3083 )
2023-03-14 12:08:36 -04:00
Jeanne Angeles Franco
4366f69b66
lower test run frequency per hour ( #3080 )
2023-03-13 17:22:14 -07:00
Jeanne Angeles Franco
fd56f7ee1a
Increase the number of workflow run ( #3078 )
2023-03-13 15:13:21 -07:00
Jeanne Angeles Franco
8a7b507d41
Add workflow to run test on schedule ( #3076 )
2023-03-13 12:44:23 -07:00
Jeff Mitchell
d391dc6ab7
Add top level resource prefix function in globals ( #3075 )
2023-03-13 12:27:43 -04:00
Jeff Mitchell
b76b24a4ad
Move prefixes for many packages into the globals package ( #3069 )
...
This is a prerequisite for some enhancements to grant validation
2023-03-10 15:06:39 -05:00
Todd
6adc0c86b5
Rename downstream router to receiver ( #3068 )
...
This was done previously but these were missed.
2023-03-10 09:33:09 -08:00
Michael Li
2169bf7443
chore: Add "fail-on-cache-miss" setting to more jobs ( #3072 )
2023-03-10 12:17:29 -05:00
Michael Li
8a13b3076b
doc: Add boundary logo back to README ( #3071 )
2023-03-10 11:42:57 -05:00
Jeff Mitchell
b7d810e475
Fix function signature ( #3070 )
2023-03-09 20:31:20 -05:00
dependabot[bot]
2b7accac84
chore(deps): bump actions/setup-python from 3.1.2 to 4.5.0 ( #3038 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 3.1.2 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/98f2ad02fd48d057ee3b4d4f66525b231c3e52b6...d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 )
---
updated-dependencies:
- dependency-name: actions/setup-python
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-03-08 15:36:33 -05:00
Timothy Messier
000fc7c0e0
ci: Remove CircleCI configuration ( #3065 )
...
CI is now performed via Github Actions. Some notable Github Action
workflows that replace the CircleCI jobs are:
- test: replaces CCI build, test-api, test-sdk
- test-sql: replaces CCI test-sql
- make-gen-delta: replaces CCI make-gen-delta
See:
https://github.com/hashicorp/boundary/actions/workflows/test.yml
https://github.com/hashicorp/boundary/actions/workflows/test-sql.yml
https://github.com/hashicorp/boundary/actions/workflows/make-gen-delta.yml
https://docs.github.com/en/actions
https://cli.github.com/manual/gh_run
2023-03-08 14:23:33 -05:00
Irena Rindos
1821cb4631
Use tofu token from controller ( #3064 )
...
* initial commit
2023-03-08 13:49:57 -05:00
dependabot[bot]
bac14d2081
chore(deps): bump hashicorp/actions-go-build from 0.1.7 to 0.1.9 ( #3040 )
...
Bumps [hashicorp/actions-go-build](https://github.com/hashicorp/actions-go-build ) from 0.1.7 to 0.1.9.
- [Release notes](https://github.com/hashicorp/actions-go-build/releases )
- [Changelog](https://github.com/hashicorp/actions-go-build/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/actions-go-build/compare/v0.1.7...v0.1.9 )
---
updated-dependencies:
- dependency-name: hashicorp/actions-go-build
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-03-08 12:58:31 -05:00
dependabot[bot]
196bbf1ac7
chore(deps): bump atlassian/gajira-transition from 3.0.0 to 3.0.1 ( #3041 )
...
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](https://github.com/atlassian/gajira-transition/compare/4749176faf14633954d72af7a44d7f2af01cc92b...38fc9cd61b03d6a53dd35fcccda172fe04b36de3 )
---
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-03-08 12:57:50 -05:00
dependabot[bot]
fefe54a398
chore(deps): bump atlassian/gajira-login from 3.0.0 to 3.0.1 ( #3039 )
...
Bumps [atlassian/gajira-login](https://github.com/atlassian/gajira-login ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/atlassian/gajira-login/releases )
- [Commits](https://github.com/atlassian/gajira-login/compare/ca13f8850ea309cf44a6e4e0c49d9aa48ac3ca4c...45fd029b9f1d6d8926c6f04175aa80c0e42c9026 )
---
updated-dependencies:
- dependency-name: atlassian/gajira-login
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-03-08 12:57:18 -05:00
dependabot[bot]
4618b7e755
chore(deps): bump actions/labeler from 4.0.2 to 4.0.3 ( #3063 )
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/5c7539237e04b714afd8ad9b4aed733815b9fab4...ba790c862c380240c6d5e7427be5ace9a05c754b )
---
updated-dependencies:
- dependency-name: actions/labeler
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-03-08 12:56:40 -05:00
Michael Li
e0b50af7c3
chore(enos): Use cache for tparse ( #3057 )
2023-03-08 10:03:11 -05:00
Jim
2e29894ca7
chore: upgrade deps ( #3055 )
2023-03-08 10:00:25 -05:00
Josh Brand
4100d26826
Add extra IAM permissions for demo user creation during e2e tests ( #3059 )
...
These statements got nixed in the account migration, this policy should be applied to OSS (non-doormat) projects that need IAM access for testing
2023-03-07 17:22:55 -05:00
Jeff Mitchell
b2bab45c13
Port over changes ( #3061 ) ( #3062 )
2023-03-07 16:29:34 -05:00
dependabot[bot]
4819d17ee8
chore(deps): bump aws-actions/configure-aws-credentials ( #3060 )
...
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials ) from 023daa7fe5f7f817faa31fc0fc4a8d0fb6224ed0 to e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases )
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/023daa7fe5f7f817faa31fc0fc4a8d0fb6224ed0...e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef )
---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 15:16:06 -05:00
Ashlee M Boyer
1c6ce3d3a6
Delete test-link-rewrites.yml ( #3058 )
2023-03-06 17:12:41 -05:00
Jim
a2692e0a68
update the deps ( #3054 )
2023-03-03 20:51:51 -05:00
Timothy Messier and Hugo Vieira
b00d888387
ci(schema-diff): Add script to generate diff of database schema ( #2924 )
...
The script should be given a base branch to compare against, if not set
it defaults to main. The script will apply the schema migrations for
both the base branch and the current commit and generate dumps that are
then compared to create a diff. The dumps are left in a temporary
directory so that they can be compared using a users preferred diff tool.
For example, generate the dumps and diff against main
./scripts/schema-diff.sh main
Examine the diff to database functions using delta:
delta .schema-diff/funcs_$(git rev-parse main) .schema-diff/funcs_$(git rev-parse HEAD)
This also adds a github action that runs the script on pull-requests
that contain schema changes and reports the diffs as a comment on the
pull-request.
Co-authored-by: Hugo Vieira <hugoamvieira@users.noreply.github.com >
2023-03-03 16:21:33 -05:00
Zhihe Li
21e73e4b17
Update changelog and UI commitish ( #3052 ) ( #3053 )
2023-03-02 17:34:50 -05:00
Michael Li
1f55136d87
chore(enos): Use node16 version of action ( #3051 )
2023-03-02 16:45:22 -05:00
Michael Li
420952f6b8
chore(enos): Add scenario for e2e UI tests ( #2813 )
2023-03-02 14:32:53 -05:00
Todd
4d19d1cfc4
Remove metadata from feature manager ( #3046 )
2023-03-02 10:05:04 -08:00
Michael Li
54aad4d292
chore(enos): Add debug variable ( #3037 )
2023-03-02 12:37:12 -05:00
Irena Rindos
ab0a2ad689
Fix hcp billing test ( #3045 )
...
* fix test failure
2023-03-02 12:02:16 -05:00
Irena Rindos
860af44556
Fix sql tests failing on the first of the month ( #3042 )
...
* initial commit
2023-03-01 19:14:57 -05:00
Timothy Messier
236d7ca872
ci: Additional githubaction configuration ( #3034 )
...
- Pin action versions
- Dependabot to notify about action updates
- Update codeowners
2023-03-01 08:00:46 -05:00
Michael Li
713c121143
chore(enos): Default to use OSS edition ( #3035 )
...
There was an update to the build scripts to detect what edition of boundary is being built so that it knows which version of the UI to grab. However, this affected instances when building boundary on an architecture that is not the same as the host (in this case, we're building a linux/amd64 version on a mac). When the scripts try to use the built CLI to get the edition, it threw an `exec format error`.
2023-02-27 18:35:01 -05:00
Michael Li
604c701395
chore(enos): Define explicit dependencies between steps ( #3031 )
2023-02-27 12:27:18 -05:00
Michael Li
559c7aab24
chore(enos): Fix local creation of IAM ( #3021 )
2023-02-27 12:26:39 -05:00
Michael Li
f412abc205
ci: Fix permissions in labeler workflow ( #3032 )
...
* ci: Fix permissions in labeler workflow
* ci: Add write permissions
2023-02-27 10:59:00 -05:00
Zhihe Li
4f37319c6f
Update ui build scripts to check edition ( #3016 )
2023-02-27 10:25:16 -05:00
Timothy Messier
5e0957eb24
ci(test): Use docker mirror ( #3018 )
2023-02-24 14:49:16 -05:00
Timothy Messier
d7b567e843
ci(trigger-merge-to-downstream): Fix typo in workflow
2023-02-24 13:54:48 +00:00
Timothy Messier
39e1cd7dcf
chore(ci): Add downstream merge trigger to github action ( #3014 )
2023-02-24 08:36:47 -05:00
Timothy Messier
18b0bcb395
chore(ci): Revert some permission settings
...
These workflows seemed to break with these permission changes.
2023-02-23 21:14:53 +00:00
Timothy Messier
2a47e9ddf8
ci: Set permissions in workflows ( #3011 )
2023-02-23 15:50:26 -05:00
86214a85e1
ci: Run go tests in github action ( #2997 )
...
This runs the make targets:
- make test
- make test-api
- make test-sdk
The go tests in the main module are split by package and run in parallel
in a matrix build with GOMAXPROCS=1. This is done primarily to work
around an issue that is only seen on the github runners. When running
at a higher GOMAXPROCS tests that use vault instances in docker
containers start to intermitently fail with errors from vault, usually
either a 400, 403, or TLS error. It is not clear what the cause of this
is, since the same tests run fine on self hosted runners and on
CircleCI.
Co-authored-by: Sarah Thompson <sthompson@hashicorp.com >
Co-authored-by: Daniel Kimsey <daniel.kimsey@hashicorp.com >
2023-02-23 14:58:40 -05:00
Michael Li
5ec75924df
refact(e2e): Set up variables to prepare for docker implementation ( #2992 )
...
* refact(e2e): Explicitly define port used for targets
To maintain consistency for how we define ports, this change explicitly defines the port used in the enos
scenario as opposed to relying on a "default" value. This change is in support of work that attempts to
spin up test infrastructure using docker. The openssh-server image uses Port 2222, which needs to be
passed to the test suite.
* refact(e2e): Add optional "Internal" Vault Address parameter
This change enables scenarios that need two different Vault addresses, one used by the Vault CLI and
one by the Boundary server instance. In the case when using a Docker container, the Boundary server
needs the Vault address "internal" to the Docker network, whereas the Vault CLI running outside of the
network needs a different address.
2023-02-23 12:05:06 -05:00
Michael Li
7733677e34
chore(enos): Modify destroy condition ( #3001 )
...
Sometimes, the workflow can fail before enos is even installed, which causes this step to fail due enos not existing.
This change makes it such that this step only runs if the Retry step fails.
2023-02-23 11:58:43 -05:00
Michele Degges
c309f46568
Update version.go to remove addl oss metadata ( #2968 )
2023-02-22 19:12:03 -08:00
Michael Li
9512b524f2
chore(enos): Always destroy enos infrastructure ( #3000 )
...
When the `Run Enos scenario` and `Retry Enos scenario` steps fail, the Destroy command does not get run since the `Retry` step marks the workflow as failed. This leaves some infrastructure hanging around.
2023-02-22 17:42:19 -05:00
XingLu Wang
ad5c6d836e
Update service-discovery.mdx ( #2995 )
2023-02-22 11:46:52 -07:00