Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide credentials to nightly WPT sync job #783

Merged
merged 1 commit into from Jan 29, 2018
Merged

Provide credentials to nightly WPT sync job #783

merged 1 commit into from Jan 29, 2018

Conversation

@jdm
Copy link
Member

jdm commented Jan 26, 2018

This will give us more useful information by actually creating a PR with the results of syncing with upstream. We can choose to disregard it without any issue.


This change is Reviewable

@jdm
Copy link
Member Author

jdm commented Jan 26, 2018

@jdm jdm force-pushed the jdm-patch-4 branch 2 times, most recently from 8e6ee30 to f16d273 Jan 26, 2018
@@ -152,4 +153,5 @@ def without(self, to_unset):
'AWS_ACCESS_KEY_ID': S3_UPLOAD_ACCESS_KEY_ID,
'AWS_SECRET_ACCESS_KEY': S3_UPLOAD_SECRET_ACCESS_KEY,
'GITHUB_HOMEBREW_TOKEN': GITHUB_HOMEBREW_TOKEN,
'WPT_SYNC_TOKEN': WPT_SYNC_PR_CREATION_TOKEN,

This comment has been minimized.

@aneeshusa

aneeshusa Jan 27, 2018

Member

Why are we putting this in the upload_nightly environment? It sounds like this is being run as a separate step, so we should use a separate environment (e.g. I find it unlikely this needs AWS access), and use the environment combining feature with + if necessary.

This comment has been minimized.

@jdm

jdm Jan 29, 2018

Author Member

Fixed.

@@ -38,6 +38,7 @@ deploy-{{ common.servo_home }}/buildbot/master:
- context:
common: {{ common }}
buildbot_credentials: {{ pillar['buildbot']['credentials'] }}
wpt_sync_credentials: {{ pillar['wpt-sync'] }}

This comment has been minimized.

@aneeshusa

aneeshusa Jan 27, 2018

Member

I'd prefer if these credentials got moved under buildbot:credentials so this line is not needed. The test credential would be removed from the .travis/test_pillars/wpt-sync.sls file and moved into the .travis/test_pillars/buildbot/master.sls.

This comment has been minimized.

This comment has been minimized.

@aneeshusa

aneeshusa Jan 27, 2018

Member

I didn't realize that, keeping the current setup makes sense to me then.

@aneeshusa
Copy link
Member

aneeshusa commented Jan 29, 2018

Thanks!
@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Jan 29, 2018

📌 Commit 847915c has been approved by aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Jan 29, 2018

Testing commit 847915c with merge 6f4a5cb...

bors-servo added a commit that referenced this pull request Jan 29, 2018
Provide credentials to nightly WPT sync job

This will give us more useful information by actually creating a PR with the results of syncing with upstream. We can choose to disregard it without any issue.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/783)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 29, 2018

💔 Test failed - status-travis

@aneeshusa
Copy link
Member

aneeshusa commented Jan 29, 2018

Looks like there is a lint error:

[ FAIL ] Trailing whitespace found on files and lines:
         ./buildbot/master/files/config/environments.py:156:    'WPT_SYNC_TOKEN': WPT_SYNC_PR_CREATION_TOKEN,----
@jdm
Copy link
Member Author

jdm commented Jan 29, 2018

@bors-servo r=aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Jan 29, 2018

📌 Commit 4ba9f9e has been approved by aneeshusa

@bors-servo
Copy link
Contributor

bors-servo commented Jan 29, 2018

Testing commit 4ba9f9e with merge 4030a20...

bors-servo added a commit that referenced this pull request Jan 29, 2018
Provide credentials to nightly WPT sync job

This will give us more useful information by actually creating a PR with the results of syncing with upstream. We can choose to disregard it without any issue.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/783)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 29, 2018

☀️ Test successful - status-travis
Approved by: aneeshusa
Pushing 4030a20 to master...

@bors-servo bors-servo merged commit 4ba9f9e into master Jan 29, 2018
3 checks passed
3 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
homu Test successful
Details
@jdm jdm removed the S-needs-deploy label Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.