Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #53 from triggermesh/release-yaml-manifests
Browse files Browse the repository at this point in the history
ci: attach manifests YAMLS to releases
  • Loading branch information
Sameer Naik authored Jun 18, 2021
2 parents a6569ad + 88b72cd commit 6b262d5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
version: 2.1

orbs:
go: circleci/go@1
gcp-cli: circleci/gcp-cli@1
go: circleci/go@1
k8s: circleci/kubernetes@0

jobs:
checkout:
Expand Down Expand Up @@ -118,11 +119,16 @@ jobs:
steps:
- attach_workspace:
at: ~/
- k8s/install-kubectl:
kubectl-version: v1.20.4
- run:
name: Building release packages
command: make release
environment:
DIST_DIR: /tmp/dist/
- run:
name: Generating YAML manifest
command: kubectl kustomize config | sed 's|ko://github.com/triggermesh/bumblebee/cmd/\(.*\)|gcr.io/triggermesh-private/\1:'${CIRCLE_TAG}'|' >! /tmp/dist/transformation.yaml
- run:
name: Installing github-release tool
command: go get github.com/meterup/github-release
Expand Down
10 changes: 10 additions & 0 deletions config/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
resources:
- 100-namespace.yaml
- 200-clusterrole.yaml
- 200-serviceaccount.yaml
- 201-clusterrolebinding.yaml
- 300-transformation.yaml
- 500-controller.yaml
- config-leader-election.yaml
- config-logging.yaml
- config-observability.yaml

0 comments on commit 6b262d5

Please sign in to comment.