From 749bd32e7bd4fab9ad6d8370ab6ed56a1a82d0e8 Mon Sep 17 00:00:00 2001 From: Raghu Simha Date: Fri, 12 May 2017 15:40:51 -0400 Subject: [PATCH 1/2] Move percy keys from encrypted travis.yml entries to travis config --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63352afd55fa..abf4ef4e1a3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,8 +39,6 @@ branches: env: global: - NPM_CONFIG_PROGRESS="false" - - secure: nvLqQdU2CGwvsQ3E1M/6HgBJAfmSzd90bDYQ1vkAkwGj+VOVQauqj7RDJACJS2XysJjzIvzNUOtKFvTSzThye167sKAZnQMmj9U8ATdlJfv5xq88QkkoCuJIOPtVnOWS8gBrDAy9d+Xwi22ZcE5kAAov1gNDmnX6YcPwW8y09vD+Jb1WkxofwTR5U3dP7pxVNRwgXY12g2lmbj+TZy5RHvjs1/ESSVtt/5Wq+Ubv9O6KAVPrh/VdVTYyvgynvwzz5jG3qe7981W8rUNIt+ihzdxJMSaoQkiBs5UM3qi8ibqKI2KHdDmGQg+vc/c5mjCCd9FAz7lF+fJJQ3YThTLmIN3u7Hil+o92OaAt2knwtZ3HRv/jbVQfnU0L9hqHw/kBYE37O4x4/ToJyR3EgbvFXqgiVph0eDUnsmi8PZc5FUiwb8r85thQmfUB+urkOXbnOyHQ9B74T+UjAvlaqLdQ53/9UTzgvLNm2z6RU65G9QYJVMSzj82K2rZ9AyVwjZMp/iuQDoUcUsuMhKDh2genHnxRtQa/TbLQM05oYHRqFa9oT3Q7C7QSSL8mmi/QMfGlTfxhM49CZsbcU2qbMCMCL7ZGWaSiXiEy7XICOzJnOiKFowDK5ihAZaQpRNquMwUSIMnnqrFgfWDbQSUmkOAwSm+2u2+SsXhT+WQfraRfSSI= - - secure: Yy/T45bp95od5bugtZFnr8e/YSc+8aPaiPQiI+Ms7T6TF/7NsjqwLHCgpd6TlSnkmuusHuI1N6foEHl9tu4XFjDdIl7qZvGLpNodSo5bFnKz8fVxHiZeCn6x6EMIx2QOw7Matrp6P7E2wV9DgQsmMhQQ2BNPu7XyJx8K6DbE654IFsHO9N3y9qO4TiZ2hfypGM7XCGZsLGo+amS/XbfJZDCupK3GTmWoA4M/liUSdRjM+9ienXC76bDw2Mf06WJ9RpsdYI4nVFRe1kkEUzu/1DJSh5oqkxtbYph4KHjh/2cTmzYGG03rPGxE07ndZKcBhdaiYuECTqps4zQ8ST4DouwxPecwbMZ0lpzUFYtSrZOC+iplxiaOWeombNsLRgswy4L+mOpqyQjsWQ8vLUqhSxyMY8BAXSJVOeBeMOLvYfC2UVscqcQsX2MwQA/izDWMFZrpqGBCPIieoWBatAb2QzCHGtL3K5cvnwSK6O+LC+nZJ8kR3Yl6zSyfKnnx46tyzqkNRQ11gvLCrnBOtjGtOt48Z3GmXb0KONCF8nu2Wb2ZbgN9Mi2KyI3+3gDRANzOqfjhByLyvuwCI8fWnogJIy5ZPVpZQC85GTUZBOMZMpQiVtcfv50qByRvtnn3aavE1KtcEFwj9Gaen/A+yO8EMnBJhc3SNf1ggJ2B18O6CBQ= cache: yarn: true directories: From 87aaf15b02a101c6faa59485da5f886c05a77995 Mon Sep 17 00:00:00 2001 From: Raghu Simha Date: Mon, 15 May 2017 13:44:53 -0400 Subject: [PATCH 2/2] Token logging --- build-system/tasks/visual-diff.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-system/tasks/visual-diff.js b/build-system/tasks/visual-diff.js index 915ae840f331..38e3c90be355 100644 --- a/build-system/tasks/visual-diff.js +++ b/build-system/tasks/visual-diff.js @@ -58,7 +58,9 @@ function extractPercyKeys() { 'Error: PERCY_TOKEN doesn\'t look like a valid Percy API key')); process.exit(1); } - util.log('Percy token: ', util.colors.magenta('')); + // Note: The secret percy token only gets printed during local use. Travis + // will hide it in publicly accessible logs. + util.log('Percy token: ', util.colors.magenta(percyToken)); return { percyProject: percyProject, percyToken: percyToken,