A multi-tenant aware service to process our AppBuilder requests.
See ab_cli
Pull Requests should be tagged with a label major, minor or patch. Use major for breaking changes, minor for new features, or patch for bug fixes. To merge without creating a release a skip-release tag can be added instead.
📝 In the pull request body add release notes between these tags:
<!-- #release_notes -->
<!-- /release_notes -->Anything between those 2 lines will be used as release notes when creating a version.
- A new version will be created using semantic versioning
- The version will be updated in
package.json - A new tag and release will be created on GitHub
- A new docker image will be built, tagged with the version and published to dockerhub
- A Workflow in
ab_runtimewill be triggered to update the service version file.
It may be useful to build a custom docker image from a feature branch for testing. This can be done through a workflow dispatch trigger.
- Go to the Actions tab
- Select the 'Docker Build Custom' workflow
- Select 'run Workflow' and fill in the form The image will be built from the selected branch and pushed to dockerhub using the given tags
For better Docker Hub container health ratings, builds that push to a registry should enable provenance and SBOM attestations:
- Local:
./build.shalready passes--provenance=true --sbom=truewhen usingdocker buildx build; useDOCKER_ARGS="-t digiserve/ab-appbuilder:master --push" ./build.shso attestations are pushed with the image. - CI (CruGlobal workflows): Ensure the reusable workflow (e.g.
docker-build.yml/build-ecs.yml) invokesdocker buildx buildwith--provenance=true --sbom=truewhen pushing to Docker Hub. Attestations are only stored when pushing to a registry.
The Dockerfile also sets OCI labels (org.opencontainers.image.licenses="MIT") so the image license is visible to Docker Hub.