spring-web-modules/.drone.yml

31 lines
630 B
YAML
Raw Normal View History

2021-10-09 11:28:31 +07:00
kind: pipeline
2022-04-11 09:57:59 +07:00
type: kubernetes
2022-04-21 17:43:07 +07:00
name: docker-pipeline
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
2022-04-21 18:39:48 +07:00
repo: git.cubetiqs.com/cubetiq/spring-web-api
2022-04-21 17:43:07 +07:00
registry: git.cubetiqs.com
tags: latest
---
kind: pipeline
type: kubernetes
2021-10-09 11:28:31 +07:00
name: ci
2022-04-11 09:57:59 +07:00
2021-10-09 11:28:31 +07:00
steps:
- name: submodules
2022-04-11 10:29:25 +07:00
image: alpine/git
2021-10-09 11:28:31 +07:00
commands:
2022-04-21 17:43:07 +07:00
- git submodule update --init --recursive
2021-10-09 11:28:31 +07:00
- name: test
2022-04-11 10:29:25 +07:00
image: cubetiq/openjdk:11u-ubuntu
2021-10-09 11:28:31 +07:00
commands:
- apt-get update && apt-get install git -y
- sh gradlew bootJar