Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflows for tracks support #13

Merged
merged 3 commits into from
Jul 11, 2024
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
13 changes: 13 additions & 0 deletions .github/workflows/comment_contributing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Comment on the pull request

on:
pull_request:
types:
- opened
branches:
- 'track/**'

jobs:
comment-on-pr:
uses: canonical/operator-workflows/.github/workflows/comment_contributing.yaml@main
secrets: inherit
5 changes: 2 additions & 3 deletions .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ on:
push:
branches:
- main
- track/*

jobs:
test-and-publish-charm:
publish-to-edge:
uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main
secrets: inherit
with:
channel: latest/edge
2 changes: 2 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CVE-2024-24790

Check notice on line 1 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-tmate-ssh-server-8baadd236d7d466d3c469e3ae0522f212e1ffde2-_1.0_amd64.tar)

CVE-2024-24790 not present anymore, can be safely removed.
CVE-2023-45288

Check notice on line 2 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-tmate-ssh-server-8baadd236d7d466d3c469e3ae0522f212e1ffde2-_1.0_amd64.tar)

CVE-2023-45288 not present anymore, can be safely removed.
2 changes: 1 addition & 1 deletion tests/integration/test_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def test_proxy(
}
)

logger.info("Deplyoing tmate charm.")
logger.info("Deploying tmate charm.")
arturo-seijas marked this conversation as resolved.
Show resolved Hide resolved
app = await model.deploy(charm)
await model.wait_for_idle(apps=[app.name], wait_for_active=True)
unit: Unit = next(iter(app.units))
Expand Down
Loading