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

Feature/kubernetes #108

Closed
wants to merge 14 commits into from
Closed

Feature/kubernetes #108

wants to merge 14 commits into from

Conversation

Bluebugs
Copy link
Contributor

Description:

This add a working Kubernetes support for fyne-cross. It does use S3 to upload/download information out of the container/pod. The pod run for ever using a sleep infinite (I think we could hard code a limit there of maybe 30min?). Kubernetes exec command are used to execute command inside the pod. For most case, we do not need to change directory, but when we do I have to add a shell command to solve this problem.

I have moved a few operation that where done on the host, but relied on the file being local to be inside the pod (zip, move, copy). I haven't figured out how to handle the case when no Icon is provided at the moment.

I still need to do extensive testing with this patch (with kubernetes and without), but I wanted to start getting people review as early as possible.

Fixes #98

Checklist:

  • Tests included.
  • Lint and formatter run with no errors.
  • Tests all pass.

Where applicable:

  • Public APIs match existing style.
  • Updated the vendor folder (using go mod vendor).

@Bluebugs
Copy link
Contributor Author

@metal3d I couldn't add you as a reviewer, but if you do have some time have a look.

@andydotxyz
Copy link
Member

We can't use io/fs yet, as we support down to Go 1.14 for our developers.

@Bluebugs
Copy link
Contributor Author

We can't use io/fs yet, as we support down to Go 1.14 for our developers.

Oh, I was wondering what was that error. Thanks, will fix.

@Bluebugs Bluebugs force-pushed the feature/kubernetes branch from 3d20573 to 9dc5d3c Compare April 14, 2022 19:07
@Bluebugs
Copy link
Contributor Author

Closing this PR as the amount of change after the refactoring PR land is going to be really massive and make this harder to understand. Will do a clean PR on top of the refactoring PR.

@Bluebugs Bluebugs closed this May 13, 2022
@Bluebugs Bluebugs deleted the feature/kubernetes branch May 13, 2022 19:26
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.

2 participants