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

Switch test environments to cfd bosh lites [main] #3262

Merged
merged 29 commits into from
Oct 28, 2024

Conversation

a-b
Copy link
Member

@a-b a-b commented Oct 24, 2024

Description of the Change

We are changing the test environments used for integration tests and cats to warden-based BOSH lite envs.

Why Is This PR Valuable?

This will optimize test runtime

@a-b a-b changed the title Switch test environments to cfd bosh lites Switch test environments to cfd bosh lites [main] Oct 24, 2024
a-b and others added 25 commits October 25, 2024 09:15
Since on bosh-lite the jobs run within non-privileged garden containers they do not have permission to set kernel parameters on the host.
Signed-off-by: João Pereira <[email protected]>
Copy link
Contributor

@joaopapereira joaopapereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work moving the tests to start using bosh-lites 😄
I added some comments that are just small nits.

.github/workflows/tests-integration-reusable.yml Outdated Show resolved Hide resolved
.github/workflows/tests-integration.yml Outdated Show resolved Hide resolved
.github/workflows/tests-integration.yml Show resolved Hide resolved
.github/workflows/tests-integration.yml Show resolved Hide resolved
Co-authored-by: João Pereira <[email protected]>
@a-b a-b merged commit 13e0c82 into cloudfoundry:main Oct 28, 2024
12 of 13 checks passed
a-b added a commit to a-b/cli that referenced this pull request Oct 28, 2024
* Switch environment to cfd-bosh-lite
* Turn off set_kernel_parameters to use cfd-bosh-lite
* Expose shepherd configuration via repo variables
* Update secrets path to bosh-lite
* Expose TEST_FLAKE_ATTEMPTS and TEST_NODES
* Set default FLAKE_ATTEMPTS
* Bump gha test suit timeout from 60 to 120m
* Enter nodes as workflow_dispatch input
* Skip steps if SHEPHERD_LEASE_ID defined
* Skip scaling tests that are testing CAPI
* bosh-light environment default memory is 256Mb
* Fixed the issue with force update of bosh
* Delete created orgs during tests
* Ensure that the orgName is empty for each test
* Prevent double deletion of org
* Lower number of tests running using client credentials to avoid flakes
* Allow user to define namespace of the leased environment
* Pass namespace of the lease to the reusable workflow

Co-authored-by: João Pereira <[email protected]>
nicolasbender pushed a commit to sap-contributions/cli that referenced this pull request Nov 5, 2024
* Switch environment to cfd-bosh-lite
* Turn off set_kernel_parameters to use cfd-bosh-lite
* Expose shepherd configuration via repo variables
* Update secrets path to bosh-lite
* Expose TEST_FLAKE_ATTEMPTS and TEST_NODES
* Set default FLAKE_ATTEMPTS
* Bump gha test suit timeout from 60 to 120m
* Enter nodes as workflow_dispatch input
* Skip steps if SHEPHERD_LEASE_ID defined
* Skip scaling tests that are testing CAPI
* bosh-light environment default memory is 256Mb
* Fixed the issue with force update of bosh
* Delete created orgs during tests
* Ensure that the orgName is empty for each test
* Prevent double deletion of org
* Lower number of tests running using client credentials to avoid flakes
* Allow user to define namespace of the leased environment
* Pass namespace of the lease to the reusable workflow

Co-authored-by: João Pereira <[email protected]>
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.

2 participants