From 51177f5136a4db18b16afcd0bdb0cd3c94d5a7c4 Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Tue, 7 Oct 2025 07:32:47 -0600 Subject: last initial commit --- ci/.gitignore | 2 +- ci/docker-compose.yaml | 81 ---------------------------------------- ci/docker-compose.yaml.example | 84 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 82 deletions(-) delete mode 100644 ci/docker-compose.yaml create mode 100644 ci/docker-compose.yaml.example (limited to 'ci') diff --git a/ci/.gitignore b/ci/.gitignore index 7ca3a5c..416ae59 100644 --- a/ci/.gitignore +++ b/ci/.gitignore @@ -1,2 +1,2 @@ tmp -docker-start.tar.xz +docker-compose.yaml diff --git a/ci/docker-compose.yaml b/ci/docker-compose.yaml deleted file mode 100644 index 930ed8b..0000000 --- a/ci/docker-compose.yaml +++ /dev/null @@ -1,81 +0,0 @@ -services: - snow: - image: snow:v0.1 - tty: true - build: - context: . - args: - OLO_USERNAME: ${OLO_USERNAME} - OLO_GROUPNAME: ${OLO_GROUPNAME} - OLO_UID: ${OLO_UID} - OLO_GID: ${OLO_GID} - network_mode: "host" - container_name: snow - volumes: - - type: bind - source: /tmp/snow - target: /tmp/snow - - type: bind - source: ~/.aws - target: /home/${OLO_USERNAME}/.aws - - type: bind - source: ~/.terraform.d - target: /home/${OLO_USERNAME}/.terraform.d - - type: bind - source: ~/.m2 - target: /home/${OLO_USERNAME}/.m2 - - type: bind - source: ~/.bashrc - target: /home/${OLO_USERNAME}/.bashrc - - type: bind - source: ~/.bash_history - target: /home/${OLO_USERNAME}/.bash_history - - type: bind - source: ~/.vimrc - target: /home/${OLO_USERNAME}/.vimrc - - type: bind - source: ~/.gitconfig - target: /home/${OLO_USERNAME}/.gitconfig - - type: bind - source: ~/.ssh - target: /home/${OLO_USERNAME}/.ssh - - type: bind - source: ~/.tsh - target: /home/${OLO_USERNAME}/.tsh - - type: bind - source: ~/.local - target: /home/${OLO_USERNAME}/.local - - type: bind - source: ~/.emacs.d - target: /home/${OLO_USERNAME}/.emacs.d - - type: bind - source: ~/.password-store - target: /home/${OLO_USERNAME}/.password-store - - type: bind - source: ~/.gnupg - target: /home/${OLO_USERNAME}/.gnupg - - type: bind - source: /run/user/${OLO_UID} - target: /run/user/${OLO_UID} - - type: bind - source: /run/user/${OLO_UID}/gnupg/S.gpg-agent - target: /home/${OLO_USERNAME}/.gnupg/S.gpg-agent - - type: bind - source: /etc/hosts - target: /etc/hosts - - type: bind - source: /etc/ssh - target: /etc/ssh - - type: bind - source: /var/log/lisp - target: /var/log/lisp - environment: - - TERM=xterm-256color - - AWS_SDK_LOAD_CONFIG=1 - - https_proxy=${https_proxy} - - http_proxy=${http_proxy} - - no_proxy=${no_proxy} - - OLO_PROJECT_HOME=${OLO_PROJECT_HOME} - - GITHUB_TOKEN=${GITHUB_TOKEN} - - GPG_AGENT_INFO=/home/${OLO_USERNAME}/.gnupg/S.gpg-agent:0:1 - command: [ "/bin/bash -l -c" ] diff --git a/ci/docker-compose.yaml.example b/ci/docker-compose.yaml.example new file mode 100644 index 0000000..b9192a2 --- /dev/null +++ b/ci/docker-compose.yaml.example @@ -0,0 +1,84 @@ +services: + snow: + image: snow:v0.1 + tty: true + build: + context: . + args: + OLO_USERNAME: ${OLO_USERNAME} + OLO_GROUPNAME: ${OLO_GROUPNAME} + OLO_UID: ${OLO_UID} + OLO_GID: ${OLO_GID} + network_mode: "host" + container_name: snow + volumes: + - type: bind + source: /tmp/snow + target: /tmp/snow + - type: bind + source: ${OLO_PROJECT_HOME} + target: ${OLO_PROJECT_HOME} + - type: bind + source: ~/.aws + target: /home/${OLO_USERNAME}/.aws + - type: bind + source: ~/.terraform.d + target: /home/${OLO_USERNAME}/.terraform.d + - type: bind + source: ~/.m2 + target: /home/${OLO_USERNAME}/.m2 + - type: bind + source: ~/.bashrc + target: /home/${OLO_USERNAME}/.bashrc + - type: bind + source: ~/.bash_history + target: /home/${OLO_USERNAME}/.bash_history + - type: bind + source: ~/.vimrc + target: /home/${OLO_USERNAME}/.vimrc + - type: bind + source: ~/.gitconfig + target: /home/${OLO_USERNAME}/.gitconfig + - type: bind + source: ~/.ssh + target: /home/${OLO_USERNAME}/.ssh + - type: bind + source: ~/.tsh + target: /home/${OLO_USERNAME}/.tsh + - type: bind + source: ~/.local + target: /home/${OLO_USERNAME}/.local + - type: bind + source: ~/.emacs.d + target: /home/${OLO_USERNAME}/.emacs.d + - type: bind + source: ~/.password-store + target: /home/${OLO_USERNAME}/.password-store + - type: bind + source: ~/.gnupg + target: /home/${OLO_USERNAME}/.gnupg + - type: bind + source: /run/user/${OLO_UID} + target: /run/user/${OLO_UID} + - type: bind + source: /run/user/${OLO_UID}/gnupg/S.gpg-agent + target: /home/${OLO_USERNAME}/.gnupg/S.gpg-agent + - type: bind + source: /etc/hosts + target: /etc/hosts + - type: bind + source: /etc/ssh + target: /etc/ssh + - type: bind + source: /var/log/lisp + target: /var/log/lisp + environment: + - TERM=xterm-256color + - AWS_SDK_LOAD_CONFIG=1 + - https_proxy=${https_proxy} + - http_proxy=${http_proxy} + - no_proxy=${no_proxy} + - OLO_PROJECT_HOME=${OLO_PROJECT_HOME} + - GITHUB_TOKEN=${GITHUB_TOKEN} + - GPG_AGENT_INFO=/home/${OLO_USERNAME}/.gnupg/S.gpg-agent:0:1 + command: [ "/bin/bash -l -c" ] -- cgit v1.3