feature/Appointment-Booking #2
50
.drone.yml
50
.drone.yml
@ -56,7 +56,7 @@ steps:
|
|||||||
force_tag: true
|
force_tag: true
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- pr-build-${sed 's/\//-/g' <<< ${DRONE_BRANCH}}
|
- pr-build-${replace("${DRONE_BRANCH}", "/", "-")}
|
||||||
- name: Build and Push (Staging) Container Image
|
- name: Build and Push (Staging) Container Image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
when:
|
when:
|
||||||
@ -102,54 +102,6 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
# - name: deploy-staging
|
|
||||||
# image: plugins/ansible:latest
|
|
||||||
# settings:
|
|
||||||
# playbook: ansible/playbook.staging.yml
|
|
||||||
# galaxy: ansible/requirements.yml
|
|
||||||
# inventory: ansible/inventory.yml
|
|
||||||
# become_user: bside
|
|
||||||
# user: bside
|
|
||||||
# verbose: 4
|
|
||||||
# become: true
|
|
||||||
# list_tasks: true
|
|
||||||
# list_hosts: true
|
|
||||||
# private_key:
|
|
||||||
# from_secret: STAGING_SERVER_PRIVATE_KEY
|
|
||||||
# trigger:
|
|
||||||
# branch:
|
|
||||||
# - master
|
|
||||||
# - prod
|
|
||||||
# - qa
|
|
||||||
# - feature/*
|
|
||||||
# event:
|
|
||||||
# - push
|
|
||||||
# - pull_request
|
|
||||||
# ---
|
|
||||||
# kind: pipeline
|
|
||||||
# type: exec
|
|
||||||
# name: staging-deploy
|
|
||||||
|
|
||||||
# platform:
|
|
||||||
# os: linux
|
|
||||||
# arch: amd64
|
|
||||||
|
|
||||||
# steps:
|
|
||||||
# - name: ansible-deploy
|
|
||||||
# commands:
|
|
||||||
# - ansible --version
|
|
||||||
# - ansible-galaxy install --force --role-file ansible/requirements.yml -vvvv
|
|
||||||
# - ansible-playbook --inventory ansible/inventory.yml --list-hosts ansible/playbook.staging.yml
|
|
||||||
# trigger:
|
|
||||||
# branch:
|
|
||||||
# - master
|
|
||||||
# - prod
|
|
||||||
# - qa
|
|
||||||
# - feature/*
|
|
||||||
# event:
|
|
||||||
# - push
|
|
||||||
# - pull_request
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
host:
|
host:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user