Skip to content

Commit

Permalink
Merge pull request #42 from jdewinne/kurl-ci-cd
Browse files Browse the repository at this point in the history
Adding CI/CD for k8s installer yaml
  • Loading branch information
jdewinne authored Jan 27, 2022
2 parents 76c4d83 + d2c5706 commit 1aeb9cb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/kurl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: kurl

on:
push:
branches:
- unstable
- master
- main
paths:
- 'kurl-installer.yaml'

jobs:
create-kubernetes-installer:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Create a new kubernetes installer
run: make kurl
env:
REPLICATED_API_TOKEN: ${{ secrets.REPLICATED_API_TOKEN }}
REPLICATED_APP: ${{ secrets.REPLICATED_APP }}



5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,8 @@ release: check-api-token check-app deps-vendor-cli lint
--release-notes $(release_notes) \
--ensure-channel

.PHONY: kurl
kurl: check-api-token check-app deps-vendor-cli lint
deps/replicated installer create \
--app ${app_slug} \
--auto -y

0 comments on commit 1aeb9cb

Please sign in to comment.