Comments (14)
@ben-lings-tessella Yes, I'd love that. I'm not 100% sure how to approach it though. Do you know a reliable way to detect if fastlane
is currently running on a system with no user inputs?
from credentials_manager.
I don't know of a way to detect that. Would setting an environment variable be an option (e.g. FASTLANE_NO_PROMPTS=1
)?
from credentials_manager.
In an Xcode Server environment ruby -e "STDOUT.isatty"
will return false
when run as part of a post integration script and true
when run directly from an interactive terminal.
from credentials_manager.
I am not aware of a simple cross-platform cross CI server way to detect that a program is running inside a CI environment.
I would go for a generic environmemt variable, a la FASTLANE_NO_PROMPTS, implemented in the top foremost project (which seems to be credentials_manager).
from credentials_manager.
Detecting if it's a CI service it already part of fastlane
using Helper.ci?
, but there might be various reasons for not having a user input, right?
from credentials_manager.
What is the status on this?
Would it be possible with the below env variables?
FASTLANE_USER
FASTLANE_PASSWORD
FASTLANE_DONT_STORE_PASSWORD
from credentials_manager.
Yes, these are the exact environment variables you'll need @kevinbaker-gpsw 👍
from credentials_manager.
Hi! It would be nice to fail the lane if no password is provided by .env or environment variables.
from credentials_manager.
@yakimant on the other hand it should ask for username and password if nothing is provided 😉
Is there any way to reliably detect if the currently running process is not controlled by a user?
from credentials_manager.
There's some stuff here: http://unix.stackexchange.com/questions/26676/how-to-check-if-a-shell-is-login-interactive-batch
from credentials_manager.
@orta thanks, I just added https://github.com/fastlane/fastlane_core/blob/feature/messaging/lib/fastlane_core/ui/implementations/shell.rb#L74-L79, which should be in the next fastlane_core
release. What do you think?
from credentials_manager.
Yep, I bet that's good enough 👍
from credentials_manager.
Going to close this issue as it was addressed in fastlane_core in December. 👍
from credentials_manager.
This issue was migrated to fastlane/fastlane#3325. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀
from credentials_manager.
Related Issues (15)
- Credentials manager is successfully finding the keychain record, but is still prompting for password HOT 3
- Allow specifying keychain path HOT 1
- Provide a CLI to be able to add a username/value manually HOT 5
- default host name for keychain item is always deliver. HOT 2
- a request for an example how to use credentials_manager HOT 6
- add Support for more then 1 Appfile HOT 8
- warning: conflicting chdir during another chdir block HOT 5
- Use of legacy DELIVER_* in password_manager.rb HOT 6
- Two-Step Verification HOT 5
- Remove PasswordManager from gem HOT 5
- Skip storing the password in the Keychain HOT 3
- Appfile is reloaded many times HOT 2
- the messages do not show when called recursively HOT 2
- Could not store password in keychain HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from credentials_manager.