prep release for 2.10.2 (#265)
* prep release for 2.10.2 * add token cron * Update token_refresh.yml * remove dangling changelog * revert changelog deletion * remove dangling fragment 2 * fix workflow * update safe to test --------- Co-authored-by: Bradley A. Thornton <bthornto@redhat.com>pull/266/head
parent
59d4eede7f
commit
30e6241be7
|
@ -86,7 +86,7 @@ jobs:
|
|||
|
||||
- name: Update the glaxay.yml version
|
||||
run: |
|
||||
sed -ie 's/version:.*/version: ${{ env.VERSION }}/' galaxy.yml
|
||||
sed -i -e 's/version:.*/version: ${{ env.VERSION }}/' galaxy.yml
|
||||
|
||||
- name: Determine if a PR is necessary
|
||||
run: git diff --no-ext-diff --quiet --exit-code
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
name: test
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
branches: [main]
|
||||
types:
|
||||
- labeled
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
safe-to-test:
|
||||
if: >-
|
||||
github.event.label.name == 'safe to test' ||
|
||||
github.event.action != 'labeled'
|
||||
uses: ansible-network/github_actions/.github/workflows/safe-to-test.yml@main
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
tox-ansible:
|
||||
uses: tox-dev/tox-ansible/.github/workflows/run.yml@main
|
||||
needs:
|
||||
- safe-to-test
|
||||
|
||||
tox-ansible-passed:
|
||||
if: ${{ always() }}
|
||||
needs:
|
||||
- tox-ansible
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: >-
|
||||
python -c "assert set([
|
||||
'${{ needs.tox-ansible.result }}',
|
||||
]) == {'success'}"
|
|
@ -1,5 +1,4 @@
|
|||
name: Token refresh cron
|
||||
|
||||
name: Refresh the Automation Hub token
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
@ -7,13 +6,8 @@ on:
|
|||
|
||||
jobs:
|
||||
refresh:
|
||||
runs-on: ubuntu-latest
|
||||
environment: ah
|
||||
steps:
|
||||
- name: Refresh to AH token
|
||||
run: >-
|
||||
curl https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
|
||||
-d grant_type=refresh_token
|
||||
-d client_id=cloud-services
|
||||
-d refresh_token="${{ secrets.AH_TOKEN }}"
|
||||
--fail --silent --show-error --output /dev/null
|
||||
uses: ansible/devtools/.github/workflows/ah_token_refresh.yml@main
|
||||
with:
|
||||
environment: release
|
||||
secrets:
|
||||
ah_token: ${{ secrets.AH_TOKEN }}
|
||||
|
|
|
@ -3,7 +3,7 @@ repos:
|
|||
- repo: https://github.com/ansible-network/collection_prep
|
||||
rev: 1.1.1
|
||||
hooks:
|
||||
- id: autoversion
|
||||
# - id: autoversion
|
||||
- id: update-docs
|
||||
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
|
|
|
@ -5,6 +5,15 @@ Ansible Utils Collection Release Notes
|
|||
.. contents:: Topics
|
||||
|
||||
|
||||
v2.10.2
|
||||
=======
|
||||
|
||||
Minor Changes
|
||||
-------------
|
||||
|
||||
- validate - Add option `check_format` for the jsonschema engine to disable JSON Schema format checking.
|
||||
- validate - Add support for JSON Schema draft 2019-09 and 2020-12 as well as automatically choosing the draft from the `$schema` field of the criteria.
|
||||
|
||||
v2.9.0
|
||||
======
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
bugfixes:
|
||||
- Fix ansible.utils.cli_parse action plugin to support old cli_parse sub-plugin
|
||||
structure in ansible.netcommon collection.
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
trivial:
|
||||
- fixed netaddr error message to give better clarity that the package is missing
|
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
trivial:
|
||||
- Update pre-commit config to add autoversion hook
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
minor_changes:
|
||||
- validate - Add support for JSON Schema draft 2019-09 and 2020-12 as well as automatically choosing the draft
|
||||
from the `$schema` field of the criteria.
|
||||
- validate - Add option `check_format` for the jsonschema engine to disable JSON Schema format checking.
|
|
@ -13,4 +13,4 @@ issues: https://github.com/ansible-collections/ansible.utils/issues
|
|||
tags: [linux, networking, security, cloud, utilities, data, validation, utils]
|
||||
# NOTE(pabelanger): We create an empty version key to keep ansible-galaxy
|
||||
# happy. We dynamically inject version info based on git information.
|
||||
version: 2.10.0-dev
|
||||
version: 2.10.2
|
||||
|
|
Loading…
Reference in New Issue