Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
chore: release and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
eshepelyuk committed Nov 24, 2021
1 parent 7beb783 commit 0d7a6a8
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 23 deletions.
11 changes: 11 additions & 0 deletions .commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
extends:
- '@commitlint/config-conventional'

rules:
type-enum:
- 2
- always
-
- chore
- feat
- fix
35 changes: 12 additions & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: CI workflow

name: Continous integration
on:
pull_request:
branches:
Expand All @@ -10,38 +9,28 @@ on:
paths-ignore:
- '*.md'
- '*.puml'
- '.releaserc.yaml'

jobs:
ci_job:
name: Continous integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: helm lint
run: |
./test/linter/test.sh
- name: unit test
run: |
- uses: bahmutov/[email protected]
- run: |
npx semantic-release -p semantic-release-commitlint
- run: ./test/linter/test.sh
- run: |
helm plugin install https://github.com/quintush/helm-unittest
helm unittest -f test/unit/*.yaml -3 .
- name: start k8s with k3d
uses: AbsaOSS/[email protected]
- uses: AbsaOSS/[email protected]
with:
cluster-name: "apicurio"
cluster-name: "k3d"
use-default-registry: true
args: >-
--config ./test/e2e/k3d.yaml
- uses: volesen/[email protected]
with:
version: 'v1.26.0'
- name: build e2e tests
run: |
version: 'v1.33.0'
- run: |
skaffold config set default-repo "registry.localhost:5000"
skaffold build
- name: deploy apicurio-registry
run: |
skaffold run
- name: e2e test
run: |
helm test apc-reg --logs
- run: skaffold run
- run: helm test apc-reg --logs
File renamed without changes.
2 changes: 2 additions & 0 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


apiVersion: v2
name: apicurio-registry
description: Install and configure Apicurio Registry in Kubernetes.
Expand Down

0 comments on commit 0d7a6a8

Please sign in to comment.