Removed the testing pipeline and updated the dev license pipeline

ref #59
This commit is contained in:
Nicolai Ort 2020-12-30 21:24:51 +01:00
parent 625340cf8a
commit 875781335c
1 changed files with 3 additions and 26 deletions

View File

@ -38,12 +38,13 @@ steps:
- dev
registry: registry.odit.services
- name: run full license export
depends_on: ["clone"]
image: node:alpine
depends_on: [clone]
commands:
- yarn
- yarn licenses:full
- name: push new licenses file to repo
depends_on: ["run full license export"]
image: appleboy/drone-git-push
settings:
branch: dev
@ -117,28 +118,4 @@ steps:
from_secret: BOT_DRONE_KEY
trigger:
event:
- tag
---
kind: pipeline
type: docker
name: export:licenses
steps:
- name: run full license export
depends_on: ["clone"]
image: node:alpine
commands:
- yarn
- yarn licenses:full
- name: push new licenses file to repo
depends_on: ["run full license export"]
image: appleboy/drone-git-push
settings:
branch: feature/59-license_collection
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
- tag