Skip to content

Commit

Permalink
add renovate config for plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
marshall007 committed Jun 28, 2024
1 parent 3f35bb6 commit 4569c07
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
9 changes: 7 additions & 2 deletions plugins/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM cgr.dev/chainguard/busybox:latest

# renovate: datasource=github-tags depName=mattermost/mattermost-plugin-ai versioning=semver
ENV MATTERMOST_AI_PLUGIN_VERSION=0.8.2
# renovate: datasource=github-tags depName=mattermost/mattermost-plugin-gitlab versioning=semver
ENV MATTERMOST_GITLAB_PLUGIN_VERSION=1.9.1

USER root

ADD https://github.com/mattermost/mattermost-plugin-gitlab/releases/download/v1.9.1/com.github.manland.mattermost-plugin-gitlab-1.9.1.tar.gz /extra-plugins/
ADD https://github.com/mattermost/mattermost-plugin-ai/releases/download/v0.8.2/mattermost-plugin-ai-v0.8.2-linux-amd64.tar.gz /extra-plugins/
ADD https://github.com/mattermost/mattermost-plugin-ai/releases/download/v$MATTERMOST_AI_PLUGIN_VERSION/mattermost-plugin-ai-v$MATTERMOST_AI_PLUGIN_VERSION-linux-amd64.tar.gz /extra-plugins/
ADD https://github.com/mattermost/mattermost-plugin-gitlab/releases/download/v$MATTERMOST_GITLAB_PLUGIN_VERSION/com.github.manland.mattermost-plugin-gitlab-$MATTERMOST_GITLAB_PLUGIN_VERSION.tar.gz /extra-plugins/

RUN chmod -R 777 /extra-plugins/*.tar.gz
21 changes: 19 additions & 2 deletions tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ tasks:
- task: create-mm-test-bundle
- task: setup:k3d-test-cluster
- task: deploy:test-bundle
- task: setup:create-doug-user
- task: test:all
# - task: setup:create-doug-user
# - task: test:all

- name: test-upgrade
description: Test an upgrade from the latest released package to the current branch
Expand All @@ -68,3 +68,20 @@ tasks:
- cmd: ./uds zarf tools kubectl delete pods --all --namespace mattermost
description: "Workaround - restart the pods so the sso configuration will take effect"
- task: test:all

- name: starlink
description: Setup k3d cluster, deploy Mattermost not pulling uds-core from oci
actions:
- task: create-mm-test-bundle
# - task: starlink-k3d-test-cluster
- task: deploy:test-bundle

- name: starlink-k3d-test-cluster
description: Setup k3d cluster, deploy Mattermost
actions:
- cmd: ./uds deploy uds-bundle-k3d-core-slim-dev-*-0.22.2.tar.zst --confirm --set INSECURE_ADMIN_PASSWORD_GENERATION=true

- name: starlink-pull
description: pull bundle locally for lackluster internet
actions:
- cmd: ./uds pull oci://defenseunicorns/uds/bundles/k3d-core-slim-dev:0.22.2

0 comments on commit 4569c07

Please sign in to comment.