Skip to content

Commit

Permalink
Merge branch 'main' of github.com:schemahero/schemahero into main
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed Mar 19, 2021
2 parents e5dfa93 + 01f6e9b commit b3cc806
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tagged-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,8 @@ jobs:
args: release --rm-dist --config deploy/.goreleaser.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create new schemahero version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.39
with:
krew_template_file: deploy/krew.yaml
55 changes: 55 additions & 0 deletions deploy/krew.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: schemahero
spec:
version: {{ .TagName }}
platforms:
- selector:
matchLabels:
os: linux
arch: amd64
{{addURIAndSha "https://github.com/schemahero/schemahero/releases/download/{{ .TagName }}/kubectl-schemahero_linux_amd64.tar.gz" .TagName }}
files:
- from: kubectl-schemahero
to: .
- from: LICENSE
to: .
bin: kubectl-schemahero
- selector:
matchLabels:
os: darwin
arch: amd64
{{addURIAndSha "https://github.com/schemahero/schemahero/releases/download/{{ .TagName }}/kubectl-schemahero_darwin_amd64.tar.gz" .TagName }}
files:
- from: kubectl-schemahero
to: .
- from: LICENSE
to: .
bin: kubectl-schemahero
- selector:
matchLabels:
os: windows
arch: amd64
{{addURIAndSha "https://github.com/schemahero/schemahero/releases/download/{{ .TagName }}/kubectl-schemahero_windows_amd64.tar.gz" .TagName }}
files:
- from: kubectl-schemahero.exe
to: .
- from: LICENSE
to: .
bin: kubectl-schemahero.exe
shortDescription: Declarative database schema migrations via YAML
homepage: https://schemahero.io
caveats: |
SchemaHero requires an in-cluster operator. To install the operator run:
$ kubectl schemahero install
description: |
SchemaHero is a database schema migration tool that converts a schema
definition into migration scripts to be applied to a database engine
(with current support for Postgres, Mysql and CockroachDB).
SchemaHero allows developers to define a database table schema as a
declarative Kubernetes object and then apply the definition to the
cluster. The SchemaHero operator will then query the current database
schema and generate (and optionally apply) the necessary SQL
statements to update the database to the desired schema.
To learn more, try the tutorial at https://schemahero.io/tutorial/

0 comments on commit b3cc806

Please sign in to comment.