Skip to content

psturc-org/sample-multi-component

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sample multi component git repository.

To test multi component build from the same git repository create the following objects:

Application

apiVersion: appstudio.redhat.com/v1alpha1
kind: Application
metadata:
  name: application-sample
  namespace: test
spec:
  description: Simple app that consists from two components from the same git repository
  displayName: test-git-multi-component

Component 1

apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
  name: go-component-sample
  namespace: test
  annotations:
    build.appstudio.openshift.io/request: "configure-pac"
    image.redhat.com/generate: '{"visibility": "public"}'
spec:
  componentName: go-sample-component-name
  application: application-sample
  source:
    git:
      url: https://github.com/mmorhun/sample-multi-component
      context: go-component

Component 2

apiVersion: appstudio.redhat.com/v1alpha1
kind: Component
metadata:
  name: python-component-sample
  namespace: test
  annotations:
    build.appstudio.openshift.io/request: "configure-pac"
    image.redhat.com/generate: '{"visibility": "public"}'
spec:
  componentName: python-sample-component-name
  application: application-sample
  source:
    git:
      url: https://github.com/mmorhun/sample-multi-component
      context: python-component

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 51.3%
  • Go 30.7%
  • Python 18.0%