2022-11-22 15:00:04 +01:00
|
|
|
# kind: pipeline
|
|
|
|
# type: ssh
|
|
|
|
# name: scoutrobot
|
|
|
|
#
|
|
|
|
# server:
|
|
|
|
# host: zoomyboy.de
|
|
|
|
# user: stammsilva
|
|
|
|
# ssh_key:
|
|
|
|
# from_secret: private_key
|
|
|
|
#
|
|
|
|
# clone:
|
|
|
|
# disable: true
|
|
|
|
#
|
|
|
|
# steps:
|
|
|
|
# - name: master
|
|
|
|
# commands:
|
|
|
|
# - /usr/local/bin/deploy_scoutrobot_master
|
|
|
|
# when:
|
|
|
|
# branch:
|
|
|
|
# - master
|
|
|
|
# event:
|
|
|
|
# - push
|
|
|
|
#
|
2021-08-22 11:59:01 +02:00
|
|
|
kind: pipeline
|
2022-11-22 15:00:04 +01:00
|
|
|
type: docker
|
|
|
|
name: default
|
2021-08-22 11:59:01 +02:00
|
|
|
|
|
|
|
steps:
|
2022-11-22 15:00:04 +01:00
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- name: test
|
|
|
|
image: docker:latest
|
|
|
|
commands:
|
|
|
|
- docker build -t scoutrobot .
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|