Skip to content

Commit

Permalink
chore: Configures renovate to cover v1.5; adds v1.5 scheduled CI runs (
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmerold authored Nov 28, 2024
1 parent 001b6b4 commit 5f5d665
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,24 @@
"packageRules": [
// Later rules override earlier rules
{
"matchBaseBranches": ["main", "v*"],
"matchManagers": ["pep621"],
"rangeStrategy": "bump",
"groupName": "Python dependencies"
},
{
// Bumping "pytest-asyncio" over 0.23 breaks the integration tests
"matchPackageNames": ["pytest-asyncio"],
"matchUpdateTypes": ["minor"],
"enabled": false
},
{
"matchBaseBranches": ["main", "v*"],
"matchManagers": ["github-actions"],
"groupName": "GitHub actions"
},
{
"matchBaseBranches": ["main", "v*"],
"matchManagers": ["terraform"],
"groupName": "Terraform"
},
Expand Down
57 changes: 57 additions & 0 deletions .github/workflows/1_5_scheduled_runs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Release 1.5 scheduled CI

on:
schedule:
- cron: '0 6 * * 0'

jobs:
codeql:
name: CodeQL Analysis
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"

lint-report:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"

terraform-check:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"

static-analysis:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"

unit-tests-with-coverage:
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"

build:
needs:
- lint-report
- static-analysis
- unit-tests-with-coverage
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"
secrets: inherit

integration-test:
needs:
- build
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"
enable-metallb: true

update-lib:
name: Check libraries
uses: canonical/sdcore-github-workflows/.github/workflows/[email protected]
with:
branch-name: "v1.5"
secrets: inherit

0 comments on commit 5f5d665

Please sign in to comment.