Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] ci-mgmt onboarding #1474

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open

[WIP] ci-mgmt onboarding #1474

wants to merge 47 commits into from

Conversation

blampe
Copy link
Contributor

@blampe blampe commented Nov 6, 2024

Notes

Template drops the following options because they can be overridden by makefile targets:

  • setup script
  • pretests
  • generate_coverage_data (replaced with codecov)
  • extra tests
  • ssh private key
  • gotestfmt
  • p/examples tests

Example tests are all sharded together without language distinction.

To do:

  • make test_nodejs_upgrade
  • free disk space needed?
  • shard test_nodejs (15)
  • shard test_python (6) + go + dotnet
  • install kubectl

Copy link

github-actions bot commented Nov 6, 2024

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

Copy link

codecov bot commented Nov 6, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

AWS_PROFILE has less precedence than ambient credentials:

Credentials from environment variables have precedence over
credentials from the shared credentials and AWS CLI config file.
Credentials specified in the shared credentials file have precedence
over credentials in the AWS CLI config file. If AWS_PROFILE environment
variable is set and the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
environment variables are set, then the credentials provided by
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY will override the
credentials located in the profile provided by AWS_PROFILE.

https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#id1
blampe added a commit that referenced this pull request Nov 14, 2024
This consolidates integration tests (currently located in `./examples`
and `./provider`) under `./tests`.

This is prep work for #1474,
and the net result is a clearer distinction between "fast" and "slow"
tests meant to be run during the "prerequisites" and "tests" steps in
CI. Everything under `./provider` can be considered "fast" and
everything under `./tests` can be considered "slow" and worthy of
sharding.

Specifically:
* Everything under `./examples/tests` is moved to
`./tests/testdata/programs` as these were assumed to not be user-facing.
* Upgrade tests under `./provider` are also moved to `./tests` but
tagged in a way that they continue to run as their own job. (These are
the new `upgrade_test.go` and `validation_test.go` files.)
* `examples/utils/utils.go` moves to `tests/internal/utils`.
* `TestEksAuthModeUpgrade` wasn't re-enabled as part of #1387, so I
re-enabled and re-recorded it.
* `go.mod` is consolidated at the repo root to keep dependencies
consistent across the provider and tests. (There are a ton of additional
DX advantages to structuring things this way.) This project is not meant
to be consumed as a library so this is an acceptable breaking change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant