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
|
kind: pipeline
|
||||||
type: docker
|
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
|
name: chessboard
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
@ -7,43 +31,12 @@ trigger:
|
|||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
- custom
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: git.pipsquire.com/djweber12/Chess_Board_Sim:latest
|
image: git.pipsquire.com/djweber12/Chess_Board_Sim:latest
|
||||||
commands:
|
commands:
|
||||||
- cmake -S . -B build
|
- cmake -S . -B build
|
||||||
- cmake --build 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
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user