Adam Shimali
ba874cfd43
Only trigger dependent build for master, staging and live
2016-05-11 12:39:39 +01:00
Adam Shimali
8f8245885e
Pass branch name to dependent build
2016-05-10 14:15:38 +01:00
Adam Shimali
fc1345acdf
Trigger dependent build for preview
2016-05-10 12:39:35 +01:00
Rebecca Law
bcb031259c
Revert "Update master with all the staging changes for aws deployments."
...
This reverts commit bfb59811f4 .
2016-04-18 14:07:54 +01:00
Rebecca Law
bfb59811f4
Update master with all the staging changes for aws deployments.
2016-04-15 16:10:11 +01:00
Martyn Inglis
001c875d02
Updated aws start/stop scripts to handle multiple start/stop scripts
...
Primarily to handle the two celery processes
2016-03-15 14:51:40 +00:00
Martyn Inglis
fbfa176895
First schedule
2016-03-09 14:41:36 +00:00
Martyn Inglis
9b28a6d4ad
Fixed version file to use new names
2016-03-03 16:27:13 +00:00
Martyn Inglis
24a9487a20
Updated status page
...
- include travis build number
- renamed properties
- ELB version
- moved code all into health check
- changed health check to be on same URL for admin and api
2016-03-03 15:18:12 +00:00
Martyn Inglis
b818e1a535
Populate version data with build number and fixed date
2016-03-03 15:06:10 +00:00
Rebecca Law
0169ebe69a
Add routing keys to celery queues.
...
NOTE: make sure upstart script on preview is updated before merging.
2016-03-02 16:22:22 +00:00
Rebecca Law
6a739d5ec9
Remove celery_queues from config.
...
Removed unused endpoint.
2016-03-02 13:15:23 +00:00
Martyn Inglis
3872ac5e67
Moved the deinition of which queues the worker will consume from
...
- now in config not the script
2016-03-01 16:57:06 +00:00
Rebecca Law
6f338f17ac
Merge branch 'master' into invitation
...
Conflicts:
scripts/run_celery.sh
2016-02-29 16:14:35 +00:00
Rebecca Law
3879350c12
Send email invitation to invited user
2016-02-29 15:56:00 +00:00
Adam Shimali
59aec1939c
[WIP] invited user now has comma separated permission values
...
stored against it so that user can be created with correct
permissions.
2016-02-29 14:05:02 +00:00
Martyn Inglis
10a764a2c1
Renamed the header of the CSV to 'to' from 'number' to allow for email jobs
...
- added new columns to Job and Notification to capture the start/end dates accurately
2016-02-25 09:59:50 +00:00
Martyn Inglis
b3884e2d6c
Move job processing into celery
...
- brings boto S3 into new AWS folder
- CSV processing utils method
Rejigs the jobs rest endpoint - removes some now unused endpoints,
Calls to the task with the job, job processing in task, delegating SMS calls to the sms task
2016-02-24 17:12:30 +00:00
Martyn Inglis
b01782bbe6
Send Email via the API
...
- uses the new subject/email from fields present on the templates / service tables
- brings the send email api call into line with the sms one.
- same fields (to/template_id)
- same rules regarding restricted services
- wired in as a task into celery
Requires
- new celery queue
- new env property (NOTIFY_EMAIL_DOMAIN)
2016-02-22 17:17:29 +00:00
Rebecca Law
aff948e9ca
Merge branch 'celery-send-sms-code' into celery-send-email-code
...
Conflicts:
app/celery/tasks.py
app/user/rest.py
scripts/run_celery.sh
2016-02-18 10:50:14 +00:00
Rebecca Law
b286b4356c
Update queue name with dashes
2016-02-18 10:45:25 +00:00
Rebecca Law
c1df61a7d4
Use celery to send the email verification code.
2016-02-18 09:52:27 +00:00
Rebecca Law
9073814d9f
I have an issue with the test, not sure why?
2016-02-17 17:48:23 +00:00
Rebecca Law
d022d036dc
Celery task to send the sms verify code.
...
Each celery task will use it's own queue.
2016-02-17 15:41:33 +00:00
Martyn Inglis
95cdfe08d1
Updated logging in run-celery script to log to application logs
...
- poll every second
- visibility of 1 minute
2016-02-17 11:18:27 +00:00
Martyn Inglis
e0e47b40fc
Setup celery config
2016-02-17 10:22:25 +00:00
Rebecca Law
08ba5de61b
Update config
...
Source the configuration from an environment file, this way it is similar to how the aws environment works
2016-02-16 16:01:50 +00:00
Nicholas Staples
d4b95efb6f
Remove unused file.
2016-02-01 12:00:02 +00:00
Nicholas Staples
cd5a91d4c8
version file has been updated to include a travis commit and time of build.
2016-02-01 11:37:22 +00:00
Nicholas Staples
99b849171f
Status page updated with api version and db version.
2016-01-29 12:51:33 +00:00
Adam Shimali
f18071084e
Merge pull request #18 from alphagov/proxy-to-alpha
...
Proxy to alpha
2016-01-19 16:02:42 +00:00
Martyn Inglis
742a567036
Added AWS files to
...
- upgrade database
- use credstash for secret overrides
2016-01-19 14:50:42 +00:00
Martyn Inglis
7b756567af
Updated tests for fetch notifications by id, not simply fetch all
2016-01-19 13:45:57 +00:00
Adam Shimali
62ccc17a44
Merge pull request #4 from alphagov/service_creation
2016-01-12 17:34:15 +00:00
Nicholas Staples
a327702ad0
Initial code added for models and services not functional yet. Bootstrap and migrations added for db.
2016-01-07 17:50:55 +00:00
Martyn Inglis
6354bc02db
Make repo be owned by ubuntu not root post code deploy deployment.
2016-01-07 15:28:21 +00:00
Martyn Inglis
44b0a5f07d
pip3 installation of dependencies
2016-01-07 13:43:53 +00:00
Martyn Inglis
3d02c97d5c
Adding an error trap - if application fails top stop build fails
2015-12-16 13:20:55 +00:00
Martyn Inglis
2ed38987b3
don't Install SASS gem on deploy
2015-12-16 11:03:07 +00:00
Martyn Inglis
94755b7a52
Install SASS gem on deploy
2015-12-16 11:02:16 +00:00
Martyn Inglis
afe6136a22
Install SASS gem on deploy
2015-12-16 11:01:43 +00:00
Martyn Inglis
3d56393b8d
Removed CD from AWS scripts
2015-12-15 17:21:31 +00:00
Martyn Inglis
3f5e7ae0bd
Added healthcheck page
...
- used in ELB healthchecks
2015-12-15 17:14:13 +00:00
Martyn Inglis
ec91614e04
Awful fudge to get app deployed. blocked on failed stop jobs
2015-12-15 16:41:07 +00:00
Martyn Inglis
8b76fbd382
Made aws scripts executable
2015-12-15 16:28:35 +00:00
Martyn Inglis
aa8caf8455
Adding AWS code deploy files
...
- app spec file forms basis of application deploy
- various AWS specific files to install dependencies and call upstart for start and stop application
2015-12-15 16:26:56 +00:00
Martyn Inglis
e25ca0e434
Basic commit to add get pages showing
...
- bootstrap script
- run script
- couple of views
- basic config
2015-12-10 10:56:59 +00:00
Rebecca Law
761e7b4444
Add trigger dependent build
2015-11-20 10:51:08 +00:00
Rebecca Law
3d59c72e17
Initial version of the notify-notifications-api
2015-11-18 17:02:25 +00:00