Try again

This commit is contained in:
2022-03-14 14:35:54 +13:00
parent cc3fc78afc
commit 07af261205

View File

@@ -1,15 +1,15 @@
---
- kind: pipeline
name: Test on centos7
services:
- image: docker:dind
kind: pipeline
name: Test on centos7
services:
- image: docker:dind
name: docker
privileged: true
volumes:
name: dockersock
path: /var/run
steps:
- - commands:
steps:
- - commands:
- sleep 10
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
@@ -35,21 +35,63 @@
status:
- changed
- failure
type: docker
volumes:
type: docker
volumes:
name: dockersock
temp: {}
- kind: pipeline
name: Test on debian10
services:
- image: docker:dind
---
kind: pipeline
name: Test on centos8
services:
- image: docker:dind
name: docker
privileged: true
volumes:
name: dockersock
path: /var/run
steps:
- - commands:
steps:
- - commands:
- sleep 10
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
- cd ${DRONE_REPO_NAME}
- molecule test
environment:
MOLECULE_DISTRO: centos8
image: guisea/ansible-molecule:latest
name: Test on centos8
volumes:
name: dockersock
path: /var/run
- image: drillster/drone-email
name: notify by email
settings:
from: drone@guise.net.nz
host: mail.guise.net.nz
password:
from_secret: EMAIL_PASS
username:
from_secret: EMAIL_USER
when:
status:
- changed
- failure
type: docker
volumes:
name: dockersock
temp: {}
---
kind: pipeline
name: Test on debian10
services:
- image: docker:dind
name: docker
privileged: true
volumes:
name: dockersock
path: /var/run
steps:
- - commands:
- sleep 10
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
@@ -75,21 +117,22 @@
status:
- changed
- failure
type: docker
volumes:
type: docker
volumes:
name: dockersock
temp: {}
- kind: pipeline
name: Test on debian11
services:
- image: docker:dind
---
kind: pipeline
name: Test on debian11
services:
- image: docker:dind
name: docker
privileged: true
volumes:
name: dockersock
path: /var/run
steps:
- - commands:
steps:
- - commands:
- sleep 10
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
@@ -115,7 +158,7 @@
status:
- changed
- failure
type: docker
volumes:
type: docker
volumes:
name: dockersock
temp: {}