Closed
Bug 1149782
Opened 11 years ago
Closed 11 years ago
Rewrite the test environment so Review Board runs inside Docker
Categories
(MozReview Graveyard :: General, defect)
MozReview Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: gps)
Details
Attachments
(8 files, 1 obsolete file)
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details | |
|
39 bytes,
text/x-review-board-request
|
Details |
This is needed so Autoland and Review Board can talk to one another.
This is the project I've been steadily working on for the past few weeks. I realize there wasn't a bug.
| Assignee | ||
Comment 1•11 years ago
|
||
/r/6377 - docker: support creating images via ansible playbook execution
/r/6385 - hgmo: better integrate Docker into Ansible roles
/r/6387 - hgrb: ansible support for running hg reviewboard servers
/r/6389 - mozreview: integrate hg-reviewboard container into MozReview environment
/r/6391 - mozreview: support for creating users in LDAP
/r/6393 - create default user ldap account during tests
/r/6395 - testing: overhaul the testing environment (bug 1149782)
Pull down these commits:
hg pull -r 891776ce25f627d996a1b12378d63d983f89cb96 https://reviewboard-hg.mozilla.org/version-control-tools/
| Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8586376 [details]
MozReview Request: bz://1149782/gps
/r/6441 - mozreview: publish reviews before running fetchreviews
/r/6377 - docker: support creating images via ansible playbook execution
/r/6385 - hgmo: better integrate Docker into Ansible roles
/r/6387 - hgrb: ansible support for running hg reviewboard servers
/r/6389 - mozreview: integrate hg-reviewboard container into MozReview environment
/r/6391 - mozreview: support for creating users in LDAP
/r/6393 - create default user ldap account during tests
/r/6395 - testing: overhaul the testing environment (bug 1149782)
Pull down these commits:
hg pull -r d1f97ab36b09930c6ac7a2c001dc660c98bea851 https://reviewboard-hg.mozilla.org/version-control-tools/
| Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8586376 [details]
MozReview Request: bz://1149782/gps
/r/6393 - testing: overhaul the testing environment (bug 1149782)
Pull down this commit:
hg pull -r fdbb1b48fd62af84eaacddcbf3b270901462657d https://reviewboard-hg.mozilla.org/version-control-tools/
| Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8586376 [details]
MozReview Request: bz://1149782/gps
/r/6393 - testing: overhaul the testing environment (bug 1149782)
Pull down this commit:
hg pull -r 73e4210cde04cef90e3f3d78d0f368856d239537 https://reviewboard-hg.mozilla.org/version-control-tools/
| Assignee | ||
Updated•11 years ago
|
Attachment #8586376 -
Flags: review?(smacleod)
| Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8586376 [details]
MozReview Request: bz://1149782/gps
/r/6393 - testing: overhaul the testing environment (bug 1149782)
Pull down this commit:
hg pull -r 27cb5242ab89e72cf8ac084fa62630345a7f1584 https://reviewboard-hg.mozilla.org/version-control-tools/
| Assignee | ||
Comment 6•11 years ago
|
||
https://reviewboard.mozilla.org/r/6375/#review5605
Steven: I don't expect you to review this entire patch. Instead, I only ask that you look over the test changes and confirm they look sane.
Comment 7•11 years ago
|
||
Comment on attachment 8586376 [details]
MozReview Request: bz://1149782/gps
https://reviewboard.mozilla.org/r/6375/#review5659
LGTM, Ship-It!
::: ansible/roles/hg-reviewboard/templates/hg_helper.py.j2
(Diff revision 5)
> + sys.stderr.write ('No interactive shells allowed here!\n')
Trailing space.
::: ansible/roles/hg-reviewboard/templates/hg_helper.py.j2
(Diff revision 5)
> + sys.stderr.write ('No interactive commands allowed here!\n')
Trailing space.
::: ansible/roles/hg-reviewboard/templates/hg_helper.py.j2
(Diff revision 5)
> + sys.stderr.write ('You are not welcome here, go away!\n')
Trailing space.
::: ansible/roles/hg-reviewboard/templates/sh_helper.py.j2
(Diff revision 5)
> + shlex.split(fixed_command_string[:command_end]),
trailling.
::: ansible/roles/hg-reviewboard/templates/sh_helper.py.j2
(Diff revision 5)
> + subcommand = subprocess.Popen(shlex.split(fixed_command_string),
trailing.
::: docs/hacking-mozreview.rst
(Diff revision 5)
> - Review Board URL: http://localhost:57486/
> - Mercurial URL: http://localhost:57487/
> + Bugzilla accessible on http://192.168.59.104:55568/
> + Bugzilla URL: http://192.168.59.104:55568/
redundant?
::: docs/hacking-mozreview.rst
(Diff revision 5)
> + Refresh code in the cluster by running:
> + ./mozreview refresh
> +
> + Perform refreshing automatically by running:
> + ./mozreview autorefresh
This is excellent :)
::: docs/hacking-mozreview.rst
(Diff revision 5)
> + This workflow is a bit complicated and should be improved.
Maybe some sort of wizard in the future? It *is* very nice we're mimicking production so much now! worth.
::: docs/hacking-mozreview.rst
(Diff revision 5)
> + $ $(./mozreview shellinit)
awesome.
Attachment #8586376 -
Flags: review?(smacleod) → review+
| Assignee | ||
Updated•11 years ago
|
Attachment #8586376 -
Flags: review+ → review?(smacleod)
| Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8586376 [details]
MozReview Request: bz://1149782/gps
/r/6393 - testing: overhaul the testing environment (bug 1149782)
Pull down this commit:
hg pull -r 7f495c1398f1894e692d08322b8d62cd924726d9 https://reviewboard-hg.mozilla.org/version-control-tools/
| Assignee | ||
Comment 9•11 years ago
|
||
Updated•11 years ago
|
Attachment #8586376 -
Flags: review?(smacleod)
| Assignee | ||
Comment 10•11 years ago
|
||
This landed a few weeks ago.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 11•11 years ago
|
||
Attachment #8586376 -
Attachment is obsolete: true
| Assignee | ||
Comment 12•11 years ago
|
||
| Assignee | ||
Comment 13•11 years ago
|
||
| Assignee | ||
Comment 14•11 years ago
|
||
| Assignee | ||
Comment 15•11 years ago
|
||
| Assignee | ||
Comment 16•11 years ago
|
||
| Assignee | ||
Comment 17•11 years ago
|
||
| Assignee | ||
Comment 18•11 years ago
|
||
| Assignee | ||
Comment 19•11 years ago
|
||
Updated•10 years ago
|
Product: Developer Services → MozReview
You need to log in
before you can comment on or make changes to this bug.
Description
•