From 5b840c397068901b934516d9714aeabe1c3f38e6 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 14 Mar 2025 10:15:13 -0600 Subject: chore: switch to debian in ci b/c playwright drivers need glibc --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a0bab42..048ce8b5 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 -- cgit v1.2.3