Skip to content

Commit

Permalink
Use ROCK image (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas authored May 18, 2023
1 parent 9580f10 commit 2870783
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,12 @@ jobs:
- name: Get kratos container logs
run: kubectl logs kratos-0 -c kratos -n testing

# Hack to overcome lack of tools (cat, tar) in the workload container
- name: Get kratos config file
run: kubectl exec -it kratos-0 -c kratos -n testing -- cat /etc/config/kratos.yaml
run: |
juju ssh kratos/0 "PYTHONPATH=agents/unit-kratos-0/charm/venv/ python3 -c '
from ops import pebble
p = pebble.Client(\"/charm/containers/kratos/pebble.socket\")
f = p.pull(\"/etc/config/kratos.yaml\")
print(f.read())
'"
2 changes: 1 addition & 1 deletion metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resources:
oci-image:
type: oci-image
description: Kratos oci-image
upstream-source: oryd/kratos:v0.11.1
upstream-source: ghcr.io/canonical/kratos:0.13.0
requires:
pg-database:
interface: postgresql_client
Expand Down

0 comments on commit 2870783

Please sign in to comment.