# tssc-sample-templates **Repository Path**: orangeji11/tssc-sample-templates ## Basic Information - **Project Name**: tssc-sample-templates - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-03 - **Last Updated**: 2025-09-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RHTAP Sample Backstage Templates ## Software Supply Chain Security This repository provides a suite of language/framework examples that implement end-to-end software supply chain security (SSCS). The examples contain an advanced continuous integration pipeline covering building, CVE scanning, security scanning, signatures, attestations, SLSA provenance and SBOM along with Gitops-based continuous deployment. Software Template authors and IDP builders can take these samples to create their own SSCS based starters. ## Usage in Red Hat Developer Hub To import these templates, register a component in on the golden path template page: ![Screenshot](register.png) Import `https://github.com/redhat-appstudio/tssc-sample-templates/blob/main/all.yaml` ![Screenshot](register2.png) ## Usage in backstage Add the following to your `app-config.yaml` file in your backstage configuration: ```yaml - type: url target: https://github.com/redhat-appstudio/tssc-sample-templates/blob/main/all.yaml rules: - allow: [Location, Template] ``` This will add the samples into a set of backstage templates. ![Screenshot](backstage.png) ## On-prem host support You need to ensure the on-prem host is being configured in `app-config.yaml` file in your backstage/RHDH configuration. ### Change default host for Git or Quay [properties](./properties) file holds the default host for GitHub, GitLab and Quay. Modify the value and run `./generate.sh` will generate new templates with customized default value. ### Provide on-prem host value when create a component On `Application Repository Information` Page, provide your Git host in the `Repository Server` **Note:** Please Ensure the correct `Host Type` is selected ![Screenshot](on-prem-git.png) On `Deployment information` Page, provide your Quay host in the `Image Registry`: ![Screenshot](on-prem-quay.png) ## Contributing The templates are found in `./templates` and reference reusable content in `./skeleton`. The pipelines are maintained externally to allow standalone use outside of software templates, as well as evolution of the pipelines in one of more software templates. ### MacOS Due to differences between Linux and MacOS, the GNU version of `sed` is required to be installed. ```bash brew install gnu-sed ``` After this, alter PATH. For example, add the following line to your `~/.bash_profile`: ```bash export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH" ```