Woodpecker CI: Work around script entrypoint truncation

This commit is contained in:
Lain Soykaf 2026-05-02 13:38:56 +04:00
commit 47e6dbfade
No known key found for this signature in database
6 changed files with 56 additions and 0 deletions

View file

@ -8,9 +8,16 @@ when:
depends_on:
- lint
variables:
script_file_entrypoint: &script_file_entrypoint
- /bin/sh
- -c
- 'printf "%s" "$CI_SCRIPT" | base64 -d > /tmp/ci-script.sh && /bin/sh -xe /tmp/ci-script.sh'
steps:
unit-testing-elixir-1.18:
image: elixir:1.18-otp-27-alpine
entrypoint: *script_file_entrypoint
environment:
MIX_ENV: test
DB_HOST: postgres