tree: f02f51b6a6f05c09789c3760f79bd8608c6ae571
  1. 0-on-demand.yaml
  2. 1-unit.yaml
  3. 2-system.yaml
  4. 3-multi-runtime.yaml
  5. 4-standalone.yaml
  6. 5-scheduler.yaml
  7. 6-performance.yaml
  8. README.md
.github/workflows/README.md

How to use those workflows

There are a few GitHub secrets to configure to fully leverage the build.

You can use and set the following secrets also in your fork.

Ngrok Debugging

You can debug a GitHub Action build using NGROK.

It is disabled for automated build triggered by push and pull_requests.

You can trigger a workflow run manually enabling ngrok debugging.

It will open an ssh connection to the VM and keep it up and running for one hour. The connection URL is shown in the log for debugAction.sh

You can then connect to the build VM, and debug it. You need to use a password of your choice to access it.

You can continue the build with touch /tmp/continue. You can abort the build with touch /tmp/abort.

To enable this option you have to register to Ngrok, using the fee account and get the NGROK Token.

Then set the following secrets:

  • NGROK_TOKEN to the ngrok token.
  • NGROK_PASSWORD to a password of choice to access the build with the ssh command generated.

Log Upload

The build uploads the logs to a S3 bucket allowing to inspect them with a browser.

You need to create the bucket with the following commands:

LOG_BUCKET=<name-of-your-bucket>
LOG_REGION=<the-region-you-use>
aws s3 mb s3://$LOG_BUCKET --region $LOG_REGION
aws s3 website s3://$LOG_BUCKET/ --index-document index.html
aws s3api put-bucket-acl --acl public-read --bucket $LOG_BUCKET

To enable upload to the created bucket you need to set the following secrets:

  • LOG_BUCKET: name of your bucket in s3 (just the name, without s3://); create it before.
  • LOG_ACCESS_KEY_ID: your aws access key.
  • LOG_SECRET_ACCESS_KEY: your aws secret key.
  • LOG_REGION: important: the region where your bucket is.

Slack notification

If you want to get notified of what happens on slack, create an Incoming Web Hook and then set the following secret:

  • SLACK_WEBHOOK: the incoming webhook URL provided by slack.