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

Ensure namespace override consistency #9888

Merged
merged 12 commits into from
Aug 14, 2024
Merged

Conversation

jbohanon
Copy link
Contributor

@jbohanon jbohanon commented Aug 12, 2024

Description

Namespace pollution

Currently we have some tests which rely on programmatically setting the INSTALL_NAMESPACE env var. This was introduced to be able to expand that var into various resource manifests for edge routing resources. The application of this logic was introduced inconsistently across all of the different test installation suites we currently run, and was causing flakes due to ordering if not cleaned up properly. This PR applies the same logic to all test installation suites (except upgrade which is a special case) and makes sure we clean up after ourselves if we set the env var.

Test utils unit tests

Test utils unit tests at test/kubernetes/testutils/helper have been migrated to run on a GHA in lieu of in cloudbuild since they require an authorized github token. This is to unblock community PRs coming in from forks of the repo.

Nightlies timeout update

We recently hit a failure in our nightly tests due to a GHA timeout. In this PR we bump the timeout to 120 minutes for the go test command and 150 minutes for the overall action.

@github-actions github-actions bot added keep pr updated signals bulldozer to keep pr up to date with base branch work in progress signals bulldozer to keep pr open (don't auto-merge) labels Aug 12, 2024
Copy link

github-actions bot commented Aug 12, 2024

Visit the preview URL for this PR (updated for commit 0db052b):

https://gloo-edge--pr9888-jbohanon-test-summar-o7b8iq9q.web.app

(expires Wed, 21 Aug 2024 15:25:40 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

@jbohanon jbohanon changed the title Add umbrella test for summaries, namespace consistency Add umbrella test for summaries, ensure namespace override consistency Aug 13, 2024
@jbohanon
Copy link
Contributor Author

Nightly action kicked off here to test https://github.com/solo-io/gloo/actions/runs/10376999685

@jbohanon jbohanon changed the title Add umbrella test for summaries, ensure namespace override consistency Ensure namespace override consistency Aug 14, 2024
@jbohanon jbohanon removed the work in progress signals bulldozer to keep pr open (don't auto-merge) label Aug 14, 2024
@soloio-bulldozer soloio-bulldozer bot merged commit ba91acc into main Aug 14, 2024
18 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the jbohanon/test-summaries branch August 14, 2024 16:25
jbohanon added a commit that referenced this pull request Aug 15, 2024
* update to test structure

* add consistency to namespace handling in test setup

* remove ref to env pkg

* move kuberentes e2e test util tests to gha unit tests

* update timeout for nightlies

* add check to action for tests all being run under TestGlooGateway

* add namespace code to example test

* fix regex

* remove summaries change

* update changelog

---------

Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
soloio-bulldozer bot added a commit that referenced this pull request Aug 15, 2024
* Ensure namespace override consistency (#9888)

* update to test structure

* add consistency to namespace handling in test setup

* remove ref to env pkg

* move kuberentes e2e test util tests to gha unit tests

* update timeout for nightlies

* add check to action for tests all being run under TestGlooGateway

* add namespace code to example test

* fix regex

* remove summaries change

* update changelog

---------

Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>

* bring util test over

* make IsEnvTruthy use IsTruthyValue

---------

Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep pr updated signals bulldozer to keep pr up to date with base branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants