fix other runners

This commit is contained in:
2025-08-26 14:07:34 +02:00
parent 598a53ad10
commit b86f643f82
2 changed files with 16 additions and 8 deletions

View File

@@ -13,8 +13,9 @@ jobs:
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: apk add --no-cache nodejs python3 docker - run: apk add --no-cache nodejs python3 docker
- run: python -m ensurepip --upgrade - run: python3 -m venv .venv && . .venv/bin/activate
- run: python -m pip install ansible-builder - run: . .venv/bin/activate && python -m ensurepip --upgrade
- run: . .venv/bin/activate && python -m pip install ansible-builder
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
@@ -31,8 +32,11 @@ jobs:
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
- name: build context - run: echo "build context"
run: ansible-builder create -f execution-environment.yml -c context - run: python3 -m venv .venv && . .venv/bin/activate
- run: . .venv/bin/activate && python -m ensurepip --upgrade
- run: . .venv/bin/activate && python -m pip install ansible-builder
- run: . .venv/bin/activate && ansible-builder create -f execution-environment.yml -c context
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }}/context ls ${{ gitea.workspace }}/context

View File

@@ -12,8 +12,9 @@ jobs:
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: apk add --no-cache nodejs python3 docker - run: apk add --no-cache nodejs python3 docker
- run: python -m ensurepip --upgrade - run: python3 -m venv .venv && . .venv/bin/activate
- run: python -m pip install ansible-builder - run: . .venv/bin/activate && python -m ensurepip --upgrade
- run: . .venv/bin/activate && python -m pip install ansible-builder
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
@@ -30,8 +31,11 @@ jobs:
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
- name: build context - run: echo "build context"
run: ansible-builder create -f rocky-environment.yml -c context-rocky - run: python3 -m venv .venv && . .venv/bin/activate
- run: . .venv/bin/activate && python -m ensurepip --upgrade
- run: . .venv/bin/activate && python -m pip install ansible-builder
- run: . .venv/bin/activate && ansible-builder create -f rocky-environment.yml -c context-rocky
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }}/context-rocky ls ${{ gitea.workspace }}/context-rocky