Skip to content

[installer-tests] Add annotations to Cron job files #12380

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

Merged
merged 2 commits into from
Sep 1, 2022
Merged

Conversation

nandajavarma
Copy link
Contributor

Description

The main goal of this PR is to remove the extra unnecessary file self-hosted-installer-tests.yaml. When running tests since they get the name of the cron file involved, running 4 environment tests as 4 different files, we can see 4 different job status during the upgrade test. This will be super useful for visibility and job status tracking.

Along with this I am pushing in two small changes, parameterization of two values, the domain name and the KOTS app name. Currently this is still hardcoded in several places, but this makes it easier to test during development considering we have limited certificates for gitpod-self-hosted.com. With this change, one can change the domain in the files: .werft/installer-tests.tf, install/tests/Makefile and install/tests/main.tf to use a domain like doptig.com. This will be made easily configurable in the future.

Related Issue(s)

Fixes #

How to test

One can try running any of the following:

werft run github -j .werft/gke-installer-tests.yaml -a skipTests=true -a deps=external
werft run github -j .werft/k3s-installer-tests.yaml -a skipTests=true -a deps=external
etc...

Release Notes

NONE

Documentation

Werft options:

  • /werft with-preview

@nandajavarma nandajavarma requested a review from a team August 25, 2022 11:03
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Aug 25, 2022
@adrienthebo adrienthebo changed the base branch from main to nvn/integ-flag August 25, 2022 13:56
@nandajavarma nandajavarma changed the base branch from nvn/integ-flag to main August 26, 2022 09:55
@nandajavarma nandajavarma changed the base branch from main to nvn/fix-gcp-db August 26, 2022 10:01
@nandajavarma nandajavarma force-pushed the nvn/fix-gcp-db branch 3 times, most recently from bd2bb6d to cade635 Compare August 26, 2022 19:13
Copy link
Contributor

@mrsimonemms mrsimonemms left a comment

Choose a reason for hiding this comment

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

I've got some tests running in Werft - k3s, EKS, Azure, GKE

Base automatically changed from nvn/fix-gcp-db to main September 1, 2022 06:52
@roboquat roboquat merged commit 1ff36d1 into main Sep 1, 2022
@roboquat roboquat deleted the nvn/fix-cron-files branch September 1, 2022 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none size/XL team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants