migrate to cont1.noris

This commit is contained in:
2021-07-14 15:51:32 +02:00
parent ac4673f8f7
commit 4b32063c0e
2 changed files with 27 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V.
#
# SPDX-License-Identifier: CC0-1.0
---
kind: pipeline
name: default
@@ -10,25 +10,29 @@ platform:
arch: amd64
steps:
- name: deploy
pull: if-not-exists
image: docker/compose:1.29.0
commands:
- docker-compose up --build -d
volumes:
- name: dockersock
path: /var/run/docker.sock
when:
branch:
- master
event:
- push
- tag
- deployment
- name: deploy
pull: if-not-exists
image: docker/compose:1.29.2
environment:
XDG_RUNTIME_DIR: "/run/user/1001"
DOCKER_HOST: "unix:///run/user/1001/docker.sock"
commands:
- docker-compose --project-name reminder-mails up --build -d
volumes:
- name: dockersock
path: /run/user/1001/docker.sock
when:
branch:
- master
event:
- push
- tag
- deployment
node:
cont1: noris
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
...
- name: dockersock
host:
path: /run/user/1001/docker.sock

View File

@@ -1,8 +1,8 @@
# SPDX-FileCopyrightText: 2019 Free Software Foundation Europe e.V.
#
# SPDX-License-Identifier: CC0-1.0
version: '3'
---
version: "3"
services:
reminder-mails:
container_name: reminder-mails