Skip to content

coreeng/tim-reference-applications

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reference Apps

This repository contains rendered templates from core-platform-software-templates repository. Every time any template is changed render-templates.yaml workflow is triggered. This workflow will render all templates, commit the changes and run the whole P2P for updated templates. Here is a quick diagram describing with an example of the process:

sequenceDiagram
    actor C as Client
    participant ST as core-platform-software-templates
    box core-platform-reference-applications
      participant RT as render-templates.yaml
      participant P2P as p2p.yaml
    end
    
    C ->> ST: Update 'go-web' template
    
    ST ->> RT: Trigger workflow
    RT ->> RT: Render all templates
    RT ->> RT: Push updates for 'go-web' template
    RT ->> P2P: Trigger workflow  for 'go-web'
Loading

Hence, changes to applications are happening automatically and any application update made directly to this repository will be overwritten. If you want to update an application, please make a PR to core-platform-software-templates repository.

Quick Start

Prerequisite: it is assumed that you have corectl installed and initialized. Read more about corectl here.

You can fork this repository to your organization and use it as a starting point for your own applications.

The only thing you need to do to make P2P work properly for your organization is to run:

corectl p2p env sync <your-repository> <your-tenant>

This will use configuration from your environments to prepare your repository for P2P.

In addition, it's recommended that you also delete workflows which are used to maintain this repository:

rm .github/workflows/render-template.yaml .github/workflows/p2p.yaml
git commit -m "Delete maintaining workflows"
git push

Configured workflows

Template rendering

These are used to render templates. Should be deleted after forking.

P2P workflows for forked repository

These workflows are supposed to be used after forking the repository.

Packages

No packages published

Languages

  • Makefile 35.7%
  • Java 24.5%
  • Go 16.6%
  • Shell 9.1%
  • Dockerfile 7.0%
  • JavaScript 4.3%
  • Gherkin 2.8%