add downstream build scripts (#20)

* add downstream build scripts

Signed-off-by: Adam Miller <admiller@redhat.com>

* this works locally ... let's see if it does in GitHub Actions

Signed-off-by: Adam Miller <admiller@redhat.com>

* it's running now, but something unrelated seems to be failing

Signed-off-by: Adam Miller <admiller@redhat.com>

* maybe this will work

Signed-off-by: Adam Miller <admiller@redhat.com>

* come on GA, work with me here

Signed-off-by: Adam Miller <admiller@redhat.com>

* lets try this a different way

Signed-off-by: Adam Miller <admiller@redhat.com>

* maybe this?

Signed-off-by: Adam Miller <admiller@redhat.com>

* alright, let's do it all without being so disruptive to the Makefile and GA

Signed-off-by: Adam Miller <admiller@redhat.com>

* I think this fixes prow

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller
2020-09-03 13:19:18 -05:00
committed by GitHub
parent 5a1396e54e
commit c8fc053968
5 changed files with 348 additions and 2 deletions

View File

@@ -109,3 +109,33 @@ jobs:
# - uses: codecov/codecov-action@v1
# with:
# fail_ci_if_error: false
#
downstream-sanity-29:
name: Sanity (Ⓐ${{ matrix.ansible }}+py${{ matrix.python }})
strategy:
matrix:
ansible:
- stable-2.9
python:
- 3.6
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
with:
path: ansible_collections/community/okd
- name: Set up Python ${{ matrix.ansible }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install ansible 2.9
run: pip install "ansible>=2.9.0,<2.10.0"
# run ansible-test sanity inside of Docker.
# The docker container has all the pinned dependencies that are required.
# Explicity specify the version of Python we want to test
- name: Run sanity tests
run: make downstream-test-sanity
working-directory: ./ansible_collections/community/okd