- Clone and get into the repository:
gh repo clone GaloyMoney/concourse-shared
cd concourse-shared
- Edit
ci/values.yml
and undersrc_repos
, add the new repository. The key name for the repository must be the name of the repository as on GitHub under GaloyMoney organization. This file contains many feature flags according to which the Pull Request will be created with shared tasks. - Push the change on the CI.
ci/repipe
- Make sure that
galoybot
has permissions to the target repository and it also hasgaloybot
as a possible label in the PR.
This would, in turn create a new job under the concourse-shared pipeline and when it runs, it would automatically create the pull request for you on the specified target repository.
actions
folder - Gets synced to.github/workflows/
folderci/tasks
folder - Get synced toci/vendor
folder
Feature Flags nodejs
, rust
, chart
and docker
are supported right now.
Files whose names don't start with them are treated as common and synced to all.
Feature | Description |
---|---|
Nodejs | Source Codebase is Node.js |
Rust | Source Codebase is Rust |
Docker | Docker image is present in the source |
Chart | The docker image getting generated also has a Helm Chart |
-
GH Actions:
- Check Code (
make check-code
afteryarn install
) - Audit (
make audit
afteryarn install
)
- Check Code (
-
Concourse CI:
- Helpers (
unpack_deps
for caching node_modules) - Install Deps (
yarn install
) - Check Code (
make check-code
) - Audit (
make audit
)
- Helpers (
-
GH Actions:
- Check Code (
make check-code
)
- Check Code (
-
Concourse CI:
- Helpers (Some
CARGO_
envs) - Check Code (
make check-code
)
- Helpers (Some
- Concorse CI:
- Prep Docker Build Env
- Concourse CI:
- Open Charts PR