Add ES7 builds
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e3ece97729
commit
daf423304c
Binary file not shown.
21
.drone.yml
21
.drone.yml
|
@ -7,11 +7,18 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- which make || apk add make
|
- which make || apk add make
|
||||||
- make fetch
|
- make fetch
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: openjdk:13-alpine
|
image: openjdk:13-alpine
|
||||||
commands:
|
commands:
|
||||||
- which make || apk add make
|
- which make || apk add make
|
||||||
- make build
|
- make build
|
||||||
|
- name: build-7
|
||||||
|
image: openjdk:13-alpine
|
||||||
|
commands:
|
||||||
|
- which make || apk add make
|
||||||
|
- make build PLUGIN_ES=es70x ES_VERSION=7.0.1
|
||||||
|
|
||||||
- name: upload
|
- name: upload
|
||||||
image: python:3.7-alpine
|
image: python:3.7-alpine
|
||||||
environment:
|
environment:
|
||||||
|
@ -26,3 +33,17 @@ steps:
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
- 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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -30,7 +30,7 @@ $(PACKAGE_FILE):
|
||||||
|
|
||||||
upload: $(PACKAGE_FILE)
|
upload: $(PACKAGE_FILE)
|
||||||
for bucket in $(S3_BUCKETS); do \
|
for bucket in $(S3_BUCKETS); do \
|
||||||
aws s3 cp --acl public-read $(PACKAGE_FILE) s3://$$bucket/$(S3_PREFIX)/$(PACKAGE); \
|
aws s3 cp --quiet --acl public-read $(PACKAGE_FILE) s3://$$bucket/$(S3_PREFIX)/$(PACKAGE); \
|
||||||
done
|
done
|
||||||
|
|
||||||
clean_s3:
|
clean_s3:
|
||||||
|
|
Loading…
Reference in New Issue