You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
erik 0487ee3f7b [Skip-CI] Add Development and mirrors section 10 months ago
doc further renaming 3 years ago
infrastructure/docker initial 3 years ago
public further renaming 3 years ago
src testfolder renaming 3 years ago
.gitignore Version 0.1.6 2 years ago
.gitlab-ci.yml Update CI to show failing tests 2 years ago
LICENSE.md Updated license 3 years ago
README.md [Skip-CI] Add Development and mirrors section 10 months ago
graalvm-resource-config.json improve gralvm handling 3 years ago
package.json fix lein upload 2 years ago
project.clj upgraded non-c4k deps 1 year ago
shadow-cljs.edn Update CI to show failing tests 2 years ago

README.md

c4k-mastodon-bot

Clojars Project pipeline status

DeltaChat chat over e-mail | team@social.meissa-gmbh.de team@social.meissa-gmbh.de | Website & Blog

Purpose

c4k-mastodon-bot generates a c4k cron-job for your mastodon-bot. All inputs are validated, generaterd yaml will be wellformed, indenet and escaped.

Rational

There are many comparable solutions for creating c4k deployments like helm or kustomize. Why do we need another one?

  • We like the simplicity of kustomize. Yaml in, yaml out, the ability to lint the result and the option to split large yaml files into objects. But a simple overwriting per environment may not be enough ...
  • We like helm packages. A package encapsulates the setup for an application. On the one hand, but on the other hand we don't like the idea of having to program and debug in a template language. We can program much better in real programming languages.

Our c4k-* tools combine the advantages of both approaches:

  • Packages for one application
  • Programming in clojure
  • yaml / edn as input and output, no more magic
  • good validation, integration as api, cli or in the browser

Try out

Click on the image to try out live in your browser:

Try it out

Your input will stay in your browser. No server interaction is required.

You will also be able to try out on cli:

target/graalvm/c4k-mastodon-bot src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubeval -
target/graalvm/c4k-mastodon-bot src/test/resources/valid-config.edn src/test/resources/valid-auth.edn | kubectl apply -f -

Development & mirrors

Development happens at: https://repo.prod.meissa.de/meissa/c4k-mastodon-bot

Mirrors are:

For more details about our repository model see: https://repo.prod.meissa.de/meissa/federate-your-repos

License

Copyright © 2021 meissa GmbH Licensed under the Apache License, Version 2.0 (the "License") Pls. find licenses of our subcomponents here