Commit graph

2148 commits

Author SHA1 Message Date
James Polley
0231f3ff46 Set the deployment to use a SHA rather than the SLUG
This will ensure that the deployment gets updated when we deploy
2018-06-24 23:23:23 +10:00
James Polley
bdc976d77b Try a different way to edit the urlconf 2018-06-24 23:23:23 +10:00
James Polley
dc6c8077ad Move dev-mode setting to before urls are loaded 2018-06-24 22:22:19 +10:00
James Polley
c375e6df78 Add DEV_MODE setting for DEV_MODE instances 2018-06-24 22:04:31 +10:00
James Polley
81db7ff00d Add patch for certificate 2018-06-24 21:12:37 +10:00
James Polley
3d5ed5c516 Turn review jobs back on
Use a new "rego-review" namespace to not interfere with the dev instance.
2018-06-24 14:32:33 +10:00
Tobias Schulmann
2d5443be89 Hide green row when no reviews available 2018-06-24 13:21:52 +12:00
Tobias Schulmann
0576f90903 Update fixtures for nav improvements 2018-06-24 13:18:45 +12:00
Tobias Schulmann
5256aeeda3 Started dashboard design 2018-06-24 01:07:10 +00:00
Tobias Schulmann
1f04ec0cea Add django-crispy-forms for BS4 support
TODO: Remove django-bootstrap-form dependency, left to avoid breaking
other parts.
2018-06-24 01:07:10 +00:00
Tobias Schulmann
70138d0433 Favicon update 2018-06-23 17:23:48 +12:00
James Polley
5b093b550f Disable the review-app jobs for now
They broke the ingress; disabling until that can be sorted out.
2018-06-17 19:37:07 +10:00
James Polley
ab1c129c20 Rough notes on CI/CD 2018-06-17 19:37:07 +10:00
Tobias Schulmann
fc7bb77214 Use all 4 homepage pictures 2018-06-17 19:40:13 +12:00
James Polley
65bed40faf Switch to building in the rego-dev namespace 2018-06-17 04:43:45 +00:00
James Polley
304436881b Remove status stanzas 2018-06-17 04:43:45 +00:00
James Polley
de17d506a4 Attempt to build review apps for dev/* branches 2018-06-17 04:43:45 +00:00
James Polley
a81956359b Auto-deploy dev changes to dev instance 2018-06-17 04:43:45 +00:00
Tobias S
19a5bbf929 Dev/tobi/responsive 2018-06-17 04:18:04 +00:00
James Polley
3534a8243c Make the dev job available to dev/lca2019 branch 2018-06-16 12:05:23 +10:00
James Polley
3a91b5b2d1 If an auth fixture is supplied by k8s, use that. 2018-06-16 11:56:34 +10:00
Tobias Schulmann
39f41759fc Changed logo to linux.conf.au, fixes #61 2018-06-16 01:51:57 +00:00
Tobias Schulmann
66965e0297 Initial sponsors page draft 2018-06-16 13:07:59 +12:00
James Polley
6d50900433 Add staging environment and deploy job 2018-06-10 19:12:14 +10:00
James Polley
f14fdd6f93 Handle exceptions raised if the DB does not yet exist 2018-06-10 19:05:07 +10:00
James Polley
c16989d006 Build the test image for all branches except master 2018-06-09 11:22:27 +10:00
James Polley
5431497328 Update dev instance deploy script
- We have a flatpages fixture to add in
- Need to let the script exist in the docker context so it can be run
2018-06-09 11:16:48 +10:00
James Polley
837ecc33b5 Update requirements to latest bleach and pytz 2018-06-06 12:22:00 +10:00
James Polley
c8218bb9d0 Correct variable name to reflect what it's naming
IT's not the container name, it's the image name. Fix the name to be
less confusing.
2018-06-06 12:21:26 +10:00
James Polley
ddae8d91f6 Improved handling of static/build and css generation
When the container is mounted, the local contents of . obscure
/app/symposion_app in the image.

Generally speaking, this is handy for development, as it means that
local changes are detected and used immediately without needing to
restart the container.

However, it breaks in the specific case of the sass->css
generation. Prior to this change, the css is generated only after the
first time a page is hit. The generated file is placed in
static/build; however, due to the obscuration, this generated file
isn't visible to the running process.

The next time the container is built, the pre-existing static/build
directory is copied into the container as it's being built; then,
later, that version is what gets served.

This change adds the needed libraries to pre-generate the css as part
of the image build, and runs compilescss to do this, prior to the
collectstatic step.

It also adds a second collectstatic into the make_dev_container
script, so that the visible static/build directory should ahve the
same contents as the obscured static/build directory. It also expands
the .dockerignore file to make sure these files aren't copied into the
image in future.

I'm not sure if this is the right thing to do, as changes to this
directory will be ignored, which could be confusing. Perhaps never
being able to see these generated files is better?
2018-06-06 12:20:06 +10:00
James Polley
3d9c8b3032 Merge commit 'c07dc66' into tobi/2019_layout 2018-06-05 16:59:13 +10:00
Tobias Schulmann
80dac1a769 Quick todolist writeup 2018-06-04 20:55:04 +12:00
Tobias Schulmann
4d15cbf85c Add first 2019 design attempts 2018-06-04 20:54:51 +12:00
Tobias Schulmann
da2bacdfa7 Add bootstrap4 copy 2018-06-04 20:54:30 +12:00
Tobias Schulmann
c9449f619d Make homepage the default route 2018-06-04 20:54:10 +12:00
Tobias Schulmann
ad05ca50a0 Add static assets 2018-06-04 20:53:14 +12:00
Tobias Schulmann
3daf623360 Add sass processor 2018-06-04 20:52:51 +12:00
Tobias Schulmann
44cc0e356f Update fixtures for LCA2019 2018-06-04 20:51:03 +12:00
Sachi King
c07dc66b3d Attempt updated CI deployment 2018-05-26 14:47:19 +10:00
James Polley
1402c76540 Pull Dev image from 2019 base 2018-05-26 12:18:33 +10:00
James Polley
bf1f42dab9 Modify dependencies to suit debian stretch
The python:3.6 tag now points to stretch.

Changed the name of the base image to make this more explicit.
2018-05-26 11:56:24 +10:00
James Polley
bbd277c462 Modify build pipeline for 2019 dev branch 2018-05-26 11:43:25 +10:00
James Polley
a0c6dffd87
If symposion-tools is found, back up the db 2018-04-19 08:02:43 +10:00
James Polley
b366c7809e
Create review permissions on dev image build 2018-04-19 07:41:51 +10:00
James Polley
9d60934153
Rename 2019 deploy job to not clash with ticket-testing deploy 2018-04-19 07:41:22 +10:00
James Polley
f3adee261c
Don't populate inventory yet
We'll turn this back on once we're ready to start testing inventory for LCA2019
2018-04-19 07:36:44 +10:00
James Polley
6e35fec262
Update gitlab CI to build test images for the lca2019 branch 2018-04-19 07:34:48 +10:00
James Polley
026199faf3
Change dev container build to load only the initial conference state 2018-04-19 07:10:33 +10:00
James Polley
34c7beec35
Update initial fixtures for LCA2019 2018-04-19 07:09:47 +10:00
James Polley
4162ba7c3f
Merge branch 'master' into ticket-testing 2018-04-17 15:54:38 +10:00