From a453ac31f3428614cceb99027f8efbdb9258a40b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 22:03:01 +0200 Subject: Adding upstream version 2.10.7+merged+base+2.10.8+dfsg. Signed-off-by: Daniel Baumann --- .../exoscale/.github/workflows/publish.yml | 25 +++++++++++++++++ .../ngine_io/exoscale/.github/workflows/sanity.yml | 31 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/publish.yml create mode 100644 collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/sanity.yml (limited to 'collections-debian-merged/ansible_collections/ngine_io/exoscale/.github') diff --git a/collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/publish.yml b/collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/publish.yml new file mode 100644 index 00000000..0318edfc --- /dev/null +++ b/collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/publish.yml @@ -0,0 +1,25 @@ +name: Upload release to Galaxy + +on: + release: + types: [created] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ansible + - name: Build and publish + env: + ANSIBLE_GALAXY_API_KEY: ${{ secrets.ANSIBLE_GALAXY_API_KEY }} + run: | + ansible-galaxy collection build . + ansible-galaxy collection publish *.tar.gz --api-key $ANSIBLE_GALAXY_API_KEY diff --git a/collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/sanity.yml b/collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/sanity.yml new file mode 100644 index 00000000..7e0fab5b --- /dev/null +++ b/collections-debian-merged/ansible_collections/ngine_io/exoscale/.github/workflows/sanity.yml @@ -0,0 +1,31 @@ +name: Sanity +on: +- pull_request + +jobs: + sanity: + name: Sanity (${{ matrix.ansible }}) + strategy: + matrix: + ansible: + - stable-2.10 + - stable-2.9 + - devel + runs-on: ubuntu-latest + steps: + + - name: Check out code + uses: actions/checkout@v1 + with: + path: ansible_collections/ngine_io/exoscale + + - name: Set up Python 3.6 + uses: actions/setup-python@v1 + with: + python-version: 3.6 + + - name: Install ansible-base (${{ matrix.ansible }}) + run: pip install https://github.com/ansible/ansible/archive/${{ matrix.ansible }}.tar.gz --disable-pip-version-check + + - name: Run sanity tests + run: ansible-test sanity --docker -v --color --python 3.6 -- cgit v1.2.3