Commit graph

287 commits

Author SHA1 Message Date
Jakub Nyckowski 141e806e69
Report failures if Windows build fails (#28349) 2023-07-07 23:58:50 +00:00
Alan Parra 02a5f11127
Make dependabot ignore go-tpm updates (#28691) 2023-07-05 17:39:03 +00:00
Rafał Cieślak 8833ac247b
Update Connect's test plan (#25059)
* Update gateway cert renewal item

* Remove items related to the command bar

* Add items for search bar
2023-06-20 08:33:43 +00:00
Justinas Stankevičius ec6295b3cf
Compile binaries for access plugin tests (#27819)
* Compile binaries for access plugin tests

* Fix PD test asserts for newer Teleport versions

* Unpin role from V6 in access plugin tests

* Remove license from OSS plugins tests

We now run tests against OSS Teleport in the OSS repo,
and against Enterprise Teleport in the E repo.
So the assumption that CI always needs an enterprise license
is incorrect.

* Only compile the required binaries
2023-06-19 12:36:34 +00:00
Michael Wilson cb84fbf564
Make devbox sandbox friendly, add devbox CI. (#27728)
* Make devbox sandbox friendly, add devbox CI.

The devbox is now sandbox friendly, and devbox CI has been added to ensure
that any changes to Devbox are properly validated.

* Install correct binary name for node protoc plugin.

* Add in zlib to support LIBFIDO compilation.
2023-06-14 20:58:45 +00:00
rosstimothy ea5612df30
Set Renovate PR limit to 10 (#27549)
The default PR limit of 3 would prevent getting a PR per grouping
when the workflow is run weekly. Since there are only 8 groupings
we can ensure that any updates in any of them will result in a PR
when the workflow is run. The hourly PR limit is now also set to
unlimited(default was 2) to allow all PRs to be created.
2023-06-07 22:09:24 +00:00
Mike Jensen 5bdd8fe2ec
Upgrade mongodb to v1.11.7 (#27429)
* Upgrade mongodb to v1.11.6

Includes some minor code changes around how the mongodb topology is configured.
This drops support for MongoDB prior to version 3.6.  For that reason unit tests don't currently pass.

* access_test: Update MongoDB supported wire versions

Removes support for MongoDB prior to version 3.6

* Fixes after rebase (more needed changes for auth implementation)

* Upgrade mongo to just release 1.11.7 tag
2023-06-07 15:03:52 +00:00
public-renovate-gha[bot] baa722233d
Configure Renovate (#27410)
* Add renovate.json

* move renovate.json

* add renovate workflow

* update subset of dependencies for now

* sort ignores alphabetically

* fix: add ignored dependencies for Teleport Go deps

* sort ignored deps

* fix: use excludePackageNames instead of exludeDepNames

* disable certain packages

* ignoring replaced dependencies

* remove on pull request from workflow

---------

Co-authored-by: public-renovate-gha[bot] <135069952+public-renovate-gha[bot]@users.noreply.github.com>
Co-authored-by: Tim Ross <tim.ross@goteleport.com>
2023-06-07 13:52:11 +00:00
Steven Martin 76a1277442
include changelog for docs tests (#27449)
* include changelog for docs tests

* correct capitalization for file type

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* include CHANGELOG.md as ignored in bypass

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-06-06 16:36:28 +00:00
Paul Gottschling 491bb0ab7c
Edit the docs test plan (#27200)
* Edit the docs test plan

Add an item to remove version warnings for versions we no longer
support. Currently, we remove these version warnings as we encounter
them. This change makes this task a regular, predictable step when
releasing a new major Teleport version.

* Respond to stevenGravy feedback
2023-06-05 17:40:44 +00:00
Jakub Nyckowski e2f8b53e87
Disable GHA cache (#27305)
GHA cache seems to be problematic and store/restore operations seems to take more time than the build itself.
2023-06-02 21:09:13 +00:00
Mike Jensen bab1a5d54b
Build change for when go caching should be used (#27209)
* Build change for when go caching should be used

This commit does the following:
* Updates all `setup-go` actions to use v4 (which has caching enabled by default)
* For `shared-workflow` jobs caching is left enabled due to the presumed small size
* For `teleport` jobs caching is now disabled due to the size exceeding the cache limit

This should make all of the mentioned jobs a little faster.

* Update build-api.yaml to re-enable caching
2023-06-02 15:42:56 +00:00
Jakub Nyckowski d3848c2cbd
Update Docker images to use v14 (#27189)
After the new Docker images have been published https://github.com/gravitational/teleport/pull/27055 this PR makes use of them in GHA.
2023-06-01 19:47:51 +00:00
Krzysztof Skrzętnicki d7627b5019
flaky test detector: pass --skip flag in all jobs, skip new tests (#27145)
* Use `--skip` flag in all difftest invocations.

* make `difftest` respect the `--skip` flag for new tests.
2023-06-01 06:54:02 +00:00
Edoardo Spadolini 0975df744d
Add buf breaking to the CI linter (#26828)
* Add `buf breaking` to the CI linter

* Add Makefile target for local development
2023-05-30 20:19:12 +00:00
Grzegorz Zdunek 90803a1f45
Add missing dependabot.yml ignore entries (#27019) 2023-05-29 08:16:07 +00:00
Alan Parra 760ea60c52
Assign module experts in Dependabot reviews (#27023) 2023-05-26 17:50:28 +00:00
Mike Jensen 61448c9f0c
Update Dependabot Scheduled Config (#26867)
* Update Dependabot Scheduled Config

Update Dependabot with the following:
* Add `jentfoo` to reviewers list
* Remove `crypto` ignore on `api` (no longer using forked version)
* Add configurations for missing gomod paths

* Update .github/dependabot.yml

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

* Remove `examples` from Dependabot

---------

Co-authored-by: Alan Parra <alan.parra@goteleport.com>
2023-05-25 20:27:12 +00:00
Zac Bergquist fffa7c275c
ci: build tctl in the build-windows job (#26865)
We don't officially support tctl on Windows yet, but it does now build
and we want to ensure it stays that way.
2023-05-25 17:28:23 +00:00
Tiago Silva 5c37f8b1d7
Upgrade K8S related dependencies to v0.27.2 (#25136) 2023-05-23 15:03:27 +00:00
Paul Gottschling ad4205610e
Edit the docs issue template (#26607)
- Add an item to define a scope for resolving the issue to avoid scope
  creep and make it easier to close issues.
- Make a stronger plea for "Related Issues" items, since these are often
  not included.
2023-05-22 21:06:05 +00:00
Zac Bergquist d6f2a52155
flaky test detector: add exclusion step (#26542)
Depends on gravitational/shared-workflows#115
2023-05-19 22:47:22 +00:00
Grzegorz Zdunek 9d05287cc9
Update kingpin & allow autocompletion (#26238)
* Update kingpin version

* Convert `defaultUsageTemplate` to "text/template"

* Add // replaced

* Sort deps

* Change kingpin v2.3.1 to v2.3.2

* Add missing indirect dep

* Update go.sum

* Delete kingpin_deleteme.go
2023-05-19 07:10:53 +00:00
Gavin Frazar 401ce30a46
skip rdpclient build in integration tests (#26492)
* add RDPCLIENT_SKIP_BUILD opt to makefile

* skip rdpclient build in go integration tests
2023-05-18 18:00:06 +00:00
Tiago Silva da8e894cdb
Add proxy peering to test plan (#26440)
Test plan misses testing access when using proxy peering. Nothing should
differ from normal reverse tunnel access but it makes some assumptions
that differ from the reverse tunnel.
2023-05-18 10:56:42 +00:00
Steven Martin 740262573d
bypass os-compatibility-test-bypass for md and mdx files (#26450)
* bypass os-compatibility-test-bypass for md and mdx files

* include ignore md and mdx files
2023-05-17 21:14:04 +00:00
Steven Martin 6d0e0f7239
skip md and mdx files for go linting (#26434) 2023-05-17 15:07:56 +00:00
Tiago Silva 537ddcce89
Ignore K8S dependencies until K8S API v0.27.2 is released (#26326)
This PR adds K8S dependencies to the dependendabot ignore list.

We can revert this PR after
https://github.com/gravitational/teleport/pull/25136 merges to master.

`sigs.k8s.io/controller-runtime` is holding the K8S deps update because
it does not support K8S API 0.27.1. `controller-runtime` will release a
new version once `k8s.io/api@v0.27.2` is released.
2023-05-16 12:42:47 +00:00
Mike Jensen 99d56c6bc1
Remove our replacement for Logrus (#26241)
* Remove our replacement for Logrus

Recently I attempted to update our Logrus fork.  However this comment pointed out that our changes have been merged upstream: https://github.com/gravitational/logrus/pull/12#issuecomment-1515303744

For that reason this removes the dependency on the fork.

* Remove ignored dependabot dependencies that are no longer replaced
2023-05-15 19:02:53 +00:00
Tiago Silva 32d8d5f489
Restore Kubernetes Integration tests (#25624)
* Restore Kubernetes Integration tests

This PR re-enables the Kubernetes integrations tests using a KinD
(Kubernetes in Docker) cluster.

New steps have been introduced to GitHub's Integrations (Non-Root)
Action that configure the KinD cluster using
[`helm/kind-action`](https://github.com/helm/kind-action) and do some
network configurations allowing the container where tests run to connect
to the KinD control plane.

This PR also fixes some of the tests and fixes a bug that affected
joining operations when the target service was a legacy kubernetes
proxy. Some improvements will be introduced in future patches to improve
the logic and reduce the time required for the tests to run.

Fixes #25539

* fix data race in spdystream dep

* address feedback

* remove docker installation

* fix test
2023-05-12 16:38:16 +00:00
Paul Gottschling 532c74f3e0
Update the docs test plan (#26015)
- Refresh out-of-date URLs for docs pages and `docs/config.json`
- Remove the step to add pages to the `/docs/older-versions` page, since
  we generate this automatically from `gravitational/docs/config.json`,
  and there is already a step to check that file
- Add a step to ensure that git submodule directories match those in
  `.gitmodules`. This prevents unexpected deployment issues.
- Add more clarity to the changelog step
- Add a step to check on the status of documentation for relevant
  features in the release
2023-05-11 18:47:21 +00:00
Andrew Burke bd000daa1f
Add GCP join method (#24493)
This change implements the GCP join method.
2023-05-10 23:56:59 +00:00
Mike Jensen 7e75aeff1d
Add CodeQL Config update requirement to preflight.md docs (#25672)
* Add CodeQL Config update requirement to preflight.md docs

* .github/workflows/codeql.yml: Update branch list to include v13
2023-05-05 15:37:40 +00:00
Paul Gottschling daa8361f60
Use the GHA base container for Lint (Docs) (#25173)
* Use the GHA base container for Lint (Docs)

This way, we can take advantage of the software the comes pre-installed
on the GHA `ubuntu-latest` container image. Otherwise, we need to find a
way to portably install Chromium on the `gravitational/docs` container
in order to run the Mermaid CLI. Currently, the docs engine exits with
an error during the "Lint (Docs)" job when attempting to build mermaid
diagrams due to not being able to locate Chromium.

For this change to work, the "Lint (Docs)" job checks out
`gravitational/docs`, removes the default git submodule configuration,
then adds a git submodule for the current `gravitational/teleport`
branch. From there, it can install dependencies via `yarn` and run our
CI scripts.

* s/GITHUB_HEAD_REF/GITHUB_SHA/

* Base the submodule branch source on the event type
2023-05-05 15:31:49 +00:00
Nic Klaassen c69e7a4f9e
docs: update CloudHSM docs (#25306)
Some edits I made to the CloudHSM docs while going through the v13 test
plan. The biggest change is an update to use the Client SDK 5, instead
of version 3. This has many benefits, you are not required to run a
client daemon, and it works with the kernel in FIPS mode (v3 doesn't).

I also added much more detail to the guide and added code samples where
I could, you should be able to go through this mostly without reading
the AWS docs, I link there for downloads or extra/optional information.
The AWS docs are very hard to follow.
2023-05-02 23:32:57 +00:00
Przemko Robakowski 75df7682e5
Add non-AD tests to test plan (#25266) 2023-04-27 18:49:22 +00:00
Tobiasz Heller 28e7e88f00
Fix dynamo TestEmitAuditEventForLargeEvents (#25256)
* Fix dynamo TestEmitAuditEventForLargeEvents

* extend test plan
2023-04-27 14:11:34 +00:00
Michael Wilson e4960017a8
Add SAML IdP to test plan. (#25150)
The SAML IdP feature has been added to the test plan.
2023-04-25 20:20:25 +00:00
Michael Wilson d115832d0e
Correct add application in test plan. (#24979)
Add Application has been changed to link directly to the documentation,
so the test plan has been updated accordingly.
2023-04-24 13:51:10 +00:00
Anton Miniailo 702efde420
Add IP Pinning section to testplan (#24870) 2023-04-21 13:40:17 +00:00
Alan Parra de8c4af08f
Remove U2F migration testplan instructions (#24923) 2023-04-20 19:52:46 +00:00
Marco André Dinis ec6085e949
Web TestPlan: add Discover wizard (#24808) 2023-04-20 09:07:33 +00:00
Yassine Bounekhla e56ef740ca
move locks section up (#24822) 2023-04-19 17:53:16 +00:00
Gabriel Corado a0e0ec77c0
chore(testplan): add sql server with pkinit and rds proxy (#24661) 2023-04-17 10:04:59 +00:00
STeve (Xin) Huang 0174f95741
TLS Routing behind LB test plan update (#24636) 2023-04-17 09:16:57 +00:00
Marek Smoliński a949c6d4ba
Oracle Testplan update (#24592) 2023-04-14 12:15:57 +00:00
Gavin Frazar 2446a46f1b
update test plan (#24499)
* add cross-account aws access to testplan

* add postgres cancel request to testplan
2023-04-13 21:28:46 +00:00
Nic Klaassen ab8d928794
add Login Rules and HSM to test plan (#24505) 2023-04-13 15:32:28 +00:00
Zac Bergquist 18df826a0d
Rename the web test plan issue template (#24381)
This was copied from the original test plan template, but the
name was never changed. As a result, the GitHub UI shows an
error: "There is a problem with this template"
2023-04-11 17:46:34 +00:00
Steven Martin eb149b7e26
Move docs builds down in GitHub Actions (#24382)
The docs build takes the longest so best to get a failure from the faster steps first (spelling, lint).
2023-04-11 15:20:27 +00:00