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

ci(ws): add integration test that deploys workspace-controller onto kind cluster #10

Open
wants to merge 2 commits into
base: notebooks-v2
Choose a base branch
from

Conversation

jiridanek
Copy link

@jiridanek jiridanek commented May 24, 2024

This is a recreation of https://github.com/kubeflow/kubeflow/blob/master/.github/workflows/nb_controller_intergration_test.yaml.

The main difference is that I don't (yet) do multiarch dockerx build.

Future work

Next step, would be helpful to wait not only for controller readiness, but for some sample CRD instances to have been reconciled by it. Ofc doing multiarch build early would not be bad either.

Having a similar test that uses OpenShift Local to run and podman to build would not go amiss either, in my view. This would force me to investigate the SCC thing https://docs.openshift.com/container-platform/4.15/authentication/managing-security-context-constraints.html

Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign james-jwu for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ederign
Copy link
Member

ederign commented May 29, 2024

@jiridanek, would you mind signing off on the commit? (maybe you need to squash to please DCO bot)

@ederign
Copy link
Member

ederign commented May 29, 2024

Also, is there a way to see this action running?

@jiridanek
Copy link
Author

Also, is there a way to see this action running?

Yeah, click the circle and then Details

image

@jiridanek
Copy link
Author

Uh, the link to action run, it disappeared from above! So, here you go https://github.com/jiridanek/notebooks-v2/actions/runs/9284952173/job/25548433943

push:
branches: [ "main", "notebooks-v2", "v*-branch" ]
pull_request:
paths: [ "workspaces/controller/**" ]
Copy link
Author

@jiridanek jiridanek May 29, 2024

Choose a reason for hiding this comment

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

right, so the action runs on PR only if the files in workspaces/controller change, but not when only the action itself changes!

@ederign
Copy link
Member

ederign commented May 29, 2024

Also, is there a way to see this action running?

Yeah, click the circle and then Details

image

It's probably a permission issue, but I cannot see the action of the check run here. I checked on your fork.

/lgtm

Copy link

New changes are detected. LGTM label has been removed.

@jiridanek jiridanek changed the title ci(ws): add integration test that deploys workspace-controller onto k0s ci(ws): add integration test that deploys workspace-controller onto kind cluster Jun 20, 2024
@jiridanek
Copy link
Author

As per @thesuperzapper 's suggestion, I switched from k0s to using kind, which made the GHA yaml somewhat shorter.

Run can be seen in action at https://github.com/jiridanek/notebooks-v2/actions/runs/9602575963/job/26483718596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants