Compare commits
1 Commits
f0f72d3ac6
...
e2f90ffb80
Author | SHA1 | Date | |
---|---|---|---|
e2f90ffb80 |
@ -1,11 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: docker
|
- hosts: docker
|
||||||
tasks:
|
tasks:
|
||||||
- name: registry login
|
|
||||||
docker_login:
|
|
||||||
username: "{{ registry_login }}"
|
|
||||||
password: "{{ registry_password }}"
|
|
||||||
|
|
||||||
- name: deploy draft
|
- name: deploy draft
|
||||||
docker_container:
|
docker_container:
|
||||||
name: "bouquins_draft_{{ draft_name }}"
|
name: "bouquins_draft_{{ draft_name }}"
|
||||||
|
@ -56,11 +56,6 @@ steps:
|
|||||||
|
|
||||||
- name: deploy-branch
|
- name: deploy-branch
|
||||||
image: plugins/ansible:1
|
image: plugins/ansible:1
|
||||||
environment:
|
|
||||||
registry_login:
|
|
||||||
from_secret: registry_login
|
|
||||||
registry_password:
|
|
||||||
from_secret: registry_password
|
|
||||||
settings:
|
settings:
|
||||||
playbook: .ansible/deploy-draft.yml
|
playbook: .ansible/deploy-draft.yml
|
||||||
inventory: .ansible/inventory
|
inventory: .ansible/inventory
|
||||||
@ -68,8 +63,6 @@ steps:
|
|||||||
from_secret: drone_ssh_key
|
from_secret: drone_ssh_key
|
||||||
extra_vars:
|
extra_vars:
|
||||||
- draft_name=${DRONE_BRANCH##feature/}
|
- draft_name=${DRONE_BRANCH##feature/}
|
||||||
- registry_login=${registry_login}
|
|
||||||
- registry_password=${registry_password}
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- feature/*
|
- feature/*
|
||||||
@ -81,6 +74,6 @@ trigger:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: b318e85797aceda52c80262ca1cb712968e997993218816d6bea731b846531aa
|
hmac: 6d31a8c73df2a63f6f04334ebf20ad9c7e4a992acb15097b1f887433748f0fd7
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user