Deploy nightly.mozilla.org

VERIFIED FIXED

Status

Infrastructure & Operations Graveyard
WebOps: Product Delivery
VERIFIED FIXED
4 years ago
a year ago

People

(Reporter: tofumatt, Assigned: cturra)

Tracking

Details

(Reporter)

Description

4 years ago
Please pull the latest version of nightly.mozilla.org from the git repo and redeploy the site. Thanks!
(Reporter)

Comment 1

4 years ago
Ping, could we get this tended to soon? Thanks! :-)

Updated

4 years ago
Assignee: nobody → server-ops-webops
Component: other.mozilla.org → WebOps: Product Delivery
Product: Websites → Infrastructure & Operations
QA Contact: nmaul
Version: unspecified → other
(Assignee)

Comment 2

4 years ago
ouch - we really should have seen this sooner!

i just kicked off the code push for you, but hit an error along the way. are you familiar enough with the scrape.py file to help resolve this? 

[root@staticadm.private.phx1 nightly]# git pull
remote: Counting objects: 26, done.
remote: Compressing objects: 100% (16/16), done.
remote: Total 22 (delta 10), reused 18 (delta 6)
Unpacking objects: 100% (22/22), done.
From https://github.com/mozilla/nocturnal
   06a15e6..bb228b4  master     -> origin/master
Updating 06a15e6..bb228b4
Fast-forward
 fonts/MetaWebPro-Black.eot  | Bin 0 -> 36051 bytes
 fonts/MetaWebPro-Black.woff | Bin 0 -> 43516 bytes
 templates/index.html        |   4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)
 create mode 100644 fonts/MetaWebPro-Black.eot
 create mode 100644 fonts/MetaWebPro-Black.woff

[root@staticadm.private.phx1 nightly]# /usr/bin/python2.6 /data/static/src/nightly.mozilla.org/nightly/scrape.py --output-dir=/data/static/src/nightly.mozilla.org/public_html/
Traceback (most recent call last):
  File "/data/static/src/nightly.mozilla.org/nightly/scrape.py", line 251, in <module>
    main()
  File "/data/static/src/nightly.mozilla.org/nightly/scrape.py", line 247, in main
    write_output(OUTPUT_PATH, 'index.html', template.render({'files': files}))
  File "/data/static/src/nightly.mozilla.org/nightly/scrape.py", line 185, in write_output
    f.write(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u263a' in position 472: ordinal not in range(128)
Assignee: server-ops-webops → cturra
Flags: needinfo?(tofumatt)
OS: Mac OS X → All
Hardware: x86 → All
(Reporter)

Comment 3

4 years ago
Hmm, I wrote it, so I'll check that out. Surprised I didn't see that before, but I'll fix it up and push something. Shouldn't take long.
Flags: needinfo?(tofumatt)
(Assignee)

Comment 4

4 years ago
i believe i found the root case. see my comment on the latest commit in github:

https://github.com/mozilla/nocturnal/commit/bb228b430770591afc794e9384aea661f8d47cc7#L0R15
(Assignee)

Comment 5

4 years ago
looks like your latest commit to remove the unicode happy face character resolved the issue. the push is now complete.

[root@staticadm.private.phx1 nightly]# git pull
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 2), reused 4 (delta 2)
Unpacking objects: 100% (4/4), done.
From https://github.com/mozilla/nocturnal
   bb228b4..2d414e2  master     -> origin/master
Updating bb228b4..2d414e2
Fast-forward
 templates/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

[root@staticadm.private.phx1 nightly]# /usr/bin/python2.6 /data/static/src/nightly.mozilla.org/nightly/scrape.py --output-dir=/data/static/src/nightly.mozilla.org/public_html/

[root@staticadm.private.phx1 nightly]# /data/static/deploy nightly.mozilla.org
[2013-08-09 12:20:32] Running rsync_project
[2013-08-09 12:20:32] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/static/src/nightly.mozilla.org/ /data/static/www/nightly.mozilla.org/
[2013-08-09 12:20:32] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/static/src/nightly.mozilla.org/ /data/static/www/nightly.mozilla.org/ (0.074s)
[2013-08-09 12:20:32] Finished rsync_project (0.075s)
[2013-08-09 12:20:32] Running commit_www
[2013-08-09 12:20:32] [localhost] running: cd /data/static/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['nightly.mozilla.org']'
[2013-08-09 12:20:34] [localhost] finished: cd /data/static/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['nightly.mozilla.org']' (1.710s)
[localhost] out: [master 23b6418] deploy [nightly.mozilla.org]
[localhost] out: 6 files changed, 4 insertions(+), 4 deletions(-)
[localhost] out: create mode 100644 nightly.mozilla.org/nightly/fonts/MetaWebPro-Black.eot
[localhost] out: create mode 100644 nightly.mozilla.org/nightly/fonts/MetaWebPro-Black.woff
[localhost] out: create mode 100644 nightly.mozilla.org/public_html/fonts/MetaWebPro-Black.eot
[localhost] out: create mode 100644 nightly.mozilla.org/public_html/fonts/MetaWebPro-Black.woff
[2013-08-09 12:20:34] Finished commit_www (1.711s)
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
verified fixed http://nightly.mozilla.org/
Status: RESOLVED → VERIFIED

Updated

4 years ago
Depends on: 901909
Blocks: 935510
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.