Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

switching to jwt for sauce labs #43

Closed
wants to merge 6 commits into from
Closed

switching to jwt for sauce labs #43

wants to merge 6 commits into from

Conversation

halkeye
Copy link
Contributor

@halkeye halkeye commented Sep 7, 2016

If my eyeballed yaml is right, this will fix #42

If my eyeballed yaml is right, this will fix #42
@coveralls
Copy link

Coverage Status

Coverage decreased (-38.2%) to 61.818% when pulling a4d41bb on halkeye:patch-1 into da95af5 on walmartlabs:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-38.2%) to 61.818% when pulling 0025717 on halkeye:patch-1 into da95af5 on walmartlabs:master.

@halkeye
Copy link
Contributor Author

halkeye commented Sep 7, 2016

:( i'll have to look into this

@@ -35,6 +34,8 @@ before_script:
- nohup bash -c "node_modules/.bin/selenium-standalone start 2>&1 &"

addons:
jwt:
- secure: t9yalh16COfTgMWI58MKD5cq3/4t1jiiGmRz7xmi5T4QkRkxYzATF+C60z2nXbnsF4RLflcRBgJZ0PbR/L2JxQ3yALasougJjb0EbVr8XoJQiyhnUEQpRxtoxn9oV9Fnp3/DDQduPTZ1zPzd20N7mOpYoqNMaVnMFj353fVzI3vph29/uakvR/nNCq7BNjcOll5+JRifpXFgsACWUalU+IR/R1xmrciw7KoLlHfe8Zy349X0mv3Ez2uugqsQ5CZnRI9vffNvIWXhuVU0sCoANydYS+d5vBjO5txrxZSv14enXFKBLaXkxViYmzQMHI2FDjx71KsKeCoGoH9ooSOfwPSXSrUFTRDN0nhow3Z3uqo3EjP/uJ0I+Hoe7gJWvUDw90Q1IX2WuoSxWU+fdgEewZyvQboaC6CSaF2rdvCfl058uIbcGhhkkGAmpwvJKSsytWOJjeTA3hpYPSHGlvVLvXER1bfAIC/iBf5VGBExotNrPSpG+PsqzhpUsFSmkjY5gpKElhcNW9Ag3r5IJJJL1xVu8aXO55T5VrmTn/jINEAo91nJZhHrjX7x0kPWzlvU5/JAAOjpcrOVfpvqjkpvmxev/JtPZl2cx8lHadPXYJw98hIagpQdkfojNI5C4ACSrTVNe/IoEujgykbh9egpe8HGsG+U+g6qogmFPQFUP/8=

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to be a map, not a sequence:

addons:
  jwt:
    secure: t9ya…

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BanzaiMan I can switch it, but I don't think its the problem. JWT is working properly, its sauce_connect addon that isn't firiing.

@ryan-roemer
Copy link
Contributor

@halkeye -- #44 passed in a branch with

addons:
  jwt:
    - secure: SECRETSECRETSECRET
  sauce_connect: true

@halkeye
Copy link
Contributor Author

halkeye commented Sep 7, 2016

yea, but thats your own branch thing. That kinda confirms my suspicion, somehow sauce_connect isn't whitelisted for prs properly

@coveralls
Copy link

coveralls commented Sep 7, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 4ba5310 on halkeye:patch-1 into da95af5 on walmartlabs:master.

@ryan-roemer
Copy link
Contributor

yea, but thats your own branch thing

My intention with the branch is to confirm the structure of the config is correct and can actually provide the secret in the "most privileged" case.

No ideas as to the internals / how whitelisting works, but just let me know if there are any experiments / etc. we can do for you...

@halkeye
Copy link
Contributor Author

halkeye commented Sep 7, 2016

Yep thanks

I tried documenting it all travis-ci/travis-ci#6569

:( I really thought we had this working, was so excited

@ryan-roemer
Copy link
Contributor

ryan-roemer commented Sep 7, 2016

@geekdave @Maciek416 -- Keep an eye on this branch. It looks like the sauce_connect PR thing is "almost there" but not quite yet...

@halkeye
Copy link
Contributor Author

halkeye commented Sep 7, 2016

:D To defend it, JWT is working fine, sauce_connect addon isn't :D
but i agree

@ryan-roemer
Copy link
Contributor

@halkeye -- Updated my comment 😉 Apologies for the lack of precision and thanks for all this work (and happy to help dogfood it here)

@ryan-roemer
Copy link
Contributor

Rebuilding https://travis-ci.org/walmartlabs/little-loader/builds/158195834 per comment travis-ci/travis-ci#6569 (comment) to see if external PR passes now.

@halkeye
Copy link
Contributor Author

halkeye commented Oct 13, 2016

retesting!

@halkeye
Copy link
Contributor Author

halkeye commented Oct 13, 2016

@ryan-roemer LOOOOK!

@ryan-roemer
Copy link
Contributor

@halkeye -- Yep! (I actually just manually restarted the build before your newline commit). Weirdly, I don't see CI status in this PR anymore...

Can you revert the extra newline and then I'll merge. Thanks for all your work!

@halkeye
Copy link
Contributor Author

halkeye commented Oct 13, 2016

yea I'm not sure why the CI status stuff isn't working. I'm suspicious that github's webooks hare delayed.

@halkeye
Copy link
Contributor Author

halkeye commented Oct 14, 2016

I kinda want to re-create this branch to confirm everything works

but i also know everything works from the daily motion build.

@ryan-roemer
Copy link
Contributor

@halkeye - that might actually be a good idea. I leave it up to you if you want to close this PR and just do a new one from scratch or if you want me to merge this one.

@BanzaiMan
Copy link

Sometimes Travis CI fails to post a status to commits for one reason or another. Could you try pushing another commit?

@halkeye
Copy link
Contributor Author

halkeye commented Oct 14, 2016

Yea for sure, as soon as I get a minute on my laptop.

I don't think it's Travis fault. The last two.commits are not showing up under the pr tab on Travis either

@halkeye
Copy link
Contributor Author

halkeye commented Oct 14, 2016

:( i'm not sure why its not picking up the changes.

@halkeye
Copy link
Contributor Author

halkeye commented Oct 14, 2016

@BanzaiMan yea, none of the new ones are showing up at https://travis-ci.org/walmartlabs/little-loader/pull_requests

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Sauce Labs: Switch to jwt add-on.
4 participants