misskey-dev staging environment
This repository also contains the source code for Hariko (張り子), a GitHub Actions-based CI/CD tool for Misskey.
- Setup PostgreSQL, Redis, and Meilisearch (optional) in your cluster
- Fork this repository and configure .github/workflows/*.yml and charts/*/values.yaml to fit your environment
- Create GitHub Webhook (subscribe
workflow_job
required) and Discord Webhook (optional) - Configure Hariko
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
type: Opaque
data:
discord-webhook-id-token:
github-job-name:
github-repository:
github-webhook-secret:
package-name:
repository-name:
repository-url:
EOF
- Deploy Hariko to your cluster
helm repo add misskey-dev https://misskey-dev.github.io/0key.dev
helm update
helm install hariko misskey-dev/hariko
- Clone this repository to your local machine
- Update misskey submodule to the commit you want to update to
- Commit and push the changes
GitHub Actions Workflow is also available.
Important
Care should be taken to ensure that database migration is a forward-compatible change. If it is not forward compatible, you will need to stop the service before updating.
Warning
Automatic rollback with reverting database migration is not supported. You need to manually revert the database migration if you want to rollback the Misskey version.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.