2023-04-21 19:34:50 +02:00
|
|
|
---
|
2019-05-21 02:30:07 +02:00
|
|
|
kind: pipeline
|
2021-04-10 00:58:23 +02:00
|
|
|
name: python-3-8-alpine-3-13
|
2019-05-21 02:30:07 +02:00
|
|
|
|
2019-12-11 01:41:01 +01:00
|
|
|
services:
|
2019-12-11 01:43:43 +01:00
|
|
|
- name: postgresql
|
2023-04-21 19:03:29 +02:00
|
|
|
image: docker.io/postgres:13.1-alpine
|
2019-12-11 01:41:01 +01:00
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: test
|
|
|
|
POSTGRES_DB: test
|
2023-06-22 23:20:42 +02:00
|
|
|
- name: postgresql2
|
|
|
|
image: docker.io/postgres:13.1-alpine
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: test2
|
|
|
|
POSTGRES_DB: test
|
|
|
|
commands:
|
2023-06-23 00:11:49 +02:00
|
|
|
- docker-entrypoint.sh -p 5433
|
2023-08-04 22:22:44 +02:00
|
|
|
- name: mariadb
|
|
|
|
image: docker.io/mariadb:10.11.4
|
2019-12-12 01:43:01 +01:00
|
|
|
environment:
|
2023-08-04 22:22:44 +02:00
|
|
|
MARIADB_ROOT_PASSWORD: test
|
|
|
|
MARIADB_DATABASE: test
|
|
|
|
- name: mariadb2
|
|
|
|
image: docker.io/mariadb:10.11.4
|
2023-06-22 23:20:42 +02:00
|
|
|
environment:
|
2023-08-04 22:22:44 +02:00
|
|
|
MARIADB_ROOT_PASSWORD: test2
|
|
|
|
MARIADB_DATABASE: test
|
2023-06-22 23:20:42 +02:00
|
|
|
commands:
|
2023-06-23 00:11:49 +02:00
|
|
|
- docker-entrypoint.sh --port=3307
|
2023-08-14 21:43:21 +02:00
|
|
|
- name: not-actually-mysql
|
|
|
|
image: docker.io/mariadb:10.11.4
|
|
|
|
environment:
|
|
|
|
MARIADB_ROOT_PASSWORD: test
|
|
|
|
MARIADB_DATABASE: test
|
|
|
|
- name: not-actually-mysql2
|
|
|
|
image: docker.io/mariadb:10.11.4
|
|
|
|
environment:
|
|
|
|
MARIADB_ROOT_PASSWORD: test2
|
|
|
|
MARIADB_DATABASE: test
|
|
|
|
commands:
|
|
|
|
- docker-entrypoint.sh --port=3307
|
2021-12-29 22:18:50 +01:00
|
|
|
- name: mongodb
|
2023-04-21 19:03:29 +02:00
|
|
|
image: docker.io/mongo:5.0.5
|
2021-12-29 22:18:50 +01:00
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: test
|
2023-06-22 23:20:42 +02:00
|
|
|
- name: mongodb2
|
|
|
|
image: docker.io/mongo:5.0.5
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: root2
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: test2
|
|
|
|
commands:
|
2023-06-23 00:11:49 +02:00
|
|
|
- docker-entrypoint.sh --port=27018
|
2019-12-11 01:41:01 +01:00
|
|
|
|
2021-10-04 22:09:44 +02:00
|
|
|
clone:
|
2021-10-04 22:14:19 +02:00
|
|
|
skip_verify: true
|
2021-10-04 22:09:44 +02:00
|
|
|
|
2019-11-03 00:38:50 +01:00
|
|
|
steps:
|
|
|
|
- name: build
|
2023-04-21 19:03:29 +02:00
|
|
|
image: docker.io/alpine:3.13
|
2023-03-28 21:03:12 +02:00
|
|
|
environment:
|
|
|
|
TEST_CONTAINER: true
|
2019-11-03 00:38:50 +01:00
|
|
|
pull: always
|
|
|
|
commands:
|
2019-12-12 01:43:01 +01:00
|
|
|
- scripts/run-full-tests
|
2019-11-03 00:38:50 +01:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-05-22 06:33:25 +02:00
|
|
|
name: documentation
|
2023-04-20 21:03:51 +02:00
|
|
|
type: exec
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
2019-05-22 06:33:25 +02:00
|
|
|
|
2021-10-04 23:31:15 +02:00
|
|
|
clone:
|
|
|
|
skip_verify: true
|
|
|
|
|
2019-05-22 06:33:25 +02:00
|
|
|
steps:
|
|
|
|
- name: build
|
2023-04-20 08:14:51 +02:00
|
|
|
environment:
|
|
|
|
USERNAME:
|
2019-05-22 06:33:25 +02:00
|
|
|
from_secret: docker_username
|
2023-04-20 08:14:51 +02:00
|
|
|
PASSWORD:
|
2019-05-22 06:33:25 +02:00
|
|
|
from_secret: docker_password
|
2023-04-20 08:14:51 +02:00
|
|
|
IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs
|
|
|
|
commands:
|
|
|
|
- podman login --username "$USERNAME" --password "$PASSWORD" projects.torsion.org
|
2023-04-20 23:19:34 +02:00
|
|
|
- podman build --tag "$IMAGE_NAME" --file docs/Dockerfile --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" .
|
2023-04-20 08:14:51 +02:00
|
|
|
- podman push "$IMAGE_NAME"
|
2021-04-10 00:04:09 +02:00
|
|
|
|
|
|
|
trigger:
|
2021-10-23 18:45:17 +02:00
|
|
|
repo:
|
|
|
|
- borgmatic-collective/borgmatic
|
2021-04-10 00:04:09 +02:00
|
|
|
branch:
|
2023-04-20 06:43:08 +02:00
|
|
|
- main
|