Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ansible github runner role module #3

Merged
merged 4 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ FROM python:3.10-slim-bullseye as builder
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
libffi-dev && \
libffi-dev \
git && \
apt-get clean -y

RUN mkdir -p /srv/docker-ansible

COPY requirements.txt /srv/docker-ansible/requirements.txt
COPY galaxy-requirements.yaml /srv/ansible/galaxy-requirements.yaml

RUN python3 -m venv /srv/docker-ansible/env && \
/srv/docker-ansible/env/bin/pip install -r /srv/docker-ansible/requirements.txt
RUN /srv/docker-ansible/env/bin/ansible-galaxy install -r /srv/ansible/galaxy-requirements.yaml

# Final Image

Expand Down
4 changes: 4 additions & 0 deletions galaxy-requirements.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
roles:
- name: monolithprojects.github_actions_runner
version: 1.21.1
src: https://github.com/MonolithProjects/ansible-github_actions_runner
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ansible==8.2.0
ansible==8.5.0
ansible-lint==6.17.2
dnspython==2.4.2
dnspython==2.6.1
omsdk==1.2.509