Commit Graph
306 Commits
Author SHA1 Message Date
Gavin Frazar 03c65e4538 add redshift cluster e2e tests (#41195)
* test redshift cluster iam role and existing db user iam auth
* test redshift cluster auto user provisioning
* add error checking in test cleanup
2024-05-13 23:36:38 +00:00
Hugo Shaka 01631d569a remove devbox workflow (#41394) 2024-05-09 21:29:13 +00:00
dependabot[bot] f0101de261 Bump bufbuild/buf-setup-action in /.github/workflows (#41232)
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/9990c72db080fa39cf561230b8d2d7b736681f85...480a0ee8a588045b52a847b48138c6f377a89519)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-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>
2024-05-08 22:44:50 +00:00
dependabot[bot] 3fd4f32c4c Bump golangci/golangci-lint-action in /.github/workflows (#41259)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 6.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/3cfe3a4abbb849e10058ce4af15d205b6da42804...23faadfdeb23a6f9e511beaba149bb123b5b145a)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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>
2024-05-08 15:03:40 +00:00
aa34cc6170 Bump jetpack-io/devbox-install-action from 0.9.0 to 0.10.0 in /.github/workflows (#41015)
* Bump jetpack-io/devbox-install-action in /.github/workflows

Bumps [jetpack-io/devbox-install-action](https://github.com/jetpack-io/devbox-install-action) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/jetpack-io/devbox-install-action/releases)
- [Commits](https://github.com/jetpack-io/devbox-install-action/compare/2aca099641c8564f8a841de48cd51107e6a24588...e55980d19e8a14213735f6ebcbced49a1e507856)

---
updated-dependencies:
- dependency-name: jetpack-io/devbox-install-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Change devbox org to jetify-com

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
2024-05-08 14:52:20 +00:00
Gavin Frazar cfa364f28c add Redshift Serverless e2e tests (#40237)
* add Redshift Serverless e2e tests

* update license year in new files

* use a test cleanup func to close local proxy

* adjust test timeouts

* use a longer conn retry interval
2024-04-29 17:18:55 +00:00
Hugo ShakaandAlan Parra 89b11a6e3f Lint Terraform and Event-Handler (#40604)
* Lint Terraform and Event-Handler

* lint terraform

* add Makefile lint targets for TF and event-handler

* address feedback

* Update integrations/event-handler/Makefile

Co-authored-by: Alan Parra <alan.parra@goteleport.com>

---------

Co-authored-by: Alan Parra <alan.parra@goteleport.com>
2024-04-16 21:44:55 +00:00
dependabot[bot]andCam Hutchison c72c189663 Bump docker/setup-buildx-action in /.github/workflows (#40324)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/2b51285047da1547ffb1b2203d8be4c0af6b1f20...d70bba72b1f3fd22344832f00baa16ece964efeb)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-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: Cam Hutchison <camh@goteleport.com>
2024-04-15 11:57:59 +00:00
dependabot[bot] c0e3c5e768 Bump jetpack-io/devbox-install-action in /.github/workflows (#40422)
Bumps [jetpack-io/devbox-install-action](https://github.com/jetpack-io/devbox-install-action) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/jetpack-io/devbox-install-action/releases)
- [Commits](https://github.com/jetpack-io/devbox-install-action/compare/4a7f1d5332cc72057d5e8080edebfcdf652e642e...2aca099641c8564f8a841de48cd51107e6a24588)

---
updated-dependencies:
- dependency-name: jetpack-io/devbox-install-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>
2024-04-15 03:11:00 +00:00
Hugo Shaka 607d2e4cbf Fix path filtering in unit (integrations) CI (#40488)
* fix broken path filtering in workflow

* go mod tidy
2024-04-11 20:46:04 +00:00
Zac Bergquist 4af2d10296 ci: remove more bypass workflows (#40336)
Remove bypass workflows for os-compatibility-test, unit-tests-helm,
and unit-test-rust jobs.
2024-04-10 22:59:26 +00:00
Hugo Shaka b5270e12cd remove unused tests (#40429) 2024-04-10 18:15:43 +00:00
Hugo Shaka 7e9ff5acc2 Vendor teleport-event-handler (#40364)
* Vendor event-forwarder plugin

* fix tests + add Makefile + CI

* lint

* Fix broken test

* use a separate go.mod

* ignore event-handler in flaky tests + update go.mod

* go mod tidy
2024-04-10 15:46:14 +00:00
Hugo Shaka d83cfd154c Copy Terraform provider from teleport-plugins repo (#40224)
* copy terraform provider

* Make dependecy checker happy + use go 1.22

* Run terraform tests in the CI, add Makefile target

* go mod tidy
2024-04-10 05:11:58 +00:00
Gavin Frazar 54d2e903d5 add RDS MariaDB e2e tests (#40066)
* add AWS RDS MariaDB e2e tests

* fix spurious teardown error logs

* if a role or user doesn't exist, that is not an error nor is it worth
  logging during auto user teardown.

* check for admin option

* add some extra secret fetching checkings

* only drop redshift user if the user exists
2024-04-08 21:46:17 +00:00
dependabot[bot] 6638a56f28 Bump bufbuild/buf-setup-action in /.github/workflows (#40275)
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.30.0 to 1.30.1.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/517ee23296d5caf38df31c21945e6a54bbc8a89f...9990c72db080fa39cf561230b8d2d7b736681f85)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-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>
2024-04-08 11:59:49 +00:00
Isaiah Becker-Mayer af99951afa Refactors rust lint out into its own job which runs on a bare GH runner (#40146)
* Refactors rust lint out into its own job which runs on a bare GH runner

Also adds -s to silence all make commands in workflows which are used as
some form of output in the workflow script. This is to prevent the
workflow from failing due to noise from the make command (such as when
make tells you it's entering a directory, etc).

Also updates to latest e-ref

* Removes `--no-print-directory` where `make` output is used as a variable
replaceing it with `-s` instead. `-s` is a universal POSIX standard and
makes sense in all such cases.

https://www.gnu.org/software/automake/manual/html_node/Tricks-For-Silencing-Make.html

* aligning e with master

* aligning e with master

* aligning e with master
2024-04-05 23:23:47 +00:00
dependabot[bot] 5eb5ca91e4 Bump bufbuild/buf-lint-action from 1.1.0 to 1.1.1 in /.github/workflows (#40082)
Bumps [bufbuild/buf-lint-action](https://github.com/bufbuild/buf-lint-action) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/bufbuild/buf-lint-action/releases)
- [Commits](https://github.com/bufbuild/buf-lint-action/compare/044d13acb1f155179c606aaa2e53aea304d22058...06f9dd823d873146471cfaaf108a993fe00e5325)

---
updated-dependencies:
- dependency-name: bufbuild/buf-lint-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>
2024-04-03 06:47:38 +00:00
Gavin Frazar 2ec63c886d update AWS RDS db e2e tests (#40065)
* update AWS RDS db e2e tests

* update GHA workflow env vars to be RDS specific
* add auto db user provisioning tests
* provision any db users needed in test code as setup, instead of
  relying on the cloud-terraform repo provisioning them

* fix data race

* rename myDBName to mysqlDBName

* fix flakiness on first run

* remove db_users for auto user roles

* test role assignments in postgres

* reuse rand string util

* test role assignments in mysql

* rearrange subtests to clearly outline dependencies

* verify AWS CA when provisioning

* fix imports
2024-04-02 17:56:31 +00:00
Isaiah Becker-Mayer 9df55248bb Updates RUST_VERSION and bumps IronRDP rev to latest, adding RUST_MIN_STACK to fix ARM builds (#39895)
* Updates RUST_VERSION and IronRDP rev to latest, adds RUST_MIN_STACK to fix ARM builds

* Adds asn1-rs, asn1-rs-derive, asn1-rs-impl, and der-parser to the allow-dependencies-licenses. This is required because their crates do not currently have valid SPDX licenses, see https://github.com/gravitational/teleport/actions/runs/8453649354/job/23156810330?pr=39895
2024-03-28 18:11:17 +00:00
dependabot[bot] 9677c7c8d2 Bump bufbuild/buf-breaking-action in /.github/workflows (#39779)
Bumps [bufbuild/buf-breaking-action](https://github.com/bufbuild/buf-breaking-action) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/bufbuild/buf-breaking-action/releases)
- [Commits](https://github.com/bufbuild/buf-breaking-action/compare/a074e988ee34efcd4927079e79c611f428354c01...c57b3d842a5c3f3b454756ef65305a50a587c5ba)

---
updated-dependencies:
- dependency-name: bufbuild/buf-breaking-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>
2024-03-25 23:56:03 +00:00
dependabot[bot] ddcbf986e7 Bump docker/setup-buildx-action in /.github/workflows (#39751)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/0d103c3126aa41d772a8362f6aa67afac040f80c...2b51285047da1547ffb1b2203d8be4c0af6b1f20)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-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>
2024-03-25 23:55:35 +00:00
dependabot[bot] d833898a57 Bump docker/login-action from 3.0.0 to 3.1.0 in /.github/workflows (#39511)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/343f7c4344506bcbf9b4de18042ae17996df046d...e92390c5fb421da1463c202d546fed0ec5c39f20)

---
updated-dependencies:
- dependency-name: docker/login-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>
2024-03-22 13:17:00 +00:00
dependabot[bot] d7c8ea7e5e Bump docker/build-push-action from 5.1.0 to 5.3.0 in /.github/workflows (#39512)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/4a13e500e55cf31b7a5d59a38ab2040ab0f42f56...2cdde995de11925a030ce8070c3d77a52ffcf1c0)

---
updated-dependencies:
- dependency-name: docker/build-push-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>
2024-03-22 03:04:29 +00:00
Grzegorz Zdunek 3140ad8014 Update Node.js, Electron and node-pty (#39296)
* Update Node.js to 20.11.1

* Update Electron to 29.1.1

* Update node-pty to 1.1.0-beta12

* Remove commands for building native deps manually

* Remove file skipping in electron-builder that seems to do nothing

* Regenerate `devbox.lock` using the same Devbox version as the CI (0.9.0)

* Update `devbox` to `0.9.1`

* Update `README.md`

* Update electron to 29.1.4

* Update devbox checksum

* Remove mention of Node.js version in teleterm/README.md
2024-03-19 15:11:47 +00:00
dependabot[bot] 4c01df4b94 Bump bufbuild/buf-setup-action in /.github/workflows (#39207)
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/88db93f5d74ffa329bb43e42aa95cd822697d214...517ee23296d5caf38df31c21945e6a54bbc8a89f)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-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>
2024-03-18 13:24:39 +00:00
Brian Joerger 6cd713f667 Fix ssh -X -oControlMaster to agentless nodes. (#38779)
* Fix X11 forwarding with OpenSSH option control master when connecting through the Proxy ssh forwarding service.

* Add X11Forwarding integration test with ControlMaster subtest.

* Refactor forwarding server to always forward x11 channel requests.

* Address comments.

* Fix x11 forwarding integration tests.
2024-03-12 17:45:54 +00:00
Michael Wilsonandrosstimothy dec1524de5 Add CompareResources support for custom equals functions. (#38981)
* Add reconciler support for custom equals functions functions.

The `cmp` functions are not performant. The reconciler will now support an
IsEqual function if it is defined, and will use it if a resource has one.
Additionally, one has been added for Okta assignments and dependent objects.

* Use goderive instead of hand rolling this, move things into CompareResources.

* Correct error comment in make derive-up-to-date.

* GCI.

* Equivalence against the interface instead of the object directly.

* Apply suggestions from code review

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

---------

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2024-03-07 02:02:11 +00:00
Cam Hutchison 0bdb62aa7f build: Remove docker builder from building buildboxes (#38952)
Do not specify the docker builder via `--builder` when using `docker
buildx`, as the method of determine the builder name is flawed and is
having local developer impact. The original reason for adding it was to
fix the CI build of the FIPS buildbox as building the FIPS buildbox
requires using the local docker image cache which is only available with
the `docker` builder.

Instead unify the centos7 and centos7-fips Dockerfiles and use
`--target` to select which bit to build up to for the `buildbox-centos7`
and `buildbox-centos7-fips` targets. As as multi-stage build, the
`docker-container` driver now does see the base buildbox and builds a
correct buildbox when not pushing to the registry (as occurs at the
start of tag builds). This is the recommended method in the Docker
documentation, with a more complex alternative being "bake files". They
are more appropriate when the separate image builds are rather separate.
In our case, the two are closely related and work well with the simpler
multi-stage build approach.

This approach should work for any of the docker builders used and allows
developers to select whichever builder works for them, while on CI we
will continue to use the `docker` default builder.

Remove the `PULL_ON_CI` logic as that is not needed because of the use
of `--cache-from` and `-cache-to` used for all buildboxes.

Use a `make` trick in `build.assets/arch.mk` to only run `go env GOARCH`
once max, or not at all if not needed, and use `GOTOOLCHAIN=local` so we
don't update the go toolchain unnecessarily. The GitHub Actions runner
has an older version of Go than we specify in our `go.mod` so every time
`make` ran on a fresh runner, it would download go1.22.0 even though it
was not needed.
2024-03-05 19:56:37 +00:00
dependabot[bot] 685753301f Bump docker/setup-buildx-action in /.github/workflows (#38936)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/f95db51fddba0c2d1ec667646a06c2ce06100226...0d103c3126aa41d772a8362f6aa67afac040f80c)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-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>
2024-03-05 17:16:27 +00:00
dependabot[bot] af12443fcd Bump dorny/paths-filter from 3.0.1 to 3.0.2 in /.github/workflows (#38935)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/ebc4d7e9ebcb0b1eb21480bb8f43113e996ac77a...de90cc6fb38fc0963ad72b210f1f284cd68cea36)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  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>
2024-03-05 17:16:14 +00:00
Paul Gottschling 5796a596ce Limit the scope docs linting (#38361)
- **Don't run vale linters on the changelog:** The changelog has
  different requirements than other docs pages. For example, we can
  publish releases after changing product language, meaning that
  language that applied at one release doesn't apply at another release.
  This causes friction when, say, using the vale linter to check product
  language.
- **Restrict the vale linter to changed lines, not whole files:** This
  makes following vale style rules less onerous for docs authors.
2024-02-20 15:41:39 +00:00
Alan Parra 146d3194f7 chore: Bump golangci-lint to v1.56.2 (#38404)
* Use linter versions from versions.mk

* chore: Bump golangci-lint to v1.56.2

Update to the latest patch.

* https://github.com/golangci/golangci-lint/releases/tag/v1.56.2

* cd build.assets/

* Ignore RDP false positives
2024-02-20 13:23:48 +00:00
dependabot[bot] c689c5389a Bump helm/kind-action from 1.8.0 to 1.9.0 in /.github/workflows (#38270)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/dda0770415bac9fc20092cacbc54aa298604d140...99576bfa6ddf9a8e612d83b513da5a75875caced)

---
updated-dependencies:
- dependency-name: helm/kind-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>
2024-02-16 22:47:23 +00:00
dependabot[bot] 6387e1b805 Bump dorny/paths-filter from 3.0.0 to 3.0.1 in /.github/workflows (#38271)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/0bc4621a3135347011ad047f9ecf449bf72ce2bd...ebc4d7e9ebcb0b1eb21480bb8f43113e996ac77a)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  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>
2024-02-15 19:25:15 +00:00
dependabot[bot] 9daf66e248 Bump golangci/golangci-lint-action in /.github/workflows (#38057)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/3a919529898de77ec3da873e3063ca4b10e7f5cc...3cfe3a4abbb849e10058ce4af15d205b6da42804)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-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>
2024-02-14 18:20:50 +00:00
dependabot[bot] 4d66ddb700 Bump aws-actions/configure-aws-credentials in /.github/workflows (#38058)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.0.1 to 4.0.2.
- [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/010d0da01d0b5a38af31e9c3470dbfdabdecca3a...e3dd6a429d7300a6a4c196c26e071d42e0343502)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  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>
2024-02-14 00:56:23 +00:00
Paul Gottschling c1462baafb Add linters for consistent docs product language (#37449)
* Add linters for consistent docs product language

Closes #19214

Maintaining a consistent language for talking about Teleport products is
important for ensuring clarity in the documentation. This change adds
rules to our Vale linting config for docs to help maintain a consistent
product language:

- **Teleport account URL examples:** Require `example.teleport.sh`
  unless the text is mentioning the status page.
- **Service names:** Require these to be capitalized.
- **Enforce consistency in other areas where we often get
  discrepancies:** e.g., "Auth Service instances" instead of "auth
  servers".

This change also renames the `messaging` style rule to
`consistent-terms` so we don't have a `messaging.messaging` rule.

Note that these linters overlap with similar ones that we run from the
`gravitational/docs` repo. The plan is to remove the latter once we
merge the linters here.

* Respond to zmb3 feedback
2024-02-13 19:32:53 +00:00
Isaiah Becker-Mayer 74f04e324c Use buildx docker driver, add --cache-to type=inline (#37559)
* Use buildx's `docker` driver for buildbox-oriented GHA jobs

setup-buildx-action uses the docker-container buildx driver by default,
which is useful for advanced buildx features like customizing buildkit,
doing multi-arch builds, and advanced cache import/export (particularly
as it pertains to multi-arch builds).

However, we're not using these features in our buildbox-oriented GHA
jobs, and in fact the `docker-container` driver is not well suited for
our `buildbox-centos7-fips` Make target, which relies on "old school"
(`docker` driver) behavior that expects to find an updated version of
the image built by `buildbox-centos7` (`Dockerfile-centos7`) to pass as
the FROM argument to the `buildbox-centos7-fips`.
(`Dockerfile-centos7-fips`). Since the `docker-container` driver runs
each build in a separate container, the `buildbox-centos7-fips` build
can't see the updated image built by `buildbox-centos7`, and so resorts
to the stale image in the remote docker repository.

We could restructure our docker buildx commands to work around this, but
that would result in a much more complicated, distributed build process
that would potentially increase cloud spend, for marginal benefit to the
status quo at best. Instead we can just use the `docker` driver for our
buildbox-oriented GHA to keep things simple, and only update to the
`docker-container` driver when we need to use its advanced features.

Refs:
- https://github.com/docker/setup-buildx-action
- https://docs.docker.com/build/drivers/

* Adds `BUILDKIT_INLINE_CACHE=1` to `buildx build` commands that use `--cache-from`.
The `--cache-from` flag is used to specify a cache source. This "cache" is
a special buildx cache that improves on the traditional docker layer-based cache.
While there are advanced options for exporting/importing this advanced cache separately
from the image (layer-based cache), the simplest way to make use of it is to just
embed the advanced cache inline in the image itself. This is what this BUILDKIT_INLINE_CACHE=1
does.

* Release v16.0.0-dev.isaiah.18

* swaps --build-arg BUILDKIT_INLINE_CACHE=1 for --cache-to type=inline

* adds DOCKER_BUILDER_NAME

* Revert "Release v16.0.0-dev.isaiah.18"

This reverts commit 6107dae6d8.

* simplify DOCKER_BUILDER_NAME

* clarify comment wording

* updating e-ref to latest
2024-02-09 21:57:58 +00:00
Alan Parra c996c52a4a chore: Update workflow images to teleport16 (#37994) 2024-02-09 17:07:59 +00:00
Walt e5caac3682 Switch errata-ai/vale-action to a tag instead of a branch (#37966)
Referencing a tag is the GHA standard, and it also gives us a semblance
of changelogs when we need to review updates.
2024-02-09 05:32:41 +00:00
Alan Parra 285260c308 chore: Bump golangci-lint to v1.56.1 (#37964)
Update to the latest patch.

* https://github.com/golangci/golangci-lint/releases/tag/v1.56.1
2024-02-09 02:48:29 +00:00
Alan Parra 22b371f869 chore: Bump golangci-lint to v1.56.0 (#37854)
* chore: Bump golangci-lint to v1.56.0

* Use only enable linters for testifylint

* Fix various testifylint offenders

* Fix testifylint offenders in api/
2024-02-07 19:54:00 +00:00
Rafał Cieślak be0b69dfcb Ensure yarn.lock is up to date, run workflows on relevant changes in root dir (#37579)
* Ensure yarn.lock is up to date

* Run lint and test workflows on relevant changes in root dir
2024-02-06 09:44:58 +00:00
14b990560c Bump jetpack-io/devbox-install-action from 0.6.1 to 0.8.0 (#37761)
* Bump jetpack-io/devbox-install-action from 0.6.1 to 0.8.0

Bumps [jetpack-io/devbox-install-action](https://github.com/jetpack-io/devbox-install-action) from 0.6.1 to 0.8.0.
- [Release notes](https://github.com/jetpack-io/devbox-install-action/releases)
- [Commits](https://github.com/jetpack-io/devbox-install-action/compare/a0bd99f5de03156cc900bbbeb830f07d3d39aab0...4a7f1d5332cc72057d5e8080edebfcdf652e642e)

---
updated-dependencies:
- dependency-name: jetpack-io/devbox-install-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

* Update .github/workflows/check-devbox.yaml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Walt <walt@goteleport.com>
Co-authored-by: Michael Wilson <mike@mdwn.dev>
2024-02-06 00:53:16 +00:00
Tiago Silva 45aff95026 Revert "Temporarily disable AWS Database E2E tests (#37749)" (#37774)
This reverts commit 5e5bbf54e8.
2024-02-05 22:45:14 +00:00
dependabot[bot] e70dbb828d Bump dorny/paths-filter from 2.11.1 to 3.0.0 (#37441)
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 2.11.1 to 3.0.0.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/4512585405083f25c027a35db413c2b3b9006d50...0bc4621a3135347011ad047f9ecf449bf72ce2bd)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  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>
2024-02-05 22:34:10 +00:00
Walt 1fccf273dd Run check-devbox on dependabot PRs (#37765)
This workflow is already narrowly scoped to only the relevant files.  We
*want* to check that dependabot doesn't break anything if it updates these
files.
2024-02-05 20:21:37 +00:00
dependabot[bot] a1dcf41088 Bump docker/metadata-action from 5.5.0 to 5.5.1 (#37625)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/dbef88086f6cef02e264edb7dbf63250c17cef6c...8e5442c4ef9f78752691e2d8f8d19755c6f78e81)

---
updated-dependencies:
- dependency-name: docker/metadata-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>
2024-02-05 16:49:15 +00:00
Tiago Silva 5e5bbf54e8 Temporarily disable AWS Database E2E tests (#37749)
This commit temporarily disables the AWS Database E2E tests because the
infrastructure isn't available at the moment.

This will unblock any merges to [`master`, `branch/v15`, `branch/v14`]
since this is a required step.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2024-02-05 14:35:26 +00:00