diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-09 14:14:01 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-09 14:14:01 -0600 |
| commit | eb2357ac5fd972920b0a87a362906fe9fb066a7b (patch) | |
| tree | 3f07d0b030e40b6455ebc17c48015e5bd7ed36b8 /bin/bootstrap | |
| parent | 86bb7be6296382af734870bf8724fa67c25ffc5e (diff) | |
chore: fix integration tests in ci
Diffstat (limited to 'bin/bootstrap')
| -rw-r--r-- | bin/bootstrap | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/bootstrap b/bin/bootstrap new file mode 100644 index 0000000..53d8011 --- /dev/null +++ b/bin/bootstrap @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +[ -n "$DEBUG" ] && set -x + +cd "$(dirname "$0")/.." + +apt update -y && apt install -y gpg wget curl +install -dm 755 /etc/apt/keyrings +wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | tee /etc/apt/keyrings/mise-archive-keyring.gpg 1> /dev/null +echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=amd64] https://mise.jdx.dev/deb stable main" | tee /etc/apt/sources.list.d/mise.list +apt update +apt install -y mise +mise install |
