Skip to content

Commit

Permalink
Add workflows for tracks support (#1823)
Browse files Browse the repository at this point in the history
* Add workflows for tracks support

* Change pg db for testing

* Fix wf

* Fix wf
  • Loading branch information
arturo-seijas authored Jul 18, 2024
1 parent e5eda78 commit 51f6de4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
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
3 changes: 1 addition & 2 deletions .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: Publish to edge

on:
workflow_dispatch:
push:
branches:
- main
- track/*

jobs:
publish-to-edge:
uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main
secrets: inherit
with:
channel: latest/edge
charmcraft-channel: "latest/edge"
resource-mapping: '{"repo-policy-compliance": "flask-app-image"}'
2 changes: 1 addition & 1 deletion tests/charm/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def app_fixture(
database_name = "postgresql-k8s"
await model.deploy(
database_name,
channel="14/edge",
channel="14/stable",
series="jammy",
trust=True,
config={
Expand Down

0 comments on commit 51f6de4

Please sign in to comment.