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

feat: [TKC-2623] testkube kind Docker image #5867

Merged
merged 12 commits into from
Oct 2, 2024
Merged

Conversation

vsukhin
Copy link
Collaborator

@vsukhin vsukhin commented Sep 25, 2024

Pull request description

Docker image for running Testkube Agent in Docker (OSS and Cloud)

Checklist (choose whats happened)

  • breaking change! (describe)
  • tested locally
  • tested on cluster
  • added new dependencies
  • updated the docs
  • added a test

Breaking changes

Changes

Fixes

Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
@vsukhin vsukhin changed the title feat: testkube kind Docker image feat: [TKC-2573] testkube kind Docker image Sep 25, 2024
@olensmar
Copy link
Member

olensmar commented Sep 25, 2024

wow! should this be in its own repo? could it be possible to pass env/org/agent ids to connect to a control plane?

@vsukhin
Copy link
Collaborator Author

vsukhin commented Sep 25, 2024

@olensmar yes, just decided to store it somewhere. yes, sure, it's just a few docker args
guess, we can confirm it with devops team @ypoplavs. should it be a private repo?

Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
@vsukhin vsukhin marked this pull request as ready for review September 26, 2024 14:46
@vsukhin vsukhin requested a review from a team as a code owner September 26, 2024 14:46
fi

# Check if cloud url is provided
if [ -z "$CLOUD_URL" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

Isn't that rather ROOT_DOMAIN?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I just followed exsitng agent helm installation command --set testkube-api.cloud.url=agent.testkube.io:443, will ROOT_DOMAI will be clear for user?

log "You can now use Testkube in your Kind Kubernetes cluster."

# Step 10: Bring docker service back to foreground
fg %1
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't it maybe instead stream Agent + Control Plane logs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's just for Agent for now. actually, last part is for demoing purpose, it's not needed for agent work. so user can see that it works. he can always run the shell and check the agent logs

vsukhin and others added 4 commits September 26, 2024 18:08
Co-authored-by: Dawid Rusnak <dawid@drcode.pl>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
@vsukhin vsukhin changed the title feat: [TKC-2573] testkube kind Docker image feat: [TKC-2623] testkube kind Docker image Sep 30, 2024
Signed-off-by: Vladislav Sukhin <vladislav@kubeshop.io>
@vsukhin vsukhin merged commit ce86ab6 into main Oct 2, 2024
5 checks passed
@vsukhin vsukhin deleted the vsukhin/feature/kind branch October 2, 2024 12:51
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.

3 participants