summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-14 10:15:13 -0600
committermo khan <mo@mokhan.ca>2025-03-14 10:15:13 -0600
commit5b840c397068901b934516d9714aeabe1c3f38e6 (patch)
tree179d6eb29b25e255c696ebd2d494e4570f2fbd42 /.gitlab-ci.yml
parent97be97f0e246ef741d3b367e353abe91a67a16ed (diff)
chore: switch to debian in ci b/c playwright drivers need glibc
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a0bab4..048ce8b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,11 @@
test:
- image: golang:1.24-alpine
- variables:
- PLAYWRIGHT_NODEJS_PATH: /usr/bin/node
+ image: golang:1.24-bookworm
script:
- - apk add --no-cache bash build-base firefox chromium git go make nodejs npm openssl-dev ruby ruby-bundler ruby-dev
+ - apt-get install -y build-essential chromium nodejs npm ruby-bundler ruby-dev libffi-dev zlib1g-dev libyaml-dev
+ - curl https://mise.run | sh
+ - ~/.local/bin/mise install
+ - echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
+ - echo '127.0.0.1 api.example.com' >> /etc/hosts
+ - echo '127.0.0.1 idp.example.com' >> /etc/hosts
+ - echo '127.0.0.1 ui.example.com' >> /etc/hosts
- make