...
 
Commits (2)
......@@ -15,7 +15,8 @@ COPY share/urls.py /app/fedweb/urls.py.orig
# Install dependencies
RUN apt-get update -q ;\
apt-get install --no-install-recommends --yes gunicorn3 libjs-jquery python3 python3-pip python3-django python3-jinja2 python3-requests python3-tz python3-voluptuous python3-yaml python3-whitenoise ;\
apt-get install --no-install-recommends --yes gunicorn3 libjs-jquery python3 python3-pip python3-django python3-jinja2 python3-requests python3-tz python3-voluptuous python3-yaml ;\
python3 -m pip install --upgrade whitenoise ;\
python3 -m pip install --upgrade 'sentry-sdk==0.7.11' ;\
# Create the django project
chmod 775 /app ;\
......
{% extends "base.jinja2" %}
{% set features = ["deploy.tftp", "boot.u-boot.ramdisk"] %}
{% set device_type = device_type|default("bcm2837-rpi-3-b") %}
{% set job_name = job_name|default("bcm2837-rpi-3-b - health-check") %}
{% set job_timeout = job_timeout|default(600) %}
{% block context %}
context:
console_device: "ttyS1"
{% endblock %}
{% block actions %}
- deploy:
timeout:
minutes: 2
to: tftp
kernel:
url: http://ironhide.bounceme.net/health-checks/bcm2837-rpi-3-b/Image
type: image
ramdisk:
url: http://ironhide.bounceme.net/health-checks/bcm2837-rpi-3-b/rootfs.cpio.gz
compression: gz
modules:
url: http://ironhide.bounceme.net/health-checks/bcm2837-rpi-3-b/modules.tar.xz
compression: xz
dtb:
url: http://ironhide.bounceme.net/health-checks/bcm2837-rpi-3-b/bcm2837-rpi-3-b.dtb
os: oe
- boot:
timeout:
minutes: 5
method: u-boot
commands: ramdisk
prompts:
- 'linaro-test'
- 'root@debian:~#'
- '/ #'
{% endblock actions %}
......@@ -15,6 +15,7 @@ MIDDLEWARE = [
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
WHITENOISE_KEEP_ONLY_HASHED_FILES = True
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
# Add sentry if SENTRY_DSN is defined
......