fix(ci): fix drone ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Erki Aas 2024-03-26 13:04:59 +02:00
parent 29480105c5
commit 5d9ca61ecc

View File

@ -1,35 +1,2 @@
kind: pipeline kind: template
type: kubernetes load: docker.yaml
name: build
steps:
- name: docker
image: harbor.k-space.ee/k-space/drone-kaniko
settings:
repo: ${DRONE_REPO}
tags: ${DRONE_BRANCH}
registry: harbor.codemowers.eu
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: test
image: harbor.codemowers.eu/msergo/walias:${DRONE_COMMIT_SHA}
settings:
registry: harbor.codemowers.eu
username:
from_secret: docker_username
password:
from_secret: docker_password
commands:
- npm test
# services:
# - name: mysql
# image: mysql:8
# environment:
# MYSQL_ROOT_PASSWORD: dev
# MYSQL_DATABASE: sky
image_pull_secrets:
- dockerconfigjson