saltstack-formulas / salt-formula

Yes, Salt can Salt itself!
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
198 stars 421 forks source link

repositories: fix keys and archs #548

Open SMillerDev opened 1 year ago

SMillerDev commented 1 year ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

https://github.com/saltstack-formulas/salt-formula/issues/545 https://github.com/saltstack-formulas/salt-formula/issues/539

Describe the changes you're proposing

Move to onedir packages by default Set the OS architecture in debian based repos

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

lmf-mx commented 1 year ago

@SMillerDev This does actually break existing deployments and should be noted.

That said, I don't think it's the wrong direction, but there's some things still amiss.

jeff350 commented 1 year ago

@SMillerDev It was clarified in a salt issue that the -2023 on the key is the year the key was generated. So this PR should go to 2023 being hard coded instead of the jinja to get the current year.

https://github.com/saltstack/salt/issues/64144#issuecomment-1589982446

SMillerDev commented 1 year ago

Thanks for the heads up, I'll fix that.

lmf-mx commented 1 year ago

I think there are a few more small changes to fix the urls of repos.

Could you please look at this and modify your commit messages to follow the format that will pass the commitlint in CI. you can see this here https://gitlab.com/saltstack-formulas/salt-formula/-/jobs/4471523712#L125

@SMillerDev Can you update the commit messages to pass the linter?

SMillerDev commented 1 year ago

I will once I actually get it to work

lmf-mx commented 1 year ago

I will once I actually get it to work

If you mean the formula, I believe I've covered all the cases in the update based on your PR, #550 If you mean the messages, you can interactive rebase and force push, https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message

techhat commented 1 year ago

FYI, SALTSTACK-GPG-KEY.pub no longer exists in the repo, so without some of these changes I'm finding that the most recent release of this formula is now unusable in multiple OSs. @Ch3ll