2023-01-27 17:41:05 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: deployment
|
|
|
|
|
2023-02-03 18:01:06 +00:00
|
|
|
steps:
|
2023-02-03 18:02:40 +00:00
|
|
|
- name: deploy
|
2023-02-03 18:01:06 +00:00
|
|
|
image: appleboy/drone-ssh
|
|
|
|
settings:
|
2024-04-19 18:20:01 +01:00
|
|
|
host: 192.168.1.115
|
2023-02-03 18:01:06 +00:00
|
|
|
username: vylpes
|
|
|
|
password:
|
|
|
|
from_secret: ssh_password
|
|
|
|
port: 22
|
|
|
|
script:
|
|
|
|
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
2023-01-27 17:41:05 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
2023-06-30 17:16:46 +01:00
|
|
|
- tag
|
2023-01-27 17:41:05 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: staging
|
|
|
|
|
2023-02-03 18:01:06 +00:00
|
|
|
steps:
|
2023-02-03 18:02:40 +00:00
|
|
|
- name: stage
|
2023-02-03 18:01:06 +00:00
|
|
|
image: appleboy/drone-ssh
|
|
|
|
settings:
|
2024-04-19 18:20:01 +01:00
|
|
|
host: 192.168.1.115
|
2023-02-03 18:01:06 +00:00
|
|
|
username: vylpes
|
|
|
|
password:
|
|
|
|
from_secret: ssh_password
|
|
|
|
port: 22
|
|
|
|
script:
|
|
|
|
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
2023-01-27 17:41:05 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- develop
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: integration
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn install --frozen-lockfile
|
|
|
|
- yarn build
|
|
|
|
|
2023-09-29 18:00:29 +01:00
|
|
|
# - name: test
|
|
|
|
# image: node
|
|
|
|
# commands:
|
|
|
|
# - yarn install --frozen-lockfile
|
|
|
|
# - yarn test
|
2023-01-27 17:41:05 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
- develop
|
|
|
|
- hotfix/*
|
|
|
|
- feature/*
|
|
|
|
- renovate/*
|
|
|
|
event:
|
|
|
|
- push
|
2023-06-30 17:16:46 +01:00
|
|
|
- pull_request
|