From 86ab0fba86949cb70a8ae92a40e2e7b72eea4269 Mon Sep 17 00:00:00 2001 From: Daniel Weber Date: Sat, 5 Oct 2024 14:49:25 -0400 Subject: [PATCH] Braking pipelines out into main and build_tools pipelines --- .drone.yml | 67 ++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 37 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7455469..0f24cae 100644 --- a/.drone.yml +++ b/.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