Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions prepare_source
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# vim: ft=bash

# commit sha from https://github.com/cyberus-technology/cloud-hypervisor/commits/gardenlinux/
CLOUD_HYPERVISOR_COMMIT_SHA="079ed4dcb9bbc168405fe4462248ec3663da863a"
# release tag from https://github.com/cyberus-technology/cloud-hypervisor/tags
CLOUD_HYPERVISOR_RELEASE_TAG="gardenlinux-release-26-06-19"
version_increment="1"

git_src_commit "$CLOUD_HYPERVISOR_COMMIT_SHA" https://github.com/cyberus-technology/cloud-hypervisor.git
git_src_commit "$CLOUD_HYPERVISOR_RELEASE_TAG" https://github.com/cyberus-technology/cloud-hypervisor.git

# debian specific things
cp -r debian "$dir/src/"
Expand Down
22 changes: 22 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,34 @@
],
"packageRules": [
{
"description": "Track GitHub releases for main and rel-* branches",
"matchDepNames": ["cyberus-technology/cloud-hypervisor"],
"matchBaseBranches": ["$default", "/^rel-\\d+$/"],
"sourceUrl": "https://github.com/cyberus-technology/cloud-hypervisor",
"allowedVersions": "/^gardenlinux-release-/"
},
{
"description": "Track commits from gardenlinux-staging for sta-* branches",
"matchDepNames": ["cyberus-technology/cloud-hypervisor"],
"matchBaseBranches": ["/^sta-\\d+$/"],
"sourceUrl": "https://github.com/cyberus-technology/cloud-hypervisor"
}
],
"customManagers": [
{
"description": "Match release tags for main and rel-* branches",
"customType": "regex",
"managerFilePatterns": ["/^prepare_source$/"],
"matchStrings": [
"CLOUD_HYPERVISOR_RELEASE_TAG=\"(?<currentValue>gardenlinux-release-[^\"]+)\""
],
"depNameTemplate": "cyberus-technology/cloud-hypervisor",
"packageNameTemplate": "cyberus-technology/cloud-hypervisor",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^(?<version>.+)$"
},
{
"description": "Match commit SHAs for sta-* branches",
"customType": "regex",
"managerFilePatterns": ["/^prepare_source$/"],
"matchStrings": [
Expand Down
Loading