galaxyproject/ansible-pulsar (opens in new tab)
2 workflows
Triggers
pull_request
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| lint | ubuntu-latest | 2 | actions/checkout@v2 robertdebock/molecule-action@2.6.6 |
| test | ubuntu-latest | 2 | actions/checkout@v2 robertdebock/molecule-action@2.6.6 |
Raw YAML
---
name: Molecule
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.6
with:
command: lint
test:
runs-on: ubuntu-latest
strategy:
matrix:
config:
- image: "centos"
tag: "7"
- image: "ubuntu"
tag: "18.04"
- image: "ubuntu"
tag: "20.04"
steps:
- name: checkout
uses: actions/checkout@v2
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.6.6
with:
image: "${{ matrix.config.image }}"
tag: "${{ matrix.config.tag }}"
options: "--parallel all"
env:
TOX_PARALLEL_NO_SPINNER: 1
Last fetched:
Triggers
push
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| Release | ubuntu-latest | 4 | actions/checkout@v2 actions/setup-python@v2 |
Raw YAML
---
# This workflow requires a GALAXY_API_KEY secret present in the GitHub
# repository or organization.
#
# See: https://github.com/marketplace/actions/publish-ansible-role-to-galaxy
# See: https://github.com/ansible/galaxy/issues/46
name: Release
'on':
push:
tags:
- '*'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v2
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Ansible.
run: pip3 install ansible-core
- name: Trigger a new import on Galaxy.
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2) --branch main
Last fetched: