Compare commits

...

52 Commits

Author SHA1 Message Date
b86f643f82 fix other runners 2025-08-26 14:07:34 +02:00
598a53ad10 typo 2025-08-26 14:03:45 +02:00
403f632493 test 2025-08-26 14:02:59 +02:00
9cbb65d19d test 2025-08-26 14:01:01 +02:00
46492f751e add to build context 2025-08-26 13:58:28 +02:00
bee14d3b79 test 2025-08-26 13:57:11 +02:00
23949c175f oeps 2025-08-26 13:54:56 +02:00
c715a61237 test3 2025-08-26 13:54:08 +02:00
06bddf89e2 test2 2025-08-26 13:51:06 +02:00
9d73a18f38 test 2025-08-26 13:50:05 +02:00
1e88e10d87 add workflows 2025-08-26 13:46:15 +02:00
62e1cabf1a clean gitignore 2025-08-26 13:43:59 +02:00
root
660fa62df7 push gitignore 2024-10-28 11:05:33 +01:00
root
0ae6edebc1 push gitignore
Some checks failed
Build / Build and analyze (push) Failing after 1m15s
2024-10-28 10:59:16 +01:00
root
59c0e8b5cb updated parakamiko to be above 3.4.1
Some checks failed
Build / Build and analyze (push) Failing after 1m17s
2024-09-20 10:03:01 +02:00
root
d24d0bae09 add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 15s
2024-09-17 13:31:48 +02:00
root
fee1736436 add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 13s
2024-09-17 13:29:16 +02:00
root
3a1993db91 add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 12s
2024-09-17 13:24:30 +02:00
root
9d8a658a57 add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 14s
2024-09-17 13:22:08 +02:00
root
8adf4af10b add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 13s
2024-09-17 13:16:54 +02:00
root
3988abbb98 add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 15s
2024-09-17 13:07:50 +02:00
root
36a2d0d72d add dhcp servers
Some checks failed
Build / Build and analyze (push) Failing after 7s
2024-09-17 13:06:24 +02:00
root
8f1e82e2bf add dhcp servers
Some checks failed
Build / Build and analyze (push) Failing after 10s
2024-09-17 13:06:10 +02:00
root
68b7ec2b08 add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 11s
2024-09-17 13:01:33 +02:00
root
656bdcedae add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 26s
2024-09-17 12:58:00 +02:00
root
e5a4fc8cf9 add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 3s
2024-09-17 12:56:48 +02:00
root
9941d188a8 add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 6s
2024-09-17 12:54:45 +02:00
root
08bb85eb62 add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 9s
2024-09-17 11:23:31 +02:00
root
27c462ca68 add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 7s
2024-09-17 11:20:14 +02:00
root
7c064e5d26 add dhcp servers
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 3s
2024-09-17 11:19:17 +02:00
root
90e3a91982 runs on docker
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 7s
2024-09-17 09:07:35 +02:00
root
23bd13f34a runs on docker
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 54s
2024-09-17 09:06:20 +02:00
root
cef367ddd4 runs on docker
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 3s
2024-09-17 08:32:46 +02:00
root
7d2df517f1 runs on docker
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 3s
2024-09-17 08:26:22 +02:00
root
f46256aebb runs on docker
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 9s
2024-09-17 08:23:54 +02:00
root
21511536b9 disable domain join
Some checks are pending
SonarQube Scan / SonarQube Trigger (push) Waiting to run
2024-09-17 08:21:14 +02:00
root
f74df47fa7 disable domain join
Some checks are pending
SonarQube Scan / SonarQube Trigger (push) Waiting to run
2024-09-17 08:19:55 +02:00
4963812f67 add sonarqube
Some checks are pending
SonarQube Scan / SonarQube Trigger (push) Waiting to run
2024-09-16 16:22:57 +00:00
root
caf2583c56 add playbook import hosts from list
All checks were successful
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 19s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Successful in 14m3s
2024-08-27 16:57:13 +02:00
root
89ee036c84 update
All checks were successful
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 6s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Successful in 17m2s
2024-07-18 14:00:14 +02:00
root
15fe8d4862 update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 8s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 10s
2024-07-18 13:59:23 +02:00
root
ccd7795a02 update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 7s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 17s
2024-07-18 13:49:03 +02:00
root
d30037eeb1 update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 8s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 19s
2024-07-18 13:39:01 +02:00
root
934107b63a update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 5s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 9s
2024-07-18 13:32:49 +02:00
root
268df6a503 update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 9s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 17s
2024-07-18 13:32:03 +02:00
root
78f4027b6a update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 7s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 12s
2024-07-18 13:03:33 +02:00
root
a793dc9fce update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 18s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 2m51s
2024-07-18 12:58:18 +02:00
root
9144f1d47c update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 5s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 1m50s
2024-07-18 11:33:42 +02:00
root
ff386c2fd5 update
Some checks failed
Gitea Actions Minimal EE / Bootstrap-runner (push) Successful in 6s
Gitea Actions Minimal EE / Create-dockerfile-with-ansible-builder (push) Failing after 13s
2024-07-18 10:26:28 +02:00
root
4f941b9bac update
Some checks failed
Gitea Actions Rocky / Bootstrap-runner (push) Successful in 18s
Gitea Actions Rocky / Create-dockerfile-with-ansible-builder (push) Failing after 4m16s
2024-07-18 10:23:52 +02:00
root
cf5a997306 update
All checks were successful
Gitea Actions Centos / Bootstrap-runner (push) Successful in 20s
Gitea Actions Centos / Create-dockerfile-with-ansible-builder (push) Successful in 3m16s
2024-07-18 10:23:29 +02:00
root
dfe10a61b2 update
Some checks failed
Gitea Actions Centos / Bootstrap-runner (push) Successful in 5s
Gitea Actions Centos / Create-dockerfile-with-ansible-builder (push) Failing after 5s
Gitea Actions Rocky / Bootstrap-runner (push) Successful in 4s
Gitea Actions Rocky / Create-dockerfile-with-ansible-builder (push) Failing after 4s
2024-07-18 10:21:49 +02:00
9 changed files with 74 additions and 25 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,6 +32,14 @@ jobs:
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
- run: echo "build 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
run: |
ls ${{ gitea.workspace }}/context
- name: Login to the Container registry - name: Login to the Container registry
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
@@ -41,6 +50,6 @@ jobs:
uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v5
with: with:
context: context context: context
file: context/Containerfile file: context/Dockerfile
push: true push: true
tags: git.hyperon.be/bram/ultimate-ee-centos9 tags: git.hyperon.be/bram/ultimate-ee-centos9

View File

@@ -11,9 +11,10 @@ jobs:
runs-on: docker runs-on: docker
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 minimal-environment.yml -c context-minimal - 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 minimal-environment.yml -c context-minimal
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }}/context-minimal ls ${{ gitea.workspace }}/context-minimal

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,14 @@ 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
run: |
ls ${{ gitea.workspace }}/context-rocky
- name: Login to the Container registry - name: Login to the Container registry
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
@@ -42,6 +49,6 @@ jobs:
uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v5
with: with:
context: context-rocky context: context-rocky
file: context-rocky/Containerfile file: context-rocky/Dockerfile
push: true push: true
tags: git.hyperon.be/bram/ultimate-ee-rocky tags: git.hyperon.be/bram/ultimate-ee-rocky

View File

@@ -0,0 +1,27 @@
name: Build
on:
push:
branches:
- main
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@

View File

@@ -1 +1,4 @@
test test
tst
TESTJE
PASSWORD =TEST

View File

@@ -22,26 +22,22 @@ additional_build_files:
dest: configs dest: configs
additional_build_steps: additional_build_steps:
prepend_base: prepend_base:
- RUN /usr/bin/python3 -m ensurepip - RUN cp /usr/bin/microdnf /usr/bin/dnf && microdnf install python3 -y && /usr/bin/python3 -m ensurepip && /usr/bin/python3 -m pip install --upgrade pip cmake azure-identity azure-cli-core paramiko && $PYCMD -m pip install -U pip
- RUN /usr/bin/python3 -m pip install --upgrade pip
# prepend_galaxy: | # prepend_galaxy: |
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner # RUN pip3 install --upgrade pip setuptools ansible ansible-runner
prepend_galaxy: prepend_galaxy:
- RUN /usr/bin/python3 -m pip install --upgrade pip cmake # - RUN /usr/bin/python3 -m pip install --upgrade pip cmake
- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg - COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg
prepend_final: | #prepend_final: |
RUN whoami #-
RUN cat /etc/os-release
# RUN pip3 install --upgrade pip setuptools ansible ansible-runner # RUN pip3 install --upgrade pip setuptools ansible ansible-runner
# RUN yum install wget unzip gcc python3-devel -y # RUN yum install wget unzip gcc python3-devel -y
append_base: #append_base:
- RUN $PYCMD -m pip install -U pip # - RUN $PYCMD -m pip install -U pip
append_final: append_final:
# - RUN pip3 install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt # - RUN pip3 install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements-azure.txt
- RUN pip3 install --upgrade azure-identity azure-cli-core paramiko
- COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor - COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
- RUN mkdir -p /var/run/receptor - RUN mkdir -p /var/run/receptor && git lfs install --system
- RUN git lfs install --system
#- RUN mkdir -p /etc/ansible #- RUN mkdir -p /etc/ansible
#- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg #- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg

View File

@@ -6,7 +6,7 @@ ipaddr==2.2.0
git+https://github.com/ansible/ansible-sign git+https://github.com/ansible/ansible-sign
ncclient ncclient
paramiko paramiko>=3.4.1
pykerberos pykerberos
pyOpenSSL pyOpenSSL
pypsrp[kerberos,credssp] pypsrp[kerberos,credssp]

2
sonar-project.properties Normal file
View File

@@ -0,0 +1,2 @@
sonar.projectKey=test
sonar.sources=.