Skip to content

add temporary testing setup self-hosted #10536

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

Closed
wants to merge 2 commits into from
Closed

Conversation

nandajavarma
Copy link
Contributor

@nandajavarma nandajavarma commented Jun 8, 2022

Description

This is a very early stage solution. Currently opened as PR to test another PR in self-hosted setup.

To setup an infrastructure, open a workspace from this PR. Make sure you have access to the core-dev cluster in the present workspace.

  • Scenario: You want to test the latest changes in the replicated channel dev-nan which you published to by using the comment werft no-preview publish-to-kots in your PR. You have the license file of your channel locally saved as install/licenses/dev-nan.yaml in your workspace(note that the name of the license file should be same as the channel name, and you don't have to push this change). - If you are testing this PR of mine
    , this step is already done for you. The license file is a part of this PR.

Run the following command:

werft run github -s install/licenses/dev-nan.yaml -j .werft/k3s-installer-tests.yaml -a destroy=false -a channel=dev-nan

Wait for the werft job to finish. You can go to the werft page, you will find a phase called get-results which would have logged the URL in which your preview env is deployed to and the contents of kubeconfig file. You can find an example of this run: https://werft.gitpod-dev.com/job/gitpod-custom-nvn-tmp-test.6

Please copy and paste that to a file in the aforementioned workspace. Run the following commands:

export KUBECONFIG=/path/to/the/new/file
curl https://kots.io/install | bash
kubectl kots -n gitpod admin-console

You will see the running kots UI in port 8800. Password is gitpod.

P. S. your setup will be deleted after two hours of initiation. We are working on a cleaner cleanup policy here.

Related Issue(s)

Fixes #

How to test

Release Notes

Documentation

@nandajavarma nandajavarma requested a review from a team June 8, 2022 13:43
@roboquat
Copy link
Contributor

roboquat commented Jun 8, 2022

@nandajavarma: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@nandajavarma nandajavarma marked this pull request as draft June 8, 2022 13:43
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Jun 8, 2022
@nandajavarma nandajavarma changed the title add temperory testing setup self-hosted add temporary testing setup self-hosted Jun 8, 2022
@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-nvn-tmp-test.3 because the annotations in the pull request description changed
(with .werft/ from main)

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-nvn-tmp-test.5 because the annotations in the pull request description changed
(with .werft/ from main)

@stale
Copy link

stale bot commented Jun 19, 2022

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@nandajavarma nandajavarma deleted the nvn/tmp-test branch June 19, 2022 15:47
@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/release-note-label-needed do-not-merge/work-in-progress meta: stale This issue/PR is stale and will be closed soon size/L team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants