-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved CI readme including the push pipelines
- Loading branch information
Showing
2 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,64 @@ | ||
# Concourse - build packages | ||
# Concourse - Pipelines | ||
|
||
This concourse pipeline: | ||
- Tracks a build version in an S3 compatible object store | ||
- Tracks changes on master branch of this repo | ||
- Builds .package files | ||
- Creates a github release with the compiled .package files. | ||
- Tags the release as pre-release with a version number | ||
|
||
This pipeline depends on the following secrets defined in a Concourse integrated CredHub or Vault: | ||
These pipelines depends on the following secrets defined in a Concourse integrated CredHub or Vault: | ||
- /concourse/`team name`/s3-access-key | ||
- /concourse/`team name`/s3-secret-key | ||
- /concourse/`team name`/s3-endpoint | ||
- /concourse/`team name`/github-access-token | ||
- /concourse/`team name`/harbor-host | ||
- /concourse/`team name`/harbor-user.username | ||
- /concourse/`team name`/harbor-user.password | ||
|
||
- /concourse/`team name`/vro-deploy-hosts | ||
- /concourse/`team name`/vro-deploy-user.username | ||
- /concourse/`team name`/vro-deploy-user.password | ||
`team name` is typically main | ||
|
||
|
||
It depends on a docker container that is ready to execute maven for creating orchestrator .package files. See https://github.com/dlinsley/docker-o11n-maven for details on creating one. | ||
Most of these pipelines depend on a docker container that is ready to execute maven for creating orchestrator .package files. See https://github.com/dlinsley/docker-o11n-maven for details on creating one. | ||
|
||
|
||
## Build packages | ||
|
||
This concourse pipeline: | ||
- Tracks a build version in an S3 compatible object store | ||
- Tracks changes on master branch of this repo | ||
- Builds .package files | ||
- Creates a github release with the compiled .package files. | ||
- Tags the release as pre-release with a version number | ||
|
||
The pipeline is defined by [build_pipeline.yml](build_pipeline.yml) | ||
|
||
Add or update it on your concourse using: | ||
``` bash | ||
./00_set-build-pipeline.sh | ||
``` | ||
|
||
## Push Packages | ||
|
||
This concourse pipeline: | ||
- Watches for any new `released` github release at (https://github.com/dlinsley/o11n-package-vrocontrolcenter/releases) | ||
- Pushes the .package files from the github release to one or more vRO instances | ||
|
||
The pipeline is defined by [push_pipeline.yml](push_pipeline.yml) | ||
|
||
Add or update it on your concourse using: | ||
``` bash | ||
./00_set-push-pipeline.sh | ||
``` | ||
|
||
## Build and Push Packages | ||
|
||
This pipeline is useful if your team is not able to use github releases for artifact management. | ||
|
||
This concourse pipeline: | ||
- Tracks a build version in an S3 compatible object store | ||
- Tracks changes on master branch of this repo | ||
- Builds .package files | ||
- Pushes the .package files to one or more vRO instances. | ||
|
||
The pipeline is defined by [build_and_push_pipeline.yml](build_and_push_pipeline.yml) | ||
|
||
Add or update it on your concourse using: | ||
``` bash | ||
./00_set-build-push-pipeline.sh | ||
``` |