Repository navigation
Align with the copier template, self-hosted-ready CI and release automation - #3
Merged
Merged
Conversation
Generated with salt-extension-copier 0.10.0 (answers in .copier-answers.yml) so `copier update` keeps the project in step with the template. Adopted the template's pre-commit hooks (CLI example and autodoc checks, salt-rewrite, bandit, pylint via nox, actionlint), noxfile sessions, Sphinx setup (saltdomain, sitevars, linkcheck and docs coverage), coverage settings, NOTICE and the developer helpers. The extension code, tests, guides and the GitHub workflows stay project-specific. Also fixes the LICENSE copyright line, documents the utils package in the API reference, and silences unused-argument warnings in the test fakes. Signed-off-by: NodeRings <17057583+shaygun@users.noreply.github.com>
Jobs ask for [self-hosted, noderings] when the repository variable NODERINGS_RUNNER is true and fall back to ubuntu-latest otherwise. Pull requests from forks always use GitHub-hosted runners. CI now runs the template's pre-commit hooks, the nox unit test session across Salt 3006 to 3008, the template docs session (linkcheck, coverage, HTML), and a package check: build, twine check, then install the wheel and confirm that salt-call loads the execution and state modules. A single "CI result" job collects the results for branch protection. Actions are pinned to commit SHAs. .github/self-hosted-runner.md explains the recommended runner (a dedicated NodeRings VM, registered at the repository level) and how to switch over. Signed-off-by: NodeRings <17057583+shaygun@users.noreply.github.com>
release-please (release bot App token) keeps a release pull request that writes CHANGELOG.md; merging it pushes vX.Y.Z and a draft release. The tag starts release.yml, which builds the sdist and wheel on GitHub-hosted runners, attests their provenance, publishes to PyPI with trusted publishing from the pypi environment (skipped with a warning until PYPI_TRUSTED_PUBLISHING is true), then uploads the files to the release and publishes it. The version comes from the tag through setuptools_scm, so the simple release type only maintains the changelog and the manifest. Dependabot commits now use the ci and build prefixes. CONTRIBUTING documents Conventional Commits, CI and the one-time PyPI setup. Signed-off-by: NodeRings <17057583+shaygun@users.noreply.github.com>
…s VMs, DNS, firewall rulesets and SSH keys First release. The execution module covers virtual machines (order, start, stop, restart, reinstall, tags, firewall), DNS zones and records with DNSSEC, firewall rulesets with ordered rules, SSH keys and the marketplace catalog. The state module has present/absent states for SSH keys, DNS zones and records, firewall rulesets and virtual machines, all supporting test=True. The Salt Cloud driver orders servers by plan code and city, bootstraps a minion over SSH, and lists, starts, stops, reboots and destroys them. The changelog is generated by release-please from now on, so the hand-written notes are removed. Release-As: 0.1.0 Signed-off-by: NodeRings <17057583+shaygun@users.noreply.github.com>
shaygun
force-pushed
the
chore/align-copier-template
branch
from
November 26, 2026 00:58
d53772e to
b32fcbe
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four commits, meant to be rebase-merged so release-please sees each one:
.copier-answers.yml). Brings in the template's pre-commit hooks, nox sessions, Sphinx setup, coverage settings, NOTICE and the developer helpers. The extension code, tests, guides and workflows stay ours. Also fixes the LICENSE copyright line.[self-hosted, noderings]when the variable istrueand fall back toubuntu-latestotherwise. Fork pull requests always stay on GitHub-hosted runners.twine check, wheel install, Salt loader).CI resultcheck is for branch protection..github/self-hosted-runner.md.release.ymlbuilds and attests the package, publishes to PyPI with trusted publishing from thepypienvironment (skipped with a warning untilPYPI_TRUSTED_PUBLISHING=true), then publishes the GitHub release.Release-As: 0.1.0and replaces the hand-written 0.1.0 notes with the generated changelog.