Skip to content

Commit

Permalink
Merge branch 'crameleon/mailman-refresh' into 'production'
Browse files Browse the repository at this point in the history
Refresh Django static on lists-o-o changes

See merge request https://gitlab.infra.opensuse.org/infra/salt/-/merge_requests/2001.

Approved-by: Jacob Michalskie <[email protected]>
  • Loading branch information
tacerus committed Aug 6, 2024
2 parents a9eff1a + 3d8a9c3 commit ed3ae01
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions salt/profile/mailman3/master.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ https://github.com/openSUSE/lists-o-o.git:
- rev: master
- user: mailman

mailman_refresh:
cmd.run:
- names:
- /usr/bin/mailman-web collectstatic
- /usr/bin/mailman-web compress
- shell: /bin/sh
- onchanges:
- git: https://github.com/openSUSE/lists-o-o.git
- watch_in:
- service: mailman_web_service

/var/lib/mailman/templates:
file.symlink:
- target: /var/lib/mailman/lists-o-o/mailman-templates
Expand Down

0 comments on commit ed3ae01

Please sign in to comment.