forked from canonical/dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrockcraft.yaml
More file actions
63 lines (59 loc) · 1.87 KB
/
rockcraft.yaml
File metadata and controls
63 lines (59 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: dashboard
# see https://documentation.ubuntu.com/rockcraft/en/1.8.0/explanation/bases/
# for more information about bases and using 'bare' bases for chiselled rocks
base: ubuntu@22.04 # the base environment for this Django application
version: "0.26" # just for humans. Semantic versioning is recommended
summary: A summary of your Django application # 79 char long summary
description: |
Dashboard is a Django application to track quality and progress of multiple
projects in several dimensions, and to display them in an interactive table.
# the platforms this rock should be built on and run on.
# you can check your architecture with `dpkg --print-architecture`
platforms:
amd64:
arm64:
# ppc64el:
# s390x:
# to ensure the django-framework extension functions properly, your Django project
# should have a structure similar to the following with ./dashboard/dashboard/wsgi.py
# being the WSGI entry point and contain an application object.
# +-- dashboard
# | |-- dashboard
# | | |-- wsgi.py
# | | +-- ...
# | |-- manage.py
# | |-- migrate.sh
# | +-- some_app
# | |-- views.py
# | +-- ...
# |-- requirements.txt
# +-- rockcraft.yaml
extensions:
- django-framework
# uncomment the sections you need and adjust according to your requirements.
# parts:
# django-framework/dependencies:
# stage-packages:
# # list required packages or slices for your Django application below.
# - libpq-dev
parts:
django-framework/install-app:
plugin: dump
source: dashboard
organize:
'*': django/app/
.*: django/app/
stage:
- -django/app/db.sqlite3
- -django/app/dashboard/settings.py
permissions:
- owner: 584792
group: 584792
charm-settings-py:
plugin: dump
source: dashboard_rock_patch
organize:
'*': django/app/
permissions:
- owner: 584792
group: 584792