-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
- Loading branch information
1 parent
3446fd6
commit 8a0abe0
Showing
1 changed file
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ci-definitions | ||
|
||
This repository contains several specs to define ci actions used within the building process of Openshift Local. The logic on each action is encapsulated as a container which improve their portability. | ||
|
||
## release | ||
|
||
The ci-definitions is a group of actions, as so the release / versioning is tied to each action on the project. Each action contains a file named `release-info` which holds the inforamtion for the release of the specific action. | ||
|
||
The following snippet shows how to release new version for a specific ci action (i.e crc-builder v1.0.0): | ||
|
||
```bash | ||
# Create a branch, branch will NOT be pushed | ||
git checkout -b b-crc-builder-v1.0.0 | ||
# Change the version on the release-info file for the ci action | ||
sed ... (TBC) | ||
# Generate the tasks with the new version | ||
make crc-builder-tkn-create | ||
# Commit the cut for the ci action | ||
git commit -s -m "chore: cut crc-builder v1.0.0" | ||
# Create the tag | ||
git tag crc-builder-v1.0.0 | ||
# Here the gh builder flow for the ci action will create oci image and bundle with tekton tasks | ||
git push upstream crc-builder-v1.0.0 | ||
# Change version on release-info to next version | ||
``` |