Add standalone ansible-cli command and release binaries #283
Workflow file for this run
This file contains hidden or 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
name: ansible | |
on: | |
pull_request: {} | |
jobs: | |
e2e: | |
name: e2e | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- run: sudo rm -rf /usr/local/bin/kustomize | |
- run: make test-e2e-ansible | |
e2e-molecule: | |
name: e2e-molecule | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- run: sudo rm -rf /usr/local/bin/kustomize | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Run test e2e ansible molecule | |
run: | | |
env | |
pip3 install --user --upgrade setuptools pip | |
pip3 install --user ansible-core~=2.17.4 | |
make test-e2e-ansible-molecule | |
build-bin: | |
name: build-bin | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Run make build | |
run: make build |