Skip to content

putting the :luan: in :luan: since olden :luan:

Notifications You must be signed in to change notification settings

cwlbraa/luanerizer

Repository files navigation

luanerizer

putting the :luan: in :luan: since olden :luan:

what is this?

This is a slack slash-command that inserts a :luan: emoji into the provided text wherever it determines there's a noun lemma.

why?

/luanerize In 2016, Cloudfoundry contributors started doing this organically out of respect for luan.

luanerizerAPP: In 2016, :luan: :luan:s started doing this organically out of :luan: for :luan:.

how's that?

To accomplish this lofty goal it currently uses a lot of libraries and dev tools:

  • nltk (for finding those noun lemmas)
  • python (for nltk)
  • poetry (for managing python libraries and venvs)
  • flask (for serving to Slack's POST request)
  • pre-commit so I don't forget to regenerate requirements.txt or format my code before committing.

It's not a lot of python!

Over the years I've carted this project around to various PaaSes as an exercise.

Today it leverages knative as a unified, autoscaling compute platform that can handle both synchronous http requests AND queued, brokered, and asynchronous CloudEvents.

  • Continuously builds and deploys with GCP's Cloud Build Service via cloudbuild.yaml
  • Uses Heroku's Cloud Buildpacks to produce a ready-to-run container image from source
  • GKE, Anthos, and Google Cloud Run to provide a knative runtime
  • A Knative Service as the only unit of compute
  • A Knative Broker & Trigger to queue and dispatch asynchronous requests
  • kapp & ytt to wrangle k8s yamls and confirm successful rollouts

In the past, this was a 12-factor Cloudfoundry App. It ran on any CF, but mostly lived on:

It probably even still pushes, though anything asynchronous requires knative.

cf push luanerizer -b python_buildpack

About

putting the :luan: in :luan: since olden :luan:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published