diff --git a/.github/workflows/upload-plugins.yaml b/.github/workflows/upload-plugins.yaml deleted file mode 100644 index 8597f31ea..000000000 --- a/.github/workflows/upload-plugins.yaml +++ /dev/null @@ -1,59 +0,0 @@ -name: Publish plugins -on: - push: - branches: - - main -jobs: - publish_plugins: - runs-on: ubuntu-latest - env: - GO111MODULE: on - GOPATH: /home/runner/work/botkube - GOBIN: /home/runner/work/botkube/bin - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: GCP auth - uses: 'google-github-actions/auth@v1' - with: - credentials_json: ${{ secrets.PLUGINS_BUCKET_CREDENTIALS }} - - name: 'Set up Cloud SDK' - uses: 'google-github-actions/setup-gcloud@v1' - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version-file: 'go.mod' - cache: true - - name: Install GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - install-only: true - version: latest - - name: Build all plugins into dist directory - env: - GORELEASER_CURRENT_TAG: "v0.0.0-latest" - PLUGIN_DOWNLOAD_URL_BASE_PATH: "https://storage.googleapis.com/botkube-plugins-latest" - OUTPUT_MODE: "archive" - run: | - make gen-plugins-index - - name: Upload plugins to GCS - uses: google-github-actions/upload-cloud-storage@v1 - with: - path: 'plugin-dist' - destination: 'botkube-plugins-latest/' - glob: '*.tar.gz' - parent: false - - name: Upload plugin index to GCS - uses: google-github-actions/upload-cloud-storage@v1 - with: - path: 'plugins-index.yaml' - destination: 'botkube-plugins-latest/' - - name: Upload plugin index to GCS - uses: google-github-actions/upload-cloud-storage@v1 - with: - path: 'plugins-dev-index.yaml' - destination: 'botkube-plugins-latest/' - - name: 'Disable caching' - run: 'gsutil -m setmeta -h "Cache-Control: no-cache, no-store" gs://botkube-plugins-latest/*' diff --git a/helm/botkube/README.md b/helm/botkube/README.md index 1b9797ba2..b6af0201d 100644 --- a/helm/botkube/README.md +++ b/helm/botkube/README.md @@ -212,10 +212,10 @@ A virtual SRE, powered by AI. | [configWatcher.enabled](./values.yaml#L900) | bool | `true` | If true, restarts the Botkube Pod on config changes. | | [configWatcher.inCluster](./values.yaml#L902) | object | `{"informerResyncPeriod":"10m"}` | In-cluster Config Watcher configuration. It is used when remote configuration is not provided. | | [configWatcher.inCluster.informerResyncPeriod](./values.yaml#L904) | string | `"10m"` | Resync period for the Config Watcher informers. | -| [plugins](./values.yaml#L907) | object | `{"cacheDir":"/tmp","healthCheckInterval":"10s","incomingWebhook":{"enabled":true,"port":2115,"targetPort":2115},"repositories":{"botkube":{"url":"https://storage.googleapis.com/botkube-plugins-latest/plugins-index.yaml"},"botkubeExtra":{"url":"https://github.com/kubeshop/botkube-plugins/releases/download/v1.14.0/plugins-index.yaml"}},"restartPolicy":{"threshold":10,"type":"DeactivatePlugin"}}` | Configuration for Botkube executors and sources plugins. | +| [plugins](./values.yaml#L907) | object | `{"cacheDir":"/tmp","healthCheckInterval":"10s","incomingWebhook":{"enabled":true,"port":2115,"targetPort":2115},"repositories":{"botkube":{"url":"https://github.com/kubeshop/botkube/releases/download/v1.14.0/plugins-index.yaml"},"botkubeExtra":{"url":"https://github.com/kubeshop/botkube-plugins/releases/download/v1.14.0/plugins-index.yaml"}},"restartPolicy":{"threshold":10,"type":"DeactivatePlugin"}}` | Configuration for Botkube executors and sources plugins. | | [plugins.cacheDir](./values.yaml#L909) | string | `"/tmp"` | Directory, where downloaded plugins are cached. | -| [plugins.repositories](./values.yaml#L911) | object | `{"botkube":{"url":"https://storage.googleapis.com/botkube-plugins-latest/plugins-index.yaml"},"botkubeExtra":{"url":"https://github.com/kubeshop/botkube-plugins/releases/download/v1.14.0/plugins-index.yaml"}}` | List of plugins repositories. Each repository defines the URL and optional `headers` | -| [plugins.repositories.botkube](./values.yaml#L913) | object | `{"url":"https://storage.googleapis.com/botkube-plugins-latest/plugins-index.yaml"}` | This repository serves officially supported Botkube plugins. | +| [plugins.repositories](./values.yaml#L911) | object | `{"botkube":{"url":"https://github.com/kubeshop/botkube/releases/download/v1.14.0/plugins-index.yaml"},"botkubeExtra":{"url":"https://github.com/kubeshop/botkube-plugins/releases/download/v1.14.0/plugins-index.yaml"}}` | List of plugins repositories. Each repository defines the URL and optional `headers` | +| [plugins.repositories.botkube](./values.yaml#L913) | object | `{"url":"https://github.com/kubeshop/botkube/releases/download/v1.14.0/plugins-index.yaml"}` | This repository serves officially supported Botkube plugins. | | [plugins.incomingWebhook](./values.yaml#L920) | object | `{"enabled":true,"port":2115,"targetPort":2115}` | Configure Incoming webhook for source plugins. | | [plugins.restartPolicy](./values.yaml#L925) | object | `{"threshold":10,"type":"DeactivatePlugin"}` | Botkube Restart Policy on plugin failure. | | [plugins.restartPolicy.type](./values.yaml#L927) | string | `"DeactivatePlugin"` | Restart policy type. Allowed values: "RestartAgent", "DeactivatePlugin". | diff --git a/helm/botkube/values.yaml b/helm/botkube/values.yaml index 472d93594..206309efa 100644 --- a/helm/botkube/values.yaml +++ b/helm/botkube/values.yaml @@ -911,7 +911,7 @@ plugins: repositories: # -- This repository serves officially supported Botkube plugins. botkube: - url: https://storage.googleapis.com/botkube-plugins-latest/plugins-index.yaml + url: https://github.com/kubeshop/botkube/releases/download/v1.14.0/plugins-index.yaml # headers: {} # optional headers for plugins repository. botkubeExtra: url: https://github.com/kubeshop/botkube-plugins/releases/download/v1.14.0/plugins-index.yaml