cb-fetch

SYNOPSIS

cb-fetch -h | --help
cb-fetch --project=<github_project>
    [--branch=<name>]
    [--update-interval=<time_sec>]
    [--single-shot]

DESCRIPTION

cb-fetch - fetches a git repository and manages content changes on a configurable schedule. In case of a change a rebuild request is send to the message broker

The tree structure in the git repository has to respect a predefined layout like in the following example:

projects
 ├── ...
 ├── PROJECT_A
 │   └── SUB_PROJECT
 │       └── ...
 └── PROJECT_B
     ├── PACKAGE
     │   ├── .cb
     │   │    ├── cloud_builder.yml
     │   │    └── build_root.kiwi
     │   ├── PACKAGE.changes
     │   ├── PACKAGE.spec
     │   └── PACKAGE.tar.xz
     │
     └── IMAGE
         ├── .cb
         │    └── cloud_builder.yml
         └── IMAGE.kiwi

OPTIONS

--project=<github_project>

git clone source URI to fetch project with packages managed to build in cloud builder

--branch=<name>

git branch name

--update-interval=<time_sec>

Optional update interval for the project Default is 30sec

--single-shot

Optional single shot run. Only clone the repo