This repository has been archived on 2026-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
coder-templates/argocd.tf.j2
Steve McMaster 212b0ce9f5
Some checks failed
continuous-integration/drone/push Build is failing
Refactor
2023-11-30 19:37:30 -05:00

13 lines
415 B
Django/Jinja

{% extends "base.tf.j2" %}
{% block post_startup_script_setup_home %}
[ -d "argocd" ] || mkdir argocd
for REPO in kub odjur kortslutning strukturera ; do
[ -d "argocd/$REPO" ] || git clone git@git-ssh.smcm.xyz:argocd/$REPO.git
( cd argocd/$REPO && git pull )
done
git config --global user.name "Steve McMaster"
git config --global user.email "steve@mcmaster.io"
{% endblock %}