Add cookies to default browser in build VM
I need some help coming up with a hack or solution to a problem (that is not appveyor's problem). My team is using "Steroids" (AppGyver.com) to deploy our mobile app. Steroids has a CLI tool that provides a way (the only way) to deploy to their packaging/deployment server. To deploy from the CL, I do this:
> steroids login
-- this opens a browser window
and makes me login (if not already logged in with cookie)
> steroids deploy
-- requires previous login
I checked my browser and I see that, after login, I have three cookies in my browser. These, I guess, are what I need to have in the build VM when it's time to build and deploy in AppVeyor. Since the build is scripted and unattended, and cannot log in each time the build runs, I need a way to "simulate" the login.
My current idea is to try to somehow inject some cookies into the browser so that when steroids logs in, it will see that it is already authenticated. For this, I need a way to add cookies to the default browser in the VM before running my deploy script. I have no clue how to do this. :)
Is there a better idea? Any advice?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 01 May, 2015 05:19 PM
When you login there through the browser is there "Remember me" option to set persistent login cookie?
- Feodor
2 Posted by byron on 01 May, 2015 09:34 PM
Yes, but how would I add that cookie to the build vm as it is trying to build/deploy?
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.