Added test pipeline for automatic license export
continuous-integration/drone/push Build is passing Details

ref #59
This commit is contained in:
Nicolai Ort 2020-12-30 21:13:32 +01:00
parent 62c7f26540
commit c9378e6cae
1 changed files with 25 additions and 2 deletions

View File

@ -42,7 +42,7 @@ steps:
depends_on: [clone]
commands:
- yarn
- yarn licenses:export
- yarn licenses:full
- name: push new licenses file to repo
image: appleboy/drone-git-push
settings:
@ -117,4 +117,27 @@ steps:
from_secret: BOT_DRONE_KEY
trigger:
event:
- tag
- tag
---
kind: pipeline
type: docker
name: export:licenses
steps:
- name: run full license export
image: node:alpine
depends_on: [clone]
commands:
- yarn
- yarn licenses:full
- name: push new licenses file to repo
image: appleboy/drone-git-push
settings:
branch: dev
commit: true
commit_message: new license file version [CI SKIP]
author_email: bot@odit.services
remote: git@git.odit.services:lfk/backend.git
ssh_key:
from_secret: GITLAB_SSHKEY