Merge lp:~quantifics/canonical-identity-provider/charm into lp:~ubuntuone-pqm-team/canonical-identity-provider/charm

Proposed by John Paraskevopoulos
Status: Merged
Approved by: John Paraskevopoulos
Approved revision: 107
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: lp:~quantifics/canonical-identity-provider/charm
Merge into: lp:~ubuntuone-pqm-team/canonical-identity-provider/charm
Diff against target: 18 lines (+8/-0)
1 file modified
playbook.yaml (+8/-0)
To merge this branch: bzr merge lp:~quantifics/canonical-identity-provider/charm
Reviewer Review Type Date Requested Status
Guillermo Gonzalez Approve
Review via email: mp+429229@code.launchpad.net

Commit message

Add task to relink static files in python switch

Description of the change

Adds task to run `make collectstatic` as part of the python switch
(switch-python-version tag) to relink the staticfiles

To post a comment you must log in.
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

if we get make already installed, +1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'playbook.yaml'
2--- playbook.yaml 2022-08-30 16:24:27 +0000
3+++ playbook.yaml 2022-08-31 13:40:42 +0000
4@@ -156,6 +156,14 @@
5 virtualenv_site_packages: yes
6 when: build_label != "" and payload.stat.exists
7
8+ - name: Relink static files
9+ tags:
10+ - switch-python-version
11+ become: yes
12+ command: "make collectstatic"
13+ args:
14+ chdir: "{{ current_dir }}"
15+
16 - name: Write charm config
17 tags:
18 - config-changed

Subscribers

People subscribed via source and target branches