add temporary testing setup self-hosted #10536
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.dev-nan
which you published to by using the commentwerft no-preview publish-to-kots
in your PR. You have the license file of your channel locally saved asinstall/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:
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 ofkubeconfig
file. You can find an example of this run: https://werft.gitpod-dev.com/job/gitpod-custom-nvn-tmp-test.6Please copy and paste that to a file in the aforementioned workspace. Run the following commands:
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