Skip to content

Commit

Permalink
Use ROCK image (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
nsklikas authored May 23, 2023
1 parent fde3079 commit bf947ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ jobs:

- name: Get hydra container logs
run: kubectl logs hydra-0 -c hydra -n testing
if: failure()

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

0 comments on commit bf947ac

Please # to comment.