~ubuntuone-pqm-team/ols-store-tests/store-acceptance-tests

« back to all changes in this revision

Viewing changes to README

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Fabi?n Ezequiel Gallina
  • Date: 2017-03-02 10:32:08 UTC
  • mfrom: (38.1.5 register-name-window-updates)
  • Revision ID: otto-copilot@canonical.com-20170302103208-icwhffnogplad25n
Update store acceptance tests for name registration

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
Then you can run the tests against your local devportal instance like::
74
74
 
75
75
   $ SCA_ROOT_URL=http://<ip>:<port> make api-tests
 
76
 
 
77
ols jenkaas setup
 
78
=================
 
79
 
 
80
Merge proposals are gated on https://jenkins.ols.canonical.com which relies
 
81
on ols-vms (from ppa:ubuntuone/ols-tests) to setup the lxd container defined
 
82
in ols-vms.conf.
 
83
 
 
84
Setting up the same container locally is done with:
 
85
 
 
86
$ ols-vms setup store-acceptance-tests -Olxd.user_mounts=~:/home/ubuntu,<path to secrets>:/home/ubuntu/.config/ols-store-acceptance-tests
 
87
 
 
88
``<path to secrets`` should contain a ``secrets`` file exporting the
 
89
TEST_USER_EMAIL, TEST_USER_PASSWORD, TEST_USER_NAMESPACE and
 
90
STRIPE_PUBLISHABLE_KEY.
 
91
 
 
92
Once the container is setup you can enter it with:
 
93
 
 
94
$ ols-vms shell store-acceptance-tests
 
95
 
 
96
Once there, 'cd' to your mounted working dir and 'make bootstrap'.
 
97
 
 
98
ols jenkaas use './run-landing-tests.sh'.