Compare commits

..

2 commits

Author SHA1 Message Date
4e5385efa5
run docker build
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
2026-02-23 17:28:23 +01:00
3443245e71
fix: update debian image to trixie (stable) to fix imprintor glibc version mismatch
Some checks reported errors
continuous-integration/drone/push Build was killed
2026-02-23 17:19:30 +01:00
2 changed files with 105 additions and 105 deletions

View file

@ -1,107 +1,107 @@
# kind: pipeline kind: pipeline
# type: docker type: docker
# name: check-fast name: check-fast
#
# services: services:
# - name: postgres - name: postgres
# image: docker.io/library/postgres:18.1 image: docker.io/library/postgres:18.1
# environment: environment:
# POSTGRES_USER: postgres POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres POSTGRES_PASSWORD: postgres
#
# #trigger: #trigger:
# # event: # event:
# # - push # - push
#
# steps: steps:
# - name: compute cache key - name: compute cache key
# image: docker.io/library/elixir:1.18.3-otp-27 image: docker.io/library/elixir:1.18.3-otp-27
# commands: commands:
# - mix_lock_hash=$(sha256sum mix.lock | cut -d ' ' -f 1) - mix_lock_hash=$(sha256sum mix.lock | cut -d ' ' -f 1)
# - echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/$mix_lock_hash" >> .cache_key - echo "$DRONE_REPO_OWNER/$DRONE_REPO_NAME/$mix_lock_hash" >> .cache_key
# # Print cache key for debugging # Print cache key for debugging
# - cat .cache_key - cat .cache_key
#
# - name: restore-cache - name: restore-cache
# image: drillster/drone-volume-cache image: drillster/drone-volume-cache
# settings: settings:
# restore: true restore: true
# mount: mount:
# - ./deps - ./deps
# - ./_build - ./_build
# ttl: 30 ttl: 30
# volumes: volumes:
# - name: cache - name: cache
# path: /cache path: /cache
#
# - name: lint - name: lint
# image: docker.io/library/elixir:1.18.3-otp-27 image: docker.io/library/elixir:1.18.3-otp-27
# commands: commands:
# # Install hex package manager # Install hex package manager
# - mix local.hex --force - mix local.hex --force
# # Fetch dependencies # Fetch dependencies
# - mix deps.get - mix deps.get
# # Check for compilation errors & warnings # Check for compilation errors & warnings
# - mix compile --warnings-as-errors - mix compile --warnings-as-errors
# # Check formatting # Check formatting
# - mix format --check-formatted - mix format --check-formatted
# # Security checks # Security checks
# - mix sobelow --config - mix sobelow --config
# # Check dependencies for known vulnerabilities # Check dependencies for known vulnerabilities
# - mix deps.audit - mix deps.audit
# # Check for dependencies that are not maintained anymore # Check for dependencies that are not maintained anymore
# - mix hex.audit - mix hex.audit
# # Provide hints for improving code quality # Provide hints for improving code quality
# - mix credo - mix credo
# # Check that translations are up to date # Check that translations are up to date
# - mix gettext.extract --check-up-to-date - mix gettext.extract --check-up-to-date
#
# - name: wait_for_postgres - name: wait_for_postgres
# image: docker.io/library/postgres:18.1 image: docker.io/library/postgres:18.1
# commands: commands:
# # Wait for postgres to become available # Wait for postgres to become available
# - | - |
# for i in {1..20}; do for i in {1..20}; do
# if pg_isready -h postgres -U postgres; then if pg_isready -h postgres -U postgres; then
# exit 0 exit 0
# else else
# true true
# fi fi
# sleep 2 sleep 2
# done done
# echo "Postgres did not become available, aborting." echo "Postgres did not become available, aborting."
# exit 1 exit 1
#
# - name: test-fast - name: test-fast
# image: docker.io/library/elixir:1.18.3-otp-27 image: docker.io/library/elixir:1.18.3-otp-27
# environment: environment:
# MIX_ENV: test MIX_ENV: test
# TEST_POSTGRES_HOST: postgres TEST_POSTGRES_HOST: postgres
# TEST_POSTGRES_PORT: 5432 TEST_POSTGRES_PORT: 5432
# commands: commands:
# # Install hex package manager # Install hex package manager
# - mix local.hex --force - mix local.hex --force
# # Fetch dependencies # Fetch dependencies
# - mix deps.get - mix deps.get
# # Run fast tests (excludes slow/performance and UI tests) # Run fast tests (excludes slow/performance and UI tests)
# - mix test --exclude slow --exclude ui --max-cases 2 - mix test --exclude slow --exclude ui --max-cases 2
#
# - name: rebuild-cache - name: rebuild-cache
# image: drillster/drone-volume-cache image: drillster/drone-volume-cache
# settings: settings:
# rebuild: true rebuild: true
# mount: mount:
# - ./deps - ./deps
# - ./_build - ./_build
# volumes: volumes:
# - name: cache - name: cache
# path: /cache path: /cache
#
# volumes: volumes:
# - name: cache - name: cache
# host: host:
# path: /tmp/drone_cache path: /tmp/drone_cache
#
# --- # ---
# kind: pipeline # kind: pipeline
# type: docker # type: docker

View file

@ -11,7 +11,7 @@
# - https://pkgs.org/ - resource for finding needed packages # - https://pkgs.org/ - resource for finding needed packages
# - Ex: hexpm/elixir:1.18.3-erlang-27.3-debian-trixie-20260202-slim # - Ex: hexpm/elixir:1.18.3-erlang-27.3-debian-trixie-20260202-slim
# #
ARG BUILDER_IMAGE="hexpm/elixir:1.18.3-erlang-27.3-debian-trixie-20260202-slim" ARG BUILDER_IMAGE="hexpm/elixir:1.18.3-erlang-27.3-debian-trixie-20260202-slim
ARG RUNNER_IMAGE="debian:trixie-20260202-slim" ARG RUNNER_IMAGE="debian:trixie-20260202-slim"
FROM ${BUILDER_IMAGE} AS builder FROM ${BUILDER_IMAGE} AS builder