docker-ubuntu-vnc-desktop/.semaphore/semaphore.yml

37 lines
961 B
YAML

version: v1.0
name: Initial Pipeline
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
blocks:
- name: Setup
task:
jobs:
- name: Checkout
commands:
- checkout
secrets:
- name: Dockerhub
promotions:
- name: Deploy RC
pipeline_file: pipeline_rc.yml
auto_promote:
when: branch = 'release' AND result = 'passed'
- name: Deploy RC 22.04
pipeline_file: pipeline_rc_22.yml
auto_promote:
when: branch = 'release' AND result = 'passed'
- name: Deploy RC No Desktop
pipeline_file: pipeline_rc_no_desktop.yml
auto_promote:
when: branch = 'release' AND result = 'passed'
- name: Deploy Prod
pipeline_file: pipeline_prod.yml
auto_promote:
when: branch = 'master' AND result = 'passed'
- name: Deploy Prod No Desktop
pipeline_file: pipeline_prod_no_desktop.yml
auto_promote:
when: branch = 'master' AND result = 'passed'