2022-07-12 18:44:26 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2023-06-01 16:34:41 +00:00
|
|
|
- name: install-webapp
|
|
|
|
image: node:lts-alpine
|
2022-07-12 18:44:26 +00:00
|
|
|
commands:
|
2023-06-01 16:34:41 +00:00
|
|
|
- cd webapp
|
2023-07-09 19:27:45 +00:00
|
|
|
- corepack pnpm@8.6.6 install
|
2022-07-12 18:44:26 +00:00
|
|
|
|
2023-06-01 16:34:41 +00:00
|
|
|
- name: lint-webapp
|
|
|
|
image: node:lts-alpine
|
2022-07-12 18:44:26 +00:00
|
|
|
commands:
|
2023-06-01 16:34:41 +00:00
|
|
|
- cd webapp
|
2023-07-09 19:27:45 +00:00
|
|
|
- corepack pnpm@8.6.6 lint
|
|
|
|
|
|
|
|
- name: version-webapp
|
|
|
|
image: node:lts-alpine
|
|
|
|
commands:
|
|
|
|
- cd webapp
|
|
|
|
- corepack pnpm@8.6.6 generate-version
|
2023-06-01 16:34:41 +00:00
|
|
|
|
|
|
|
- name: build-webapp
|
|
|
|
image: node:lts-alpine
|
|
|
|
commands:
|
|
|
|
- cd webapp
|
2023-07-09 19:27:45 +00:00
|
|
|
- corepack pnpm@8.6.6 build
|
2022-07-12 18:44:26 +00:00
|
|
|
|
|
|
|
- name: deploy
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: registry.cliffbreak.de
|
2023-06-05 16:05:25 +00:00
|
|
|
repo: registry.cliffbreak.de/hgoe-sas
|
2022-07-12 18:44:26 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
- promote
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|