Drone images to odit registry
This commit is contained in:
parent
d95c6d3365
commit
6ad56b3126
13
.drone.yml
13
.drone.yml
@ -29,7 +29,7 @@ get:
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
name: tests:node_14.15.1-alpine3.12
|
name: tests:node
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
steps:
|
steps:
|
||||||
@ -39,7 +39,7 @@ steps:
|
|||||||
- git clone $DRONE_REMOTE_URL .
|
- git clone $DRONE_REMOTE_URL .
|
||||||
- git checkout $DRONE_SOURCE_BRANCH
|
- git checkout $DRONE_SOURCE_BRANCH
|
||||||
- name: run tests
|
- name: run tests
|
||||||
image: node:14.15.1-alpine3.12
|
image: registry.odit.services/hub/library/node:19.5.0-alpine3.16
|
||||||
commands:
|
commands:
|
||||||
- yarn
|
- yarn
|
||||||
- yarn test:ci
|
- yarn test:ci
|
||||||
@ -75,7 +75,7 @@ steps:
|
|||||||
mtu: 1000
|
mtu: 1000
|
||||||
- name: run changelog export
|
- name: run changelog export
|
||||||
depends_on: ["clone"]
|
depends_on: ["clone"]
|
||||||
image: node:latest
|
image: registry.odit.services/hub/library/node:19.5.0-alpine3.16
|
||||||
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 changelog to repo
|
- name: push new changelog to repo
|
||||||
@ -91,7 +91,7 @@ steps:
|
|||||||
from_secret: git_ssh
|
from_secret: git_ssh
|
||||||
- name: run full license export
|
- name: run full license export
|
||||||
depends_on: ["clone"]
|
depends_on: ["clone"]
|
||||||
image: node:14.15.1-alpine3.12
|
image: registry.odit.services/hub/library/node:19.5.0-alpine3.16
|
||||||
commands:
|
commands:
|
||||||
- yarn
|
- yarn
|
||||||
- yarn licenses:export
|
- yarn licenses:export
|
||||||
@ -108,7 +108,6 @@ steps:
|
|||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: git_ssh
|
from_secret: git_ssh
|
||||||
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- dev
|
- dev
|
||||||
@ -175,7 +174,7 @@ steps:
|
|||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
repo: registry.odit.services/lfk/backend
|
repo: registry.odit.services/lfk/backend
|
||||||
tags:
|
tags:
|
||||||
- '${DRONE_TAG}'
|
- "${DRONE_TAG}"
|
||||||
registry: registry.odit.services
|
registry: registry.odit.services
|
||||||
mtu: 1000
|
mtu: 1000
|
||||||
- name: trigger node lib build
|
- name: trigger node lib build
|
||||||
@ -192,4 +191,4 @@ steps:
|
|||||||
from_secret: ci_token
|
from_secret: ci_token
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user