This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: source.toolkit.fluxcd.io/v1 | |
kind: GitRepository | |
metadata: | |
name: podinfo | |
spec: | |
interval: 5m | |
url: https://github.com/mszostok/podinfo | |
ref: | |
branch: master | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--set communications.default-group.socketSlack.channels.default.bindings.executors=['plugin-based'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--set 'plugins.repositories.botkube-plugins.url'=${PLUGINS_URL} \ | |
--set 'executors.plugin-based.botkube-plugins/gh.config.github.repository'=${REPOSITORY} \ | |
--set 'executors.plugin-based.botkube-plugins/gh.config.github.token'=${GITHUB_TOKEN} \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export REPOSITORY={repo} # format OWNER/REPO_NAME, e.g. kubeshop/botkube | |
export GITHUB_TOKEN={token} | |
export PLUGINS_URL={plugin_index_url} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git push | |
git push --tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git add -A | |
git commit -m "Implement gh executor" | |
git tag v1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builds: | |
- id: gh | |
main: cmd/gh/main.go | |
binary: executor_gh_{{ .Os }}_{{ .Arch }} | |
no_unique_dist_dir: true | |
env: | |
- CGO_ENABLED=0 | |
goos: | |
- linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
executors: | |
"plugin-based": | |
repo-name/gh: | |
enabled: true # If not enabled, plugin is not downloaded and started. | |
config: # Plugin's specific configuration. | |
github: | |
repository: "mszostok/repository" | |
token: "github_pat_foo" | |
issueTemplate: | | |
## Description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go mod tidy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git tag v0.0.1 | |
git push --tags |