Merge branch 'testing' into release
All checks were successful
Docker Build Pipeline / Cleanup-Old-Artifacts (push) Successful in 0s
Docker Build Pipeline / Check-Environment (push) Successful in 0s
Docker Build Pipeline / Clone-Repo (push) Successful in 0s
Docker Build Pipeline / Build-Images (push) Successful in 1s
Docker Build Pipeline / Push-Images (push) Successful in 1s
Docker Build Pipeline / Cleanup-Build-Images (push) Successful in 8s
Docker Build Pipeline / Cleanup-Docker-Login (push) Successful in 1s

This commit is contained in:
Chris Hammer 2025-01-15 11:21:45 -05:00
commit d232c25e22
4 changed files with 13 additions and 9 deletions

View File

@ -26,12 +26,12 @@ jobs:
steps: steps:
- name: Environment check - name: Environment check
run: | run: |
echo "BUILD_USER: $(whoami)" && echo
echo "PWD: $(pwd)" && echo
hostnamectl && echo hostnamectl && echo
lscpu && echo
env && echo env && echo
whoami && echo docker info && echo
pwd && echo
tree && echo
git log -1 && echo
Clone-Repo: Clone-Repo:
@ -47,6 +47,9 @@ jobs:
cd ansible-dev cd ansible-dev
git checkout ${{ env.GITHUB_REF_NAME }} git checkout ${{ env.GITHUB_REF_NAME }}
- name: Verify current commit
run: cd ansible-dev && git log -1
Build-Images: Build-Images:
runs-on: self-hosted runs-on: self-hosted

View File

@ -12,7 +12,7 @@ COPY python/requirements.txt /tmp/requirements.txt
# RUN dnf install -y python3-pip git ansible-core python3-ansible-lint # RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
RUN dnf update -y \ RUN dnf update -y \
&& dnf install -y python3-pip git systemd nodejs tree \ && dnf install -y python3-pip python3-devel gcc git systemd nodejs tree procps-ng \
&& pip install pip --upgrade \ && pip install pip --upgrade \
&& pip install -r /tmp/requirements.txt && pip install -r /tmp/requirements.txt

View File

@ -12,7 +12,7 @@ COPY python/requirements.txt /tmp/requirements.txt
RUN apt update \ RUN apt update \
&& apt dist-upgrade -y \ && apt dist-upgrade -y \
&& apt autoremove --purge -y \ && apt autoremove --purge -y \
&& apt install -y python3-pip git systemd nodejs tree \ && apt install -y python3-pip git systemd nodejs tree procps \
&& pip install pip --upgrade --break-system-packages \ && pip install pip --upgrade --break-system-packages \
&& pip install -r /tmp/requirements.txt --break-system-packages && pip install -r /tmp/requirements.txt --break-system-packages

View File

@ -11,9 +11,10 @@ COPY conf/dnf.conf /etc/dnf/dnf.conf
COPY python/requirements.txt /tmp/requirements.txt COPY python/requirements.txt /tmp/requirements.txt
# RUN dnf install -y python3-pip git ansible-core python3-ansible-lint # RUN dnf install -y python3-pip git ansible-core python3-ansible-lint
RUN dnf install -y python3-pip python3-devel gcc git systemd nodejs tree \ RUN dnf update -y \
&& pip install pip --upgrade \ && dnf install -y python3-pip python3-devel gcc git systemd nodejs tree procps-ng \
&& pip install -r /tmp/requirements.txt && pip install pip --upgrade \
&& pip install -r /tmp/requirements.txt
COPY ansible/ansible-check.yml /tmp/ansible-check.yml COPY ansible/ansible-check.yml /tmp/ansible-check.yml