tofuutils / tenv

OpenTofu / Terraform / Terragrunt and Atmos version manager
https://tofuutils.github.io/tenv/
Apache License 2.0
507 stars 26 forks source link

Add a DEB repository for tenv #152

Open samuel-phan opened 2 months ago

samuel-phan commented 2 months ago

Is your feature request related to a problem? Please describe. By using a DEB repo, Debian/Ubuntu users can benefit from auto-update like any other package. It's simpler and easier for day-to-day operations.

Describe the solution you'd like Create a PPA repo for tenv, and for every build, add the new version there.

Describe alternatives you've considered N/A.

Additional context N/A.

kvendingoldo commented 2 months ago

Good idea. I'm still working on snap in scope of https://github.com/tofuutils/tenv/issues/53, maybe deb should be before it.

kvendingoldo commented 2 months ago

Created PPA (https://launchpad.net/tenv), will add publish to it soon.

kvendingoldo commented 2 months ago

Created a basic pipeline: https://github.com/tofuutils/tenv/commit/ea91aee5020e2e39f55661559cff654719a67fec will check how it will works

kvendingoldo commented 2 months ago

Faced with the following issue during uploading to ppa:

Importing GPG private key...
Adding PPA...
  Adding PPA: kvendingoldo/tenv
  Error: signing key fingerprint does not exist
  Failed to add key.

will check it

kvendingoldo commented 1 month ago

example: https://github.com/diogenes1oliveira/hashicorp-ppa/tree/master

kvendingoldo commented 1 month ago

example 2:https://github.com/mfinelli/ppa

samuel-phan commented 3 weeks ago

@kvendingoldo Any progress on this?

kvendingoldo commented 3 weeks ago

@samuel-phan working on it. Doesn't snap work for u?

samuel-phan commented 3 weeks ago

Thanks.

On Linux Mint, snap is not installed by default, so I don't use it. I'm always a bit reluctant to use tools in a sandbox, because it might block some features that needs bindings with other parts on the OS libs (eg custom under development TF providers).

kvendingoldo commented 3 weeks ago

Ok. I will try to deliver deb repo this week