mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-05-15 06:32:50 +02:00
chore(copier): update template https://github.com/dafyddj/copier-ssf-ci to v2.7.0
This commit is contained in:
parent
48bd826e72
commit
2f0db3b2aa
@ -1,5 +1,5 @@
|
|||||||
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
|
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
|
||||||
_commit: v2.4.0
|
_commit: v2.7.0
|
||||||
_src_path: https://github.com/dafyddj/copier-ssf-ci
|
_src_path: https://github.com/dafyddj/copier-ssf-ci
|
||||||
failure_permitted_ignored: []
|
failure_permitted_ignored: []
|
||||||
failure_permitted_patterns: []
|
failure_permitted_patterns: []
|
||||||
|
|||||||
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
name: Lint / `pre-commit`
|
name: Lint / `pre-commit`
|
||||||
needs: should-run
|
needs: should-run
|
||||||
if: fromJSON(needs.should-run.outputs.should-run)
|
if: fromJSON(needs.should-run.outputs.should-run)
|
||||||
container: techneg/ci-pre-commit:v2.4.28@sha256:3a5b362f2fdf60e3a6c614a919c67cc8ae5d34208e287d293fc30c150a919ac6
|
container: techneg/ci-pre-commit:v2.4.32@sha256:fa9eef397583add95f4fccefa6ecbbf7a3845d6168f07393da7bc619696b246b
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
@ -58,10 +58,17 @@ jobs:
|
|||||||
results:
|
results:
|
||||||
name: Release / Collect results
|
name: Release / Collect results
|
||||||
permissions:
|
permissions:
|
||||||
|
contents: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
checks: read
|
checks: read
|
||||||
|
container: techneg/ci-semantic-release:v1.1.0
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
|
- run: | # Needed due to bug actions/checkout#2031
|
||||||
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
# yamllint disable-line rule:line-length
|
# yamllint disable-line rule:line-length
|
||||||
- uses: poseidon/wait-for-status-checks@899c768d191b56eef585c18f8558da19e1f3e707 # v0.6.0
|
- uses: poseidon/wait-for-status-checks@899c768d191b56eef585c18f8558da19e1f3e707 # v0.6.0
|
||||||
with:
|
with:
|
||||||
@ -69,4 +76,10 @@ jobs:
|
|||||||
Release / Collect results
|
Release / Collect results
|
||||||
ignore_pattern: ^GitLab CI
|
ignore_pattern: ^GitLab CI
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Run `semantic-release`
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
MAINTAINER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
semantic-release --dry-run
|
||||||
- run: echo "::notice ::Workflow success!"
|
- run: echo "::notice ::Workflow success!"
|
||||||
|
|||||||
@ -15,15 +15,15 @@
|
|||||||
stage_test: &stage_test 'test'
|
stage_test: &stage_test 'test'
|
||||||
# `image`
|
# `image`
|
||||||
# yamllint disable rule:line-length
|
# yamllint disable rule:line-length
|
||||||
image_commitlint: &image_commitlint 'techneg/ci-commitlint:v1.1.94@sha256:3913ba70632c591b1accf8f65324008cfcbfb231e03a34908dd92022b3cd9fe4'
|
image_commitlint: &image_commitlint 'techneg/ci-commitlint:v1.1.98@sha256:f227ba6da3c684b5506fa338bdb82b17e7a7a3f75f56b2407632b43a7e7276a2'
|
||||||
image_dindruby: &image_dindruby 'techneg/ci-docker-python-ruby:v2.2.63@sha256:d2dd81049d7c0c8e369c744d57824685ae089403c53b1c767d9cfe1c691d9327'
|
image_dindruby: &image_dindruby 'techneg/ci-docker-python-ruby:v2.2.67@sha256:2887fb02ee694a97241777b043b1942b7e6803080e06dd18633f083eed463844'
|
||||||
image_dindrubybionic: &image_dindrubybionic 'techneg/ci-docker-python-ruby:v2.2.63@sha256:d2dd81049d7c0c8e369c744d57824685ae089403c53b1c767d9cfe1c691d9327'
|
image_dindrubybionic: &image_dindrubybionic 'techneg/ci-docker-python-ruby:v2.2.67@sha256:2887fb02ee694a97241777b043b1942b7e6803080e06dd18633f083eed463844'
|
||||||
image_precommit: &image_precommit 'techneg/ci-pre-commit:v2.4.28@sha256:3a5b362f2fdf60e3a6c614a919c67cc8ae5d34208e287d293fc30c150a919ac6'
|
image_precommit: &image_precommit 'techneg/ci-pre-commit:v2.4.32@sha256:fa9eef397583add95f4fccefa6ecbbf7a3845d6168f07393da7bc619696b246b'
|
||||||
image_rubocop: &image_rubocop 'pipelinecomponents/rubocop:latest@sha256:fe69f9642c7edde46bbd78326d2c42c6e13fc73694efb142e92e206725479328'
|
image_rubocop: &image_rubocop 'pipelinecomponents/rubocop:latest@sha256:fe69f9642c7edde46bbd78326d2c42c6e13fc73694efb142e92e206725479328'
|
||||||
image_semantic-release: &image_semanticrelease 'myii/ssf-semantic-release:15.14@sha256:374f588420087517a3cc0235e11293bffd72d7a59da3d98d5e69f014ff2a7761'
|
image_semantic-release: &image_semanticrelease 'techneg/ci-semantic-release:v1.1.0'
|
||||||
# `services`
|
# `services`
|
||||||
services_docker_dind: &services_docker_dind
|
services_docker_dind: &services_docker_dind
|
||||||
- 'docker:28.3.0-dind@sha256:d33eb93fe02683e984e6f8a93c0b3d85bb74f56ec83922bc39fb34ba23ab42bc'
|
- 'docker:28.3.2-dind@sha256:44383404ebf0c36243f5969f0dddd23c204ea3bb185e7473a4141f6ccfd07b53'
|
||||||
# yamllint enable rule:line-length
|
# yamllint enable rule:line-length
|
||||||
# `variables`
|
# `variables`
|
||||||
# https://forum.gitlab.com/t/gitlab-com-ci-caching-rubygems/5627/3
|
# https://forum.gitlab.com/t/gitlab-com-ci-caching-rubygems/5627/3
|
||||||
@ -184,55 +184,52 @@ rockylinux-8-master: {extends: '.test_instance_failure_permitted'}
|
|||||||
ubuntu-2404-master: {extends: '.test_instance_failure_permitted'}
|
ubuntu-2404-master: {extends: '.test_instance_failure_permitted'}
|
||||||
ubuntu-2204-master: {extends: '.test_instance_failure_permitted'}
|
ubuntu-2204-master: {extends: '.test_instance_failure_permitted'}
|
||||||
ubuntu-2004-master: {extends: '.test_instance_failure_permitted'}
|
ubuntu-2004-master: {extends: '.test_instance_failure_permitted'}
|
||||||
almalinux-9-3007-5: {extends: '.test_instance'}
|
almalinux-9-3007-6: {extends: '.test_instance'}
|
||||||
almalinux-8-3007-5: {extends: '.test_instance'}
|
almalinux-8-3007-6: {extends: '.test_instance'}
|
||||||
amazonlinux-2023-3007-5: {extends: '.test_instance'}
|
amazonlinux-2023-3007-6: {extends: '.test_instance'}
|
||||||
amazonlinux-2-3007-5: {extends: '.test_instance_failure_permitted'}
|
amazonlinux-2-3007-6: {extends: '.test_instance_failure_permitted'}
|
||||||
centos-stream9-3007-5: {extends: '.test_instance'}
|
centos-stream9-3007-6: {extends: '.test_instance'}
|
||||||
debian-12-3007-5: {extends: '.test_instance'}
|
debian-12-3007-6: {extends: '.test_instance'}
|
||||||
debian-11-3007-5: {extends: '.test_instance'}
|
debian-11-3007-6: {extends: '.test_instance'}
|
||||||
fedora-41-3007-5: {extends: '.test_instance_failure_permitted'}
|
fedora-41-3007-6: {extends: '.test_instance_failure_permitted'}
|
||||||
fedora-40-3007-5: {extends: '.test_instance'}
|
fedora-40-3007-6: {extends: '.test_instance'}
|
||||||
opensuse-leap-156-3007-5: {extends: '.test_instance'}
|
opensuse-leap-156-3007-6: {extends: '.test_instance'}
|
||||||
opensuse-tmbl-latest-3007-5: {extends: '.test_instance'}
|
opensuse-tmbl-latest-3007-6: {extends: '.test_instance'}
|
||||||
oraclelinux-9-3007-5: {extends: '.test_instance'}
|
oraclelinux-9-3007-6: {extends: '.test_instance'}
|
||||||
oraclelinux-8-3007-5: {extends: '.test_instance'}
|
oraclelinux-8-3007-6: {extends: '.test_instance'}
|
||||||
rockylinux-9-3007-5: {extends: '.test_instance'}
|
rockylinux-9-3007-6: {extends: '.test_instance'}
|
||||||
rockylinux-8-3007-5: {extends: '.test_instance'}
|
rockylinux-8-3007-6: {extends: '.test_instance'}
|
||||||
ubuntu-2404-3007-5: {extends: '.test_instance'}
|
ubuntu-2404-3007-6: {extends: '.test_instance'}
|
||||||
ubuntu-2204-3007-5: {extends: '.test_instance'}
|
ubuntu-2204-3007-6: {extends: '.test_instance'}
|
||||||
ubuntu-2004-3007-5: {extends: '.test_instance'}
|
ubuntu-2004-3007-6: {extends: '.test_instance'}
|
||||||
almalinux-9-3006-13: {extends: '.test_instance'}
|
almalinux-9-3006-14: {extends: '.test_instance'}
|
||||||
almalinux-8-3006-13: {extends: '.test_instance'}
|
almalinux-8-3006-14: {extends: '.test_instance'}
|
||||||
amazonlinux-2023-3006-13: {extends: '.test_instance'}
|
amazonlinux-2023-3006-14: {extends: '.test_instance'}
|
||||||
amazonlinux-2-3006-13: {extends: '.test_instance_failure_permitted'}
|
amazonlinux-2-3006-14: {extends: '.test_instance_failure_permitted'}
|
||||||
centos-stream9-3006-13: {extends: '.test_instance'}
|
centos-stream9-3006-14: {extends: '.test_instance'}
|
||||||
debian-12-3006-13: {extends: '.test_instance'}
|
debian-12-3006-14: {extends: '.test_instance'}
|
||||||
debian-11-3006-13: {extends: '.test_instance'}
|
debian-11-3006-14: {extends: '.test_instance'}
|
||||||
fedora-41-3006-13: {extends: '.test_instance_failure_permitted'}
|
fedora-41-3006-14: {extends: '.test_instance_failure_permitted'}
|
||||||
fedora-40-3006-13: {extends: '.test_instance'}
|
fedora-40-3006-14: {extends: '.test_instance'}
|
||||||
opensuse-leap-156-3006-13: {extends: '.test_instance'}
|
opensuse-leap-156-3006-14: {extends: '.test_instance'}
|
||||||
opensuse-tmbl-latest-3006-13: {extends: '.test_instance'}
|
opensuse-tmbl-latest-3006-14: {extends: '.test_instance'}
|
||||||
oraclelinux-9-3006-13: {extends: '.test_instance'}
|
oraclelinux-9-3006-14: {extends: '.test_instance'}
|
||||||
oraclelinux-8-3006-13: {extends: '.test_instance'}
|
oraclelinux-8-3006-14: {extends: '.test_instance'}
|
||||||
rockylinux-9-3006-13: {extends: '.test_instance'}
|
rockylinux-9-3006-14: {extends: '.test_instance'}
|
||||||
rockylinux-8-3006-13: {extends: '.test_instance'}
|
rockylinux-8-3006-14: {extends: '.test_instance'}
|
||||||
ubuntu-2404-3006-13: {extends: '.test_instance'}
|
ubuntu-2404-3006-14: {extends: '.test_instance'}
|
||||||
ubuntu-2204-3006-13: {extends: '.test_instance'}
|
ubuntu-2204-3006-14: {extends: '.test_instance'}
|
||||||
ubuntu-2004-3006-13: {extends: '.test_instance'}
|
ubuntu-2004-3006-14: {extends: '.test_instance'}
|
||||||
# yamllint enable rule:line-length
|
# yamllint enable rule:line-length
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# `release` stage: `semantic-release`
|
# `release` stage: `semantic-release`
|
||||||
###############################################################################
|
###############################################################################
|
||||||
semantic-release:
|
semantic-release:
|
||||||
only: *only_branch_master_parent_repo
|
|
||||||
stage: *stage_release
|
stage: *stage_release
|
||||||
image: *image_semanticrelease
|
image: *image_semanticrelease
|
||||||
variables:
|
variables:
|
||||||
MAINTAINER_TOKEN: '${GH_TOKEN}'
|
MAINTAINER_TOKEN: '${GH_TOKEN}'
|
||||||
script:
|
script:
|
||||||
# Update `AUTHORS.md`
|
|
||||||
- '${HOME}/go/bin/maintainer contributor'
|
|
||||||
# Run `semantic-release`
|
# Run `semantic-release`
|
||||||
- 'semantic-release'
|
- 'semantic-release'
|
||||||
|
|||||||
@ -30,7 +30,7 @@ repos:
|
|||||||
- id: commitlint
|
- id: commitlint
|
||||||
- id: commitlint-ci
|
- id: commitlint-ci
|
||||||
- repo: https://github.com/rubocop-hq/rubocop
|
- repo: https://github.com/rubocop-hq/rubocop
|
||||||
rev: v1.77.0
|
rev: v1.79.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: rubocop
|
- id: rubocop
|
||||||
name: Check Ruby files with rubocop
|
name: Check Ruby files with rubocop
|
||||||
@ -100,12 +100,12 @@ repos:
|
|||||||
)$
|
)$
|
||||||
additional_dependencies: [pygments==2.16.1]
|
additional_dependencies: [pygments==2.16.1]
|
||||||
- repo: https://github.com/renovatebot/pre-commit-hooks
|
- repo: https://github.com/renovatebot/pre-commit-hooks
|
||||||
rev: 40.62.1
|
rev: 41.43.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
name: Check Renovate config with renovate-config-validator
|
name: Check Renovate config with renovate-config-validator
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
rev: 0.33.1
|
rev: 0.33.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-github-workflows
|
- id: check-github-workflows
|
||||||
name: Check GitHub workflows with check-jsonschema
|
name: Check GitHub workflows with check-jsonschema
|
||||||
|
|||||||
@ -521,10 +521,10 @@ GEM
|
|||||||
net-ssh (7.3.0)
|
net-ssh (7.3.0)
|
||||||
net-ssh-gateway (2.0.0)
|
net-ssh-gateway (2.0.0)
|
||||||
net-ssh (>= 4.0.0)
|
net-ssh (>= 4.0.0)
|
||||||
nokogiri (1.18.8)
|
nokogiri (1.18.9)
|
||||||
mini_portile2 (~> 2.8.2)
|
mini_portile2 (~> 2.8.2)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
nokogiri (1.18.8-x64-mingw-ucrt)
|
nokogiri (1.18.9-x64-mingw-ucrt)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
nori (2.7.0)
|
nori (2.7.0)
|
||||||
bigdecimal
|
bigdecimal
|
||||||
@ -631,7 +631,7 @@ GEM
|
|||||||
winrm (~> 2.0)
|
winrm (~> 2.0)
|
||||||
winrm-elevated (~> 1.0)
|
winrm-elevated (~> 1.0)
|
||||||
winrm-fs (~> 1.1)
|
winrm-fs (~> 1.1)
|
||||||
thor (1.3.2)
|
thor (1.4.0)
|
||||||
timeliness (0.3.10)
|
timeliness (0.3.10)
|
||||||
tomlrb (1.3.0)
|
tomlrb (1.3.0)
|
||||||
trailblazer-option (0.1.2)
|
trailblazer-option (0.1.2)
|
||||||
|
|||||||
148
kitchen.yml
148
kitchen.yml
@ -91,143 +91,143 @@ platforms:
|
|||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-master-py3:rockylinux-8
|
image: saltimages/salt-master-py3:rockylinux-8
|
||||||
|
|
||||||
## SALT `3007.5`
|
## SALT `3007.6`
|
||||||
- name: debian-12-3007-5
|
- name: debian-12-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:debian-12
|
image: saltimages/salt-3007.6-py3:debian-12
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: debian-11-3007-5
|
- name: debian-11-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:debian-11
|
image: saltimages/salt-3007.6-py3:debian-11
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: ubuntu-2404-3007-5
|
- name: ubuntu-2404-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:ubuntu-24.04
|
image: saltimages/salt-3007.6-py3:ubuntu-24.04
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: ubuntu-2204-3007-5
|
- name: ubuntu-2204-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:ubuntu-22.04
|
image: saltimages/salt-3007.6-py3:ubuntu-22.04
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: ubuntu-2004-3007-5
|
- name: ubuntu-2004-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:ubuntu-20.04
|
image: saltimages/salt-3007.6-py3:ubuntu-20.04
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: centos-stream9-3007-5
|
- name: centos-stream9-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:centos-stream9
|
image: saltimages/salt-3007.6-py3:centos-stream9
|
||||||
- name: opensuse-leap-156-3007-5
|
- name: opensuse-leap-156-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:opensuse-leap-15.6
|
image: saltimages/salt-3007.6-py3:opensuse-leap-15.6
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.6`:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.6`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: opensuse-tmbl-latest-3007-5
|
- name: opensuse-tmbl-latest-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:opensuse-tumbleweed-latest
|
image: saltimages/salt-3007.6-py3:opensuse-tumbleweed-latest
|
||||||
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: fedora-41-3007-5
|
- name: fedora-41-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:fedora-41
|
image: saltimages/salt-3007.6-py3:fedora-41
|
||||||
- name: fedora-40-3007-5
|
- name: fedora-40-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:fedora-40
|
image: saltimages/salt-3007.6-py3:fedora-40
|
||||||
- name: amazonlinux-2023-3007-5
|
- name: amazonlinux-2023-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:amazonlinux-2023
|
image: saltimages/salt-3007.6-py3:amazonlinux-2023
|
||||||
- name: amazonlinux-2-3007-5
|
- name: amazonlinux-2-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:amazonlinux-2
|
image: saltimages/salt-3007.6-py3:amazonlinux-2
|
||||||
- name: oraclelinux-9-3007-5
|
- name: oraclelinux-9-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:oraclelinux-9
|
image: saltimages/salt-3007.6-py3:oraclelinux-9
|
||||||
- name: oraclelinux-8-3007-5
|
- name: oraclelinux-8-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:oraclelinux-8
|
image: saltimages/salt-3007.6-py3:oraclelinux-8
|
||||||
- name: almalinux-9-3007-5
|
- name: almalinux-9-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:almalinux-9
|
image: saltimages/salt-3007.6-py3:almalinux-9
|
||||||
- name: almalinux-8-3007-5
|
- name: almalinux-8-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:almalinux-8
|
image: saltimages/salt-3007.6-py3:almalinux-8
|
||||||
- name: rockylinux-9-3007-5
|
- name: rockylinux-9-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:rockylinux-9
|
image: saltimages/salt-3007.6-py3:rockylinux-9
|
||||||
- name: rockylinux-8-3007-5
|
- name: rockylinux-8-3007-6
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3007.5-py3:rockylinux-8
|
image: saltimages/salt-3007.6-py3:rockylinux-8
|
||||||
|
|
||||||
## SALT `3006.13`
|
## SALT `3006.14`
|
||||||
- name: debian-12-3006-13
|
- name: debian-12-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:debian-12
|
image: saltimages/salt-3006.14-py3:debian-12
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: debian-11-3006-13
|
- name: debian-11-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:debian-11
|
image: saltimages/salt-3006.14-py3:debian-11
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: ubuntu-2404-3006-13
|
- name: ubuntu-2404-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:ubuntu-24.04
|
image: saltimages/salt-3006.14-py3:ubuntu-24.04
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: ubuntu-2204-3006-13
|
- name: ubuntu-2204-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:ubuntu-22.04
|
image: saltimages/salt-3006.14-py3:ubuntu-22.04
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: ubuntu-2004-3006-13
|
- name: ubuntu-2004-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:ubuntu-20.04
|
image: saltimages/salt-3006.14-py3:ubuntu-20.04
|
||||||
run_command: /lib/systemd/systemd
|
run_command: /lib/systemd/systemd
|
||||||
- name: centos-stream9-3006-13
|
- name: centos-stream9-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:centos-stream9
|
image: saltimages/salt-3006.14-py3:centos-stream9
|
||||||
- name: opensuse-tmbl-latest-3006-13
|
- name: opensuse-tmbl-latest-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:opensuse-tumbleweed-latest
|
image: saltimages/salt-3006.14-py3:opensuse-tumbleweed-latest
|
||||||
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
# Workaround to avoid intermittent failures on `opensuse-tumbleweed`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: opensuse-leap-156-3006-13
|
- name: opensuse-leap-156-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:opensuse-leap-15.6
|
image: saltimages/salt-3006.14-py3:opensuse-leap-15.6
|
||||||
# Workaround to avoid intermittent failures on `opensuse-leap-15.6`:
|
# Workaround to avoid intermittent failures on `opensuse-leap-15.6`:
|
||||||
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
# => SCP did not finish successfully (255): (Net::SCP::Error)
|
||||||
transport:
|
transport:
|
||||||
max_ssh_sessions: 1
|
max_ssh_sessions: 1
|
||||||
- name: fedora-41-3006-13
|
- name: fedora-41-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:fedora-41
|
image: saltimages/salt-3006.14-py3:fedora-41
|
||||||
- name: fedora-40-3006-13
|
- name: fedora-40-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:fedora-40
|
image: saltimages/salt-3006.14-py3:fedora-40
|
||||||
- name: amazonlinux-2023-3006-13
|
- name: amazonlinux-2023-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:amazonlinux-2023
|
image: saltimages/salt-3006.14-py3:amazonlinux-2023
|
||||||
- name: amazonlinux-2-3006-13
|
- name: amazonlinux-2-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:amazonlinux-2
|
image: saltimages/salt-3006.14-py3:amazonlinux-2
|
||||||
- name: oraclelinux-9-3006-13
|
- name: oraclelinux-9-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:oraclelinux-9
|
image: saltimages/salt-3006.14-py3:oraclelinux-9
|
||||||
- name: oraclelinux-8-3006-13
|
- name: oraclelinux-8-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:oraclelinux-8
|
image: saltimages/salt-3006.14-py3:oraclelinux-8
|
||||||
- name: almalinux-9-3006-13
|
- name: almalinux-9-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:almalinux-9
|
image: saltimages/salt-3006.14-py3:almalinux-9
|
||||||
- name: almalinux-8-3006-13
|
- name: almalinux-8-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:almalinux-8
|
image: saltimages/salt-3006.14-py3:almalinux-8
|
||||||
- name: rockylinux-9-3006-13
|
- name: rockylinux-9-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:rockylinux-9
|
image: saltimages/salt-3006.14-py3:rockylinux-9
|
||||||
- name: rockylinux-8-3006-13
|
- name: rockylinux-8-3006-14
|
||||||
driver:
|
driver:
|
||||||
image: saltimages/salt-3006.13-py3:rockylinux-8
|
image: saltimages/salt-3006.14-py3:rockylinux-8
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# This file is managed as part of a Copier template. #
|
# This file is managed as part of a Copier template. #
|
||||||
|
|||||||
@ -3,20 +3,24 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# (A) Update `FORMULA` with `${nextRelease.version}`
|
# (A) Update `FORMULA` with `${nextRelease.version}`
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
|
sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# (B) Use `m2r2` to convert automatically produced `.md` docs to `.rst`
|
# (B) Update `AUTHORS.md`
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# Install `m2r2`
|
maintainer contributor --ignore-contributors semantic-release-bot,renovate[bot]
|
||||||
pip3 install m2r2
|
|
||||||
|
###############################################################################
|
||||||
|
# (C) Use `m2r` to convert automatically produced `.md` docs to `.rst`
|
||||||
|
###############################################################################
|
||||||
|
|
||||||
# Copy and then convert the `.md` docs
|
# Copy and then convert the `.md` docs
|
||||||
cp ./*.md docs/
|
cp ./*.md docs/
|
||||||
cd docs/ || exit
|
cd docs/ || exit
|
||||||
m2r2 --overwrite ./*.md
|
m2r --overwrite ./*.md
|
||||||
|
|
||||||
# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
|
# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
|
||||||
sed -i -e '/^=.*$/s/=/-/g' CHANGELOG.rst
|
sed -i -e '/^=.*$/s/=/-/g' CHANGELOG.rst
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
branch: 'master',
|
// TODO: remove this when we no longer process releases on GitLab CI
|
||||||
repositoryUrl: 'https://github.com/saltstack-formulas/openssh-formula',
|
repositoryUrl: 'https://github.com/saltstack-formulas/openssh-formula',
|
||||||
plugins: [
|
plugins: [
|
||||||
['@semantic-release/commit-analyzer', {
|
['@semantic-release/commit-analyzer', {
|
||||||
@ -21,88 +21,6 @@ module.exports = {
|
|||||||
'@semantic-release/github'
|
'@semantic-release/github'
|
||||||
],
|
],
|
||||||
generateNotes: {
|
generateNotes: {
|
||||||
preset: 'angular',
|
preset: 'angular'
|
||||||
writerOpts: {
|
|
||||||
// Required due to upstream bug preventing all types being displayed.
|
|
||||||
// Bug: https://github.com/conventional-changelog/conventional-changelog/issues/317
|
|
||||||
// Fix: https://github.com/conventional-changelog/conventional-changelog/pull/410
|
|
||||||
transform: (commit, context) => {
|
|
||||||
const issues = []
|
|
||||||
|
|
||||||
commit.notes.forEach(note => {
|
|
||||||
note.title = 'BREAKING CHANGES'
|
|
||||||
})
|
|
||||||
|
|
||||||
// NOTE: Any changes here must be reflected in `CONTRIBUTING.md`.
|
|
||||||
if (commit.type === 'feat') {
|
|
||||||
commit.type = 'Features'
|
|
||||||
} else if (commit.type === 'fix') {
|
|
||||||
commit.type = 'Bug Fixes'
|
|
||||||
} else if (commit.type === 'perf') {
|
|
||||||
commit.type = 'Performance Improvements'
|
|
||||||
} else if (commit.type === 'revert') {
|
|
||||||
commit.type = 'Reverts'
|
|
||||||
} else if (commit.type === 'docs') {
|
|
||||||
commit.type = 'Documentation'
|
|
||||||
} else if (commit.type === 'style') {
|
|
||||||
commit.type = 'Styles'
|
|
||||||
} else if (commit.type === 'refactor') {
|
|
||||||
commit.type = 'Code Refactoring'
|
|
||||||
} else if (commit.type === 'test') {
|
|
||||||
commit.type = 'Tests'
|
|
||||||
} else if (commit.type === 'build') {
|
|
||||||
commit.type = 'Build System'
|
|
||||||
// } else if (commit.type === `chore`) {
|
|
||||||
// commit.type = `Maintenance`
|
|
||||||
} else if (commit.type === 'ci') {
|
|
||||||
commit.type = 'Continuous Integration'
|
|
||||||
} else {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (commit.scope === '*') {
|
|
||||||
commit.scope = ''
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof commit.hash === 'string') {
|
|
||||||
commit.shortHash = commit.hash.substring(0, 7)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof commit.subject === 'string') {
|
|
||||||
let url = context.repository
|
|
||||||
? `${context.host}/${context.owner}/${context.repository}`
|
|
||||||
: context.repoUrl
|
|
||||||
if (url) {
|
|
||||||
url = `${url}/issues/`
|
|
||||||
// Issue URLs.
|
|
||||||
commit.subject = commit.subject.replace(/#([0-9]+)/g, (_, issue) => {
|
|
||||||
issues.push(issue)
|
|
||||||
return `[#${issue}](${url}${issue})`
|
|
||||||
})
|
|
||||||
}
|
|
||||||
if (context.host) {
|
|
||||||
// User URLs.
|
|
||||||
commit.subject = commit.subject.replace(/\B@([a-z0-9](?:-?[a-z0-9/]){0,38})/g, (_, username) => {
|
|
||||||
if (username.includes('/')) {
|
|
||||||
return `@${username}`
|
|
||||||
}
|
|
||||||
|
|
||||||
return `[@${username}](${context.host}/${username})`
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// remove references that already appear in the subject
|
|
||||||
commit.references = commit.references.filter(reference => {
|
|
||||||
if (issues.indexOf(reference.issue) === -1) {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
return false
|
|
||||||
})
|
|
||||||
|
|
||||||
return commit
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user