add first ci configuration
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is failing

This commit is contained in:
n0vember 2024-03-12 01:23:25 +01:00
parent 68610cc051
commit 12e5d17f19
No known key found for this signature in database
GPG Key ID: 8ECF21687C8F8994

36
.drone.yml Normal file
View File

@ -0,0 +1,36 @@
---
kind: pipeline
name: default
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
steps:
- name: wait for docker
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- echo "$(date) - waiting for docker service"
- until docker ps 2>/dev/null ; do echo "$(date) - not yet..." ; sleep 1 ; done
- echo "$(date) - docker service available"
- name: tests_backup
image: registry.gitlab.com/role_unit/role_unit_containers:build
privileged: true
volumes:
- name: dockersock
path: /var/run
commands:
- docker login --username="n0vember" --password="${registry_token}" git.half-9.net