Closed Bug 1290168 Opened 8 years ago Closed 8 years ago

Deploy Normandy v11

Categories

(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: osmose, Assigned: relud)

References

Details

Please deploy the tag "v9" of Normandy. This includes the brand new control interface for editing recipes, as well as client-side recipe filtering and a host of other changes (mythmon summarized these well in his email to dev-shield).

This should be deployed to staging first; we're aiming for the production release to occur Tuesday August 2nd.

# Commit log

Too long to share here, but this command should get them:

$ git log v8..v9 --pretty=format:"%h %s" --graph

# Settings changes

DJANGO_NUM_PROXIES: This was mentioned in bug 1269419 so I suspect this is already configured, but just in case, this should be 2 for webheads and 1 for admin nodes. This is the number of proxies between the user and the app server.
deployed to stage

DJANGO_NUM_PROXIES: yep, already done.
======================
PRE-DEPLOYMENT TESTING
======================

Tested the API and Control interface using the v9 tag as checked out in staging.

browser.uitour.testingOrigin was set to 'https://normandy-admin.stage.mozaws.net' for these tests


******************
API CONTRACT TESTS
******************

(venv) ~/m/normandy (master) $ py.test --server=https://normandy-admin.stage.mozaws.net/ -v contract-tests/
================================================================= test session starts =================================================================
platform darwin -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla/normandy/venv/bin/python3.5
cachedir: .cache
rootdir: /Users/chartjes/mozilla/normandy, inifile: pytest.ini
collected 3 items

contract-tests/test_api.py::test_expected_action_types PASSED
contract-tests/test_api.py::test_console_log PASSED
contract-tests/test_api.py::test_show_heartbeat PASSED

************
RECIPE TESTS
************

Used https://normandy-admin.stage.mozaws.net/control to test the following recipies:

'console-log' recipes wrote expected values to web console
'show-heartbeat' recpipes caused a survey to be triggered and expected post-survey page was visited

QA approves testing in staging, ready for production deployment.
=======================
POST-DEPLOYMENT TESTING
=======================

******************
API CONTRACT TESTS
******************

platform darwin -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla/normandy/venv/bin/python3.5
cachedir: .cache
rootdir: /Users/chartjes/mozilla/normandy, inifile: pytest.ini
collected 3 items

contract-tests/test_api.py::test_expected_action_types PASSED
contract-tests/test_api.py::test_console_log PASSED
contract-tests/test_api.py::test_show_heartbeat PASSED
(In reply to Chris Hartjes [:grumpy][:chartjes] from comment #3)
> =======================
> POST-DEPLOYMENT TESTING
> =======================
> 
> ******************
> API CONTRACT TESTS
> ******************
> 
> platform darwin -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 --
> /Users/chartjes/mozilla/normandy/venv/bin/python3.5
> cachedir: .cache
> rootdir: /Users/chartjes/mozilla/normandy, inifile: pytest.ini
> collected 3 items
> 
> contract-tests/test_api.py::test_expected_action_types PASSED
> contract-tests/test_api.py::test_console_log PASSED
> contract-tests/test_api.py::test_show_heartbeat PASSED

Clarification - these were run before the deployment happened, excuse the heading
v10 has been released to stage, and contains a fix for the caching bug that prevented deployment last tuesday. New deployment time is set to 1PM PDT Monday Aug 8.
Summary: Deploy Normandy v9 → Deploy Normandy v10
======================
PRE-DEPLOYMENT TESTING
======================

Tested the API and Control interface using the v10 tag as checked out in staging.

browser.uitour.testingOrigins was set to 'https://normandy-admin.stage.mozaws.net' for these tests


******************
API CONTRACT TESTS
******************

(venv) ~/m/normandy (master) $ py.test --server=https://normandy-admin.stage.mozaws.net/ -v contract-tests/
================================================================= test session starts =================================================================
platform darwin -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla/normandy/venv/bin/python3.5
cachedir: .cache
rootdir: /Users/chartjes/mozilla/normandy, inifile: pytest.ini
collected 3 items

contract-tests/test_api.py::test_expected_action_types PASSED
contract-tests/test_api.py::test_console_log PASSED
contract-tests/test_api.py::test_show_heartbeat PASSED

************
RECIPE TESTS
************

Used https://normandy-admin.stage.mozaws.net/control to test the following recipes:

'console-log' recipes wrote expected values to web console
'show-heartbeat' recipes caused a survey to be triggered and expected post-survey page was visited

QA approves testing in staging, ready for production deployment.
v11 was pushed to stage this morning
Summary: Deploy Normandy v10 → Deploy Normandy v11
======================
PRE-DEPLOYMENT TESTING
======================

Tested the API and Control interface using the v11 tag as checked out in staging.

browser.uitour.testingOrigins was set to 'https://normandy-admin.stage.mozaws.net' for these tests


******************
API CONTRACT TESTS
******************

(venv) ~/m/normandy (master) $ py.test --server=https://normandy-admin.stage.mozaws.net/ -v contract-tests/
================================================================= test session starts =================================================================
platform darwin -- Python 3.5.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla/normandy/venv/bin/python3.5
cachedir: .cache
rootdir: /Users/chartjes/mozilla/normandy, inifile: pytest.ini
collected 3 items

contract-tests/test_api.py::test_expected_action_types PASSED
contract-tests/test_api.py::test_console_log PASSED
contract-tests/test_api.py::test_show_heartbeat PASSED

************
RECIPE TESTS
************

Used https://normandy-admin.stage.mozaws.net/control to test the following recipes:

'console-log' recipes wrote expected values to web console
'show-heartbeat' recipes caused a survey to be triggered and expected post-survey page was visited

QA approves testing in staging, ready for production deployment of code tagged as v11.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.