Skip to content

Commit

Permalink
Introduce dev plugins support (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok authored Feb 22, 2024
1 parent 4c72653 commit eb2d10f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
PLUGIN_DOWNLOAD_URL_BASE_PATH: ""
run: |
make build-plugins-archives
USE_ARCHIVE=true make gen-plugin-index
USE_ARCHIVE=true make gen-dev-plugin-index
- name: Upload plugins to GCS
uses: google-github-actions/upload-cloud-storage@v2
Expand Down
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@ build-plugins-archives: ## Builds all plugins for all defined platforms in form
# Generating #
##############

USE_ARCHIVE ?= true

gen-plugin-index: ## Generate plugins YAML index file.
go run github.com/kubeshop/botkube/hack -binaries-path "./dist" -use-archive=$(USE_ARCHIVE)
go run github.com/kubeshop/botkube/hack -binaries-path "./dist" -plugin-name-filter 'doctor|exec|flux|helm|argocd|github-events|keptn|prometheus' -use-archive=$(USE_ARCHIVE)
.PHONY: gen-plugin-index


gen-dev-plugin-index: ## Generate plugins YAML index file with all plugins.
go run github.com/kubeshop/botkube/hack -binaries-path "./dist" -use-archive=$(USE_ARCHIVE)
.PHONY: gen-dev-plugin-index

gen-plugins-goreleaser: # Generate Goreleaser config for plugins
go run github.com/kubeshop/botkube/hack/target/gen-goreleaser

Expand Down

0 comments on commit eb2d10f

Please sign in to comment.