elasticsearch-plugin-readon.../.drone.yml

50 lines
1.0 KiB
YAML
Raw Normal View History

2019-05-17 16:46:55 +00:00
kind: pipeline
name: default
steps:
- name: fetch
image: alpine/git
commands:
- which make || apk add make
- make fetch
2019-05-17 22:29:53 +00:00
2019-05-17 16:46:55 +00:00
- name: build
image: openjdk:13-alpine
commands:
- which make || apk add make
2019-06-04 13:39:47 +00:00
- make build PLUGIN_ES=es66x ES_VERSION=6.8.0
2019-05-17 22:29:53 +00:00
- name: build-7
image: openjdk:13-alpine
commands:
- which make || apk add make
2019-06-04 13:39:47 +00:00
- make build PLUGIN_ES=es70x ES_VERSION=7.1.1
2019-05-17 22:29:53 +00:00
2019-05-17 16:46:55 +00:00
- name: upload
image: python:3.7-alpine
environment:
AWS_ACCESS_KEY_ID:
from_secret: aws_access_key
AWS_SECRET_ACCESS_KEY:
from_secret: aws_secret_key
commands:
- which make || apk add make
- which aws || pip install awscli
- make upload
when:
event:
- tag
2019-05-17 22:29:53 +00:00
- name: upload-7
image: python:3.7-alpine
environment:
AWS_ACCESS_KEY_ID:
from_secret: aws_access_key
AWS_SECRET_ACCESS_KEY:
from_secret: aws_secret_key
commands:
- which make || apk add make
- which aws || pip install awscli
- make upload PLUGIN_ES=es70x ES_VERSION=7.0.1
when:
event:
- tag