Merge ~mitchburton/landscape-charm:main into landscape-charm:main
Proposed by
Mitch Burton
Status: | Merged |
---|---|
Merged at revision: | d7f6c3a59d44ced4999f4e7880138d98571ef43b |
Proposed branch: | ~mitchburton/landscape-charm:main |
Merge into: | landscape-charm:main |
Diff against target: |
119 lines (+56/-5) 4 files modified
.gitignore (+4/-1) actions.yaml (+9/-3) src/charm.py (+16/-0) tests/test_charm.py (+27/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin Nasto | Approve | ||
Review via email: mp+439188@code.launchpad.net |
Commit message
add hash-id-databases action
Description of the change
This patch adds the hash-id-databases action, which simply runs the hash-id-databases script on-demand.
To test:
1. charmcraft pack
2. juju deploy ./bundle.yaml
3. wait until everything is ready, go look at /var/lib/
4. juju run-action landscape-server/0 hash-id-databases --wait
Confirm that the files in /var/lib/
To post a comment you must log in.
Not sure if this will be in issue but I noticed that cron job is /opt/canonical/ landscape/ scripts/ hash_id_ databases. sh but this one is in /landscape/. Seems like it's just checking if it already is running