-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from nicholasmhughes/copier-profile
Migrate to copier profile and centralize workflows
- Loading branch information
Showing
43 changed files
with
1,343 additions
and
1,218 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Autogenerated. Do not edit this by hand, use `copier update`. | ||
--- | ||
_commit: 0.2.6 | ||
_src_path: https://github.com/lkubb/salt-extension-copier | ||
author: EITR Technologies, LLC | ||
author_email: [email protected] | ||
docs_url: '' | ||
license: apache | ||
loaders: | ||
- engine | ||
- returner | ||
max_salt_version: 3006 | ||
no_saltext_namespace: false | ||
package_name: prometheus | ||
project_name: prometheus | ||
python_requires: '3.8' | ||
salt_version: '3005' | ||
source_url: https://github.com/salt-extensions/saltext-prometheus | ||
ssh_fixtures: false | ||
summary: Salt Extension for interacting with Prometheus | ||
tracker_url: https://github.com/salt-extensions/saltext-prometheus/issues | ||
url: https://github.com/salt-extensions/saltext-prometheus |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Tech Debt | ||
about: Issue is related to tech debt. This includes compatibility changes for newer versions of software and OSes that salt interacts with. | ||
title: "[TECH DEBT]" | ||
labels: tech-debt | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Description of the tech debt to be addressed, include links and screenshots | ||
|
||
### Versions Report | ||
(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Pull Request or Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'main' # Run on pushes to main | ||
tags-ignore: | ||
- '*' # Ignore pushes to tags | ||
pull_request: | ||
|
||
jobs: | ||
call_central_workflow: | ||
name: CI | ||
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main | ||
with: | ||
setup-vault: true | ||
permissions: | ||
contents: write | ||
pull-requests: read |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Tagged Releases | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" # Only tags starting with "v" for "v1.0.0", etc. | ||
|
||
jobs: | ||
get_tag_version: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
version: ${{ steps.get_version.outputs.version }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Extract tag name | ||
id: get_version | ||
run: echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/v})" | ||
|
||
call_central_workflow: | ||
needs: get_tag_version | ||
uses: salt-extensions/central-artifacts/.github/workflows/ci.yml@main | ||
with: | ||
setup-vault: true | ||
release: true | ||
version: ${{ needs.get_tag_version.outputs.version }} | ||
permissions: | ||
contents: write | ||
id-token: write | ||
pull-requests: read | ||
secrets: inherit |
Oops, something went wrong.