-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
I think it'd be good to start setting up the account. Registration of the package (or was it initial review?) took a while, if memory serves. … and if it's just a placeholder version |
@@ -0,0 +1,49 @@ | |||
name: wksctl | |||
version: git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/fluxcd/flux/blame/master/snap/snapcraft.yaml#L23-L37 might be helpful for automatically getting you the version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goreleaser
can do snap packages. That seems like a nice to way to do snaps as we already are using goreleaser
: https://goreleaser.com/snapcraft/
If the snap part of |
Thanks for the suggestion! I did come across it but only after I had a buildable |
1555829
to
4335fb4
Compare
4335fb4
to
13434a5
Compare
The PR is currently blocked by manual approval that is needed from the snapcraft folks because |
Why don't you merge for now and then iterate with feedback from the store people? |
I don't think we'd add any value to the codebase if we merged it as it is before we'd:
It might be confusing if |
13434a5
to
64d431f
Compare
64d431f
to
fd5bb94
Compare
Closing this PR due to inactivity (although I understand this work might be picked up again in the future). |
fluxcd/flux#3072 might be of interest at some stage. |
This PR should enable users to install
wksctl
viasnap
command on Ubuntu systems.Used a mix of https://snapcraft.io/docs/go-applications and fluxcd/flux template for the
snapcraft.yaml
draft (thanks @dholbach for leaving enough traces around :)).Checklist
snapcraft.yaml
that compiles into a working binarySwitched to classic confinement aswksctl
needs to read files passed to it via command line args, like--cluster
and--machines
args inwksctl apply
, and we don't know where those file might be stored locallywksctl
commands in the snap installsnap
install instructionsTODO in follow-up PRs
fluxctl
andeksctl
might need the same