Skip to content

Instantly share code, notes, and snippets.

@marshall007
Created July 1, 2024 14:43
Show Gist options
  • Save marshall007/5b68cbfcdd6dfc8f2a5e0971c0c0f4d9 to your computer and use it in GitHub Desktop.
Save marshall007/5b68cbfcdd6dfc8f2a5e0971c0c0f4d9 to your computer and use it in GitHub Desktop.
Mattermost Plugins (`melange` build configs)
package:
name: mattermost-plugin-ai
version: 0.8.1
epoch: 0
description: Mattermost plugin for LLMs
copyright:
- license: Apache-2.0
target-architecture:
- x86_64
- aarch64
environment:
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- build-base
- busybox
- ca-certificates-bundle
- openssl-dev
- libelf
- go
- nodejs
- npm
- make
pipeline:
- uses: git-checkout
with:
repository: https://github.com/mattermost/mattermost-plugin-ai
tag: v${{package.version}}
expected-commit: 118283adf71b6f7f48c9c7689f5b49fdb4e2a898
- runs: |
# only build for current architecture (default is all)
export MM_SERVICESETTINGS_ENABLEDEVELOPER=1
make dist
mv dist/ "${{ targets.destdir }}"
update:
enabled: true
github:
identifier: mattermost/mattermost-plugin-ai
strip-prefix: v
use-tag: true
tag-filter: v
package:
name: mattermost-plugin-gitlab
version: 1.9.1
epoch: 0
description: A GitLab plugin for Mattermost.
copyright:
- license: Apache-2.0
target-architecture:
- x86_64
- aarch64
environment:
contents:
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
repositories:
- https://packages.wolfi.dev/os
packages:
- build-base
- busybox
- ca-certificates-bundle
- openssl-dev
- libelf
- go
- nodejs
- npm
- make
pipeline:
- uses: git-checkout
with:
repository: https://github.com/mattermost/mattermost-plugin-gitlab
tag: v${{package.version}}
expected-commit: 69ab85a2bc2ca0ba22242d4d0e9d33bd695a2edb
- runs: |
# only build for current architecture (default is all)
export MM_SERVICESETTINGS_ENABLEDEVELOPER=1
# webpack `ERR_OSSL_EVP_UNSUPPORTED` (Error: error:0308010C:digital envelope routines::unsupported)
export NODE_OPTIONS=--openssl-legacy-provider
make dist
mv dist/ "${{ targets.destdir }}"
update:
enabled: true
github:
identifier: mattermost/mattermost-plugin-gitlab
strip-prefix: v
use-tag: true
tag-filter: v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment