Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub issue creator #953

Merged
merged 2 commits into from
Jan 27, 2023
Merged

Add GitHub issue creator #953

merged 2 commits into from
Jan 27, 2023

Conversation

mszostok
Copy link
Contributor

@mszostok mszostok commented Jan 26, 2023

Description

Changes proposed in this pull request:

  • Add GitHub issue creator

Code moved from: kubeshop/botkube-plugins-template#7

Testing

Here is a release made on my own repo created from this template:
https://github.com/mszostok/botkube-plugins/releases/tag/v1.1.0

export SLACK_CHANNEL_NAME={channel_name}
export SLACK_APP_TOKEN={token}
export SLACK_BOT_TOKEN={token}
export PLUGINS_URL="https://github.com/mszostok/botkube-plugins/releases/download/v1.1.0/plugins-index.yaml"
export REPOSITORY={repo} # format OWNER/REPO_NAME, e.g. kubeshop/botkube
export GITHUB_TOKEN={token}

helm install --version v0.17.0 botkube --namespace botkube --create-namespace \
--set communications.default-group.socketSlack.enabled=true \
--set communications.default-group.socketSlack.channels.default.name=${SLACK_CHANNEL_NAME} \
--set communications.default-group.socketSlack.channels.default.bindings.executors={"plugin-based"} \
--set communications.default-group.socketSlack.appToken=${SLACK_APP_TOKEN} \
--set communications.default-group.socketSlack.botToken=${SLACK_BOT_TOKEN} \
--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} \
botkube/botkube

Related issue(s)

Fix #925

@mszostok mszostok added the enhancement New feature or request label Jan 26, 2023
@mszostok mszostok requested review from a team and PrasadG193 as code owners January 26, 2023 16:18
@mszostok mszostok requested review from huseyinbabal and pkosiec and removed request for huseyinbabal January 26, 2023 16:18
Copy link
Member

@pkosiec pkosiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already reviewed it here: https://github.com/kubeshop/botkube-plugins-template/pull/7/files

I believe it still works fine 😄 🤞

@mszostok mszostok merged commit 3ebc48e into kubeshop:main Jan 27, 2023
@mszostok mszostok deleted the add-gh-exec branch January 27, 2023 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create getting started with plugins blog post
2 participants