mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-08 10:26:35 +00:00
Compare commits
2 Commits
974a83fe6e
...
79db2419a6
| Author | SHA1 | Date | |
|---|---|---|---|
| 79db2419a6 | |||
| c424afa935 |
6
.github/workflows/test-cli.yml
vendored
6
.github/workflows/test-cli.yml
vendored
@@ -21,12 +21,12 @@ jobs:
|
||||
|
||||
- name: Clean build artifacts
|
||||
run: |
|
||||
docker run --rm infinito:latest make clean
|
||||
docker run --rm infinito:latest infinito make clean
|
||||
|
||||
- name: Generate project outputs
|
||||
run: |
|
||||
docker run --rm infinito:latest make build
|
||||
docker run --rm infinito:latest infinito make build
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker run --rm infinito:latest make test
|
||||
docker run --rm infinito:latest infinito make test
|
||||
|
||||
@@ -59,9 +59,4 @@ RUN INFINITO_PATH=$(pkgmgr path infinito) && \
|
||||
ln -sf "$INFINITO_PATH"/main.py /usr/local/bin/infinito && \
|
||||
chmod +x /usr/local/bin/infinito
|
||||
|
||||
# 10) Run integration tests
|
||||
# This needed to be deactivated becaus it doesn't work with gitthub workflow
|
||||
#RUN INFINITO_PATH=$(pkgmgr path infinito) && \
|
||||
# cd "$INFINITO_PATH" && \
|
||||
# make test
|
||||
CMD ["infinito --help"]
|
||||
CMD sh -c "infinito --help && exec tail -f /dev/null"
|
||||
|
||||
2
Makefile
2
Makefile
@@ -73,7 +73,7 @@ messy-test:
|
||||
@echo "🧪 Running Python tests…"
|
||||
PYTHONPATH=. python -m unittest discover -s tests
|
||||
@echo "📑 Checking Ansible syntax…"
|
||||
ansible-playbook playbook.yml --syntax-check
|
||||
ansible-playbook -i localhost, -c local $(foreach f,$(wildcard group_vars/all/*.yml),-e @$(f)) playbook.yml --syntax-check
|
||||
|
||||
install: build
|
||||
@echo "⚙️ Install complete."
|
||||
|
||||
@@ -8,8 +8,8 @@ services:
|
||||
network: host
|
||||
pull_policy: never
|
||||
container_name: infinito_nexus
|
||||
image: infinito_nexus
|
||||
restart: unless-stopped
|
||||
command: tail -f /dev/null
|
||||
volumes:
|
||||
- data:/var/lib/docker/volumes/
|
||||
- backups:/Backups/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- name: Execute {{ SOFTWARE_NAME }} Play
|
||||
- name: "Execute {{ SOFTWARE_NAME }} Play"
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: "Load 'constructor' tasks"
|
||||
|
||||
Reference in New Issue
Block a user