Files
shuffle-cracked/functions
Frikky 0ca3314511 Merge pull request #1625 from P4sca1/kubernetes-labels
Add well-known kubernetes labels to resources created by Shuffle
2025-03-31 00:01:32 +02:00
..
2025-03-06 12:57:49 +01:00

Functions

The point of this folder is to make GCP Cloud functions able to run default WALKOFF apps.

How it works:

  • Subsequent info is based on the appname in main
  1. stitcher.go deploys the config to the app part of the website
  2. stitcher.go deploys the cloud function based on baseline.py
  3. stitcher.go SHOULD deploy the app to dockerhub for onpremise usecases

How to fix an appfile (done in stitcher.go)

  • Remove walkoff_app_sdk.app_base import
  • Remove anything with name == "main" (runner)

Stitching order:

  • Base imports
  • Authorization
  • class AppBase
  • class
  • Runner

Update may 2020:

Moved static_baseline to ./onprem/app_sdk because of license.