File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ yaml_lint:
2121 - " **/*.yaml.j2"
2222 allow_failure : true
2323
24- sync-to-clean :
24+ sync_to_clean :
2525 stage : sync
2626 image : alpine:latest
2727 only :
Original file line number Diff line number Diff line change @@ -12,15 +12,19 @@ include:
1212
1313update_invidious :
1414 stage : update_services
15- image : docker:latest
16- services : []
15+ image :
16+ name : registry.gitlab.local.ildoc.it/devops/ansible-vault:92eaccbb67b7fa59dce7de1a69887132bee8fe51
17+ entrypoint : [""]
1718 extends :
18- - .rules_update_invidious
19+ # - .rules_update_invidious
1920 - .ssh_setup
2021 variables :
21- DOCKER_HOST : unix:///var/run/docker.sock
2222 SERVER_IP : $INVIDIOUS_SSH_SERVER_IP
23- before_script :
24- - apk add --no-cache docker-cli
23+ VAULT_ROLE_ID : $VAULT_ROLE_ID
24+ VAULT_SECRET_ID : $VAULT_SECRET_ID
2525 script :
26- - docker run --rm -e VAULT_ROLE_ID=$VAULT_ROLE_ID -e VAULT_SECRET_ID=$VAULT_SECRET_ID -v ansible:/app/playbooks registry.gitlab.local.ildoc.it/devops/ansible-vault:09e0f45efdcdb6abb72cc93790bf4018c4db07d8 invidious.yml
26+ - mkdir /app/playbooks
27+ - cp -R $CI_PROJECT_DIR/ansible/* /app/playbooks/
28+ - echo "Starting image entrypoint..."
29+ - chmod +x /app/entrypoint.sh
30+ - /bin/sh /app/entrypoint.sh invidious.yml
You can’t perform that action at this time.
0 commit comments