-
-
Notifications
You must be signed in to change notification settings - Fork 39
App engine #122
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
App engine #122
Conversation
Thanks for the PR @miccehedin 👍 I'll get it merged soon. It just needs some test fixing and some extra tests for the AppEngine functionality and then it's good to go! |
src/CloudTasksServiceProvider.php
Outdated
$this->app->singleton(CloudTasksClient::class, function ($app) { | ||
$config = config('queue.connections.cloudtasks'); | ||
$options = []; | ||
if (!empty($config['credential_file'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@miccehedin This can already be done by setting the GOOGLE_APPLICATION_CREDENTIALS
environment. Can I therefore remove this bit?
4e7aad0
to
74c96ad
Compare
Thnx @miccehedin, I just tagged |
This add two things:
1: Use a local credential file for authenticating task submisson (useful for local testing).
2: Option to us App Engine task instead of Http task. This makes the process take place in app engine only, and e.g. the app engine service to handle the task can be specified.