mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 18:05:09 +00:00
Refactor CI workflows and fix timezone handling in containers
- Renamed test-cli.yml to test-code.yml and updated job name. - Extended timeout for test-deploy workflow from 30 to 240 minutes. - Skipped Ansible timezone configuration inside Docker/Podman/containerd to avoid write errors in CI. - Added --skip-tests to the initial deploy step for improved CI stability. Origin: https://chatgpt.com/share/69301c58-6628-800f-9e3a-f026c01b6e17
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
execute-tests:
|
||||
test-code:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
|
||||
4
.github/workflows/test-deploy.yml
vendored
4
.github/workflows/test-deploy.yml
vendored
@@ -9,7 +9,7 @@ on:
|
||||
jobs:
|
||||
test-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 240
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
VAULT_FILE="inventories/github-ci/.password"
|
||||
|
||||
# First deploy with debug
|
||||
infinito deploy "$INVENTORY_PATH" -T server -p "$VAULT_FILE" --debug
|
||||
infinito deploy "$INVENTORY_PATH" -T server -p "$VAULT_FILE" --debug --skip-tests
|
||||
'
|
||||
|
||||
# 2) Second deploy: reset + debug
|
||||
|
||||
Reference in New Issue
Block a user