Compare commits

..

3 Commits

Author SHA1 Message Date
472e402521 disabled dev build temporary
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
ref #63
2021-01-13 18:42:33 +01:00
a3f282667c Merge branch 'dev' of git.odit.services:lfk/backend into dev
# Conflicts:
#	.drone.yml
2021-01-13 18:42:01 +01:00
b86263d972 Disabled custom clone
ref #63
2021-01-13 18:41:02 +01:00

View File

@ -25,18 +25,18 @@ type: docker
name: build:dev name: build:dev
steps: steps:
- name: build dev # - name: build dev
image: plugins/docker # image: plugins/docker
depends_on: [clone] # depends_on: [clone]
settings: # settings:
username: # username:
from_secret: DOCKER_REGISTRY_USER # from_secret: DOCKER_REGISTRY_USER
password: # password:
from_secret: DOCKER_REGISTRY_PASSWORD # from_secret: DOCKER_REGISTRY_PASSWORD
repo: registry.odit.services/lfk/backend # repo: registry.odit.services/lfk/backend
tags: # tags:
- dev # - dev
registry: registry.odit.services # registry: registry.odit.services
- name: run full license export - name: run full license export
depends_on: ["clone"] depends_on: ["clone"]
image: node:14.15.1-alpine3.12 image: node:14.15.1-alpine3.12
@ -64,19 +64,22 @@ trigger:
--- ---
kind: pipeline kind: pipeline
name: pr:generate_changelog name: pr:generate_changelog
clone:
disable: true
steps: steps:
- name: checkout pr - name: checkout pr
image: alpine/git image: alpine/git
commands: commands:
- git checkout dev - git clone $DRONE_REMOTE_URL .
- name: generate changelog - git checkout $DRONE_SOURCE_BRANCH
- name: run changelog export
image: node:latest image: node:latest
commands: commands:
- npx auto-changelog --commit-limit false -p -u --hide-credit - npx auto-changelog --commit-limit false -p -u --hide-credit
- name: push new licenses file to repo - name: push new licenses file to repo
image: appleboy/drone-git-push image: appleboy/drone-git-push
settings: settings:
branch: dev branch: $DRONE_SOURCE_BRANCH
commit: true commit: true
commit_message: 🧾New changelog file version [CI SKIP] commit_message: 🧾New changelog file version [CI SKIP]
author_email: bot@odit.services author_email: bot@odit.services