migrate to cont1.noris
This commit is contained in:
46
.drone.yml
46
.drone.yml
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user