A Singapore Government Agency Website

Templates and Examples

CSTACK provides templates and examples that you may reference to accelerate your app development.

You can access them at https://go.gov.sg/cstack-reference. Or find these resources under SGTS/Runtime within the Innersource group. Feel free to join the innersource community on Slack at #innersource and share your questions there.

CSTACK Repository Templates

Templates are the base projects used when creating your default GitLab projects for the first time during onboarding. These include:

  • example-application: Used for application source code. These are named example-application when created in your GitLab group.
  • cstack-manifests: Used for Kubernetes manifest files to be deployed in CStack

Example Applications on CSTACK

Sample projects showcase how to use various features of CStack for your projects. These include:

  • s3 file explorer
  • CSTACK ECR browser

Please visit https://go.gov.sg/cstack-reference to view the samples.

The samples provided are for reference. Please evaluate whether they are compliant and/or suitable for your use case and organization’s needs.

To use the samples, complete the following steps:

  1. Follow one of these steps:

    • Copy the relevant sections of code
      or
    • Fork the repository into your subgroup
  2. Re-enable CI/CD. CI/CD is disabled for samples by default. To re-enable it after forking, navigate to Settings > General > Visibility > Project features > Permissions, and then enable the CI/CD option.

    CI/CD option to re-enable

Additional resources

Few sample projects have their own wikis for documentation and serve as a user documentation as listed below:

Chat with me!
Bot Launcher