A minimalistic website to store and view my favourite poems. https://poems.xirion.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

62 lines
1.3 KiB

---
kind: pipeline
type: kubernetes
name: default
steps:
- name: restore cache
image: harbor.xirion.net/hub/plugins/s3-cache
settings:
pull: true
endpoint: http://192.168.0.112:9000
root: drone
restore: true
access_key:
from_secret: MINIO_ACCESS_KEY
secret_key:
from_secret: MINIO_SECRET_KEY
- name: test
image: harbor.xirion.net/hub/library/elixir
commands:
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
- mix test
- name: rebuild cache
image: harbor.xirion.net/hub/plugins/s3-cache
settings:
pull: true
root: drone
endpoint: http://192.168.0.112:9000
access_key:
from_secret: MINIO_ACCESS_KEY
secret_key:
from_secret: MINIO_SECRET_KEY
rebuild: true
mount:
- deps
- _build
when:
event: push
- name: kaniko
image: ghcr.io/finitum/drone-kaniko:edge
when:
branch: [main]
settings:
cache: true
username:
from_secret: REGISTRY_USER
password:
from_secret: REGISTRY_PASSWORD
registry: registry.xirion.net
repo: library/dps
tags: latest
services:
- name: postgres
image: harbor.xirion.net/hub/library/postgres:13-alpine
environment:
POSTGRES_DB: dps_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres