Braking pipelines out into main and build_tools pipelines
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
This commit is contained in:
parent
b284eea463
commit
86ab0fba86
67
.drone.yml
67
.drone.yml
@ -1,5 +1,29 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: chessboard_builder
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- build_tools
|
||||
event:
|
||||
- push
|
||||
- custom
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: git.pipsquire.com/djweber12/Chess_Board_Sim
|
||||
registry: git.pipsquire.com
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: chessboard
|
||||
|
||||
trigger:
|
||||
@ -7,43 +31,12 @@ trigger:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
- custom
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: git.pipsquire.com/djweber12/Chess_Board_Sim:latest
|
||||
commands:
|
||||
- cmake -S . -B build
|
||||
- cmake --build build
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: chessboard_builder
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: git.pipsquire.com/djweber12/Chess_Board_Sim
|
||||
registry: git.pipsquire.com
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
|
||||
#
|
||||
# - name: test
|
||||
# image: foo:latest
|
||||
# commands:
|
||||
# - cmake -s . -b build
|
||||
# - cmake --build build
|
||||
#
|
||||
# volumes:
|
||||
# - name: dockersock
|
||||
- name: build
|
||||
image: git.pipsquire.com/djweber12/Chess_Board_Sim:latest
|
||||
commands:
|
||||
- cmake -S . -B build
|
||||
- cmake --build build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user