Skip to content

Commit 6c09910

Browse files
Update outdated libs + secrets related changes + rock image (#411)
* Update ROCK to latest sha * Add lib-check CI step * Update all outdated charm libs * Run format * Update crytography package due to the upgrade of the tls charm lib * Pull in async_replication charm lib from charmhub * Update rock image + pass in new arguments to mysqld exporter * Update data_interfaces charm lib and fix lint warning * Fix unit tests * Update outdated libs (rolling_ops and prometheus_scrape) + run format * Fix unit tests that broke due to the rolling ops charmlib upgrade * Address PR feedback
1 parent e4625c2 commit 6c09910

File tree

18 files changed

+1741
-1135
lines changed

18 files changed

+1741
-1135
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,26 @@ jobs:
3434
- name: Upload Coverage to Codecov
3535
uses: codecov/codecov-action@v4
3636

37+
lib-check:
38+
name: Check libraries
39+
runs-on: ubuntu-latest
40+
timeout-minutes: 5
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 0
46+
- run: |
47+
# Workaround for https://github.com/canonical/charmcraft/issues/1389#issuecomment-1880921728
48+
touch requirements.txt
49+
- name: Check libs
50+
uses: canonical/charming-actions/[email protected]
51+
with:
52+
credentials: ${{ secrets.CHARMHUB_TOKEN }}
53+
github-token: ${{ secrets.GITHUB_TOKEN }}
54+
use-labels: false
55+
fail-build: ${{ github.event_name == 'pull_request' }}
56+
3757
build:
3858
name: Build charm
3959
uses: canonical/data-platform-workflows/.github/workflows/[email protected]

0 commit comments

Comments
 (0)