New release process
This commit is contained in:
@@ -120,6 +120,43 @@ jobs:
|
||||
- store_artifacts:
|
||||
path: /tmp/circleci-test-results
|
||||
|
||||
make-github-release:
|
||||
working_directory: ~/alexanderzobnin/grafana-zabbix
|
||||
docker:
|
||||
- image: circleci/golang:1.13-node
|
||||
environment:
|
||||
CI_GIT_USER: CircleCI
|
||||
CI_GIT_EMAIL: ci@grafana.com
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- dependency-cache-npm-{{ checksum "yarn.lock" }}
|
||||
- restore_cache:
|
||||
keys:
|
||||
- dependency-cache-go-{{ checksum "go.sum" }}
|
||||
- run:
|
||||
name: Install Dependencies
|
||||
command: 'make install'
|
||||
no_output_timeout: 15m
|
||||
- save_cache:
|
||||
key: dependency-cache-npm-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- ./node_modules
|
||||
- save_cache:
|
||||
key: dependency-cache-go-{{ checksum "go.sum" }}
|
||||
paths:
|
||||
- ./vendor
|
||||
- /go/pkg/mod
|
||||
- run:
|
||||
name: Build plugin for all platforms
|
||||
command: 'make dist'
|
||||
no_output_timeout: 15m
|
||||
- run:
|
||||
name: Package plugin
|
||||
command: './.circleci/make-package.sh'
|
||||
no_output_timeout: 15m
|
||||
|
||||
make-release:
|
||||
working_directory: ~/alexanderzobnin/grafana-zabbix
|
||||
docker:
|
||||
@@ -233,7 +270,7 @@ workflows:
|
||||
filters: *filter-only-release
|
||||
- test:
|
||||
filters: *filter-only-release
|
||||
- make-release:
|
||||
- make-github-release:
|
||||
requires:
|
||||
- build
|
||||
- codespell
|
||||
|
||||
Reference in New Issue
Block a user