Skip to content

Commit

Permalink
Merge pull request #898 from camptocamp/c2cciutils-upgrade
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner authored Oct 10, 2024
2 parents 31d1b1e + b0f772b commit 9051755
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 68 deletions.
14 changes: 14 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,19 @@
matchFileNames: ['.github/workflows/rebuild.yaml'],
enabled: false,
},
/** Packages published very recently are not pushed to stabilization branches for security reasons */
{
matchBaseBranches: [
'/^[0-9]+\\.[0-9]+$/',
'/^[0-9]+\\.[0-9]+-gdal[0-9]+\\.[0-9]+$/',
'/^[0-9]+\\.[0-9]+-ubuntu[0-9]+\\.[0-9]+$/',
],
minimumReleaseAge: '7 days',
},
/** Ungroup Python dependencies */
{
matchDepNames: ['python'],
groupName: 'Python',
},
],
}
59 changes: 0 additions & 59 deletions .github/workflows/audit.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
sudo rm /etc/apt/sources.list.d/*.list
sudo apt update
sudo apt install --yes python3-wheel
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: sudo python3 -m pip install --requirement=ci/requirements.txt
- name: Clean Docker hub tags
run: c2cciutils-clean
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: python3 -m pip install --user --requirement=ci/requirements.txt
- run: python3 -m pip install --requirement=ci/requirements.txt
- name: Print environment information
run: c2cciutils-env

Expand Down
12 changes: 4 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,7 @@ repos:
hooks:
- id: jsonschema-validator
files: ^ci/config\.yaml$
ci:
autoupdate_schedule: quarterly
skip:
- copyright
- poetry-check
- poetry-lock
- ripsecrets
- jsonschema-validator
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 37.428.1
hooks:
- id: renovate-config-validator

0 comments on commit 9051755

Please sign in to comment.