Skip to content

Commit

Permalink
add ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
cappyzawa committed May 11, 2019
1 parent 42a1a9a commit 88e1aa3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ci/creds.yml
ci/out
42 changes: 42 additions & 0 deletions ci/base/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
resources:
- name: release
type: github-release
icon: package-variant-closed
source:
owner: cappyzawa
repository: starlark.vim
access_token: ((github-access-token))
- name: version
type: semver
icon: tag
source:
driver: git
uri: [email protected]:cappyzawa/starlark.vim.git
branch: version
private_key: ((private-key))
commit_message: "[ci skip] bump version"
file: VERSION
- name: repo
type: git
icon: git-circle
source:
uri: https://github.com/cappyzawa/starlark.vim
branch: master

jobs:
#@ for l in ["patch", "minor", "major"]:
- name: #@ "{}-release".format(l)
build_logs_to_retain: 10
plan:
- aggregate:
- get: repo
- put: version
params:
bump: #@ l
- put: release
params:
name: version/version
tag: version/version
tag_prefix: v
#@ end

0 comments on commit 88e1aa3

Please sign in to comment.