We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can't get the migrate step to work!
migrate
It successfully:
... Step #2 - "Migrate": Pulling image: gcr.io/google-appengine/exec-wrapper Step #2 - "Migrate": Using default tag: latest Step #2 - "Migrate": latest: Pulling from google-appengine/exec-wrapper ... Step #2 - "Migrate": Digest: sha256:xxxx Step #2 - "Migrate": Status: Downloaded newer image for gcr.io/google-appengine/exec-wrapper:latest Step #2 - "Migrate": gcr.io/google-appengine/exec-wrapper:latest Step #2 - "Migrate": Step #2 - "Migrate": ---------- INSTALL IMAGE ---------- Step #2 - "Migrate": latest: Pulling from xxx/appengine/default.xxxx ... Step #2 - "Migrate": Digest: xxx Step #2 - "Migrate": Status: Downloaded newer image for us.gcr.io/xxx/appengine/default.xxx Step #2 - "Migrate": us.gcr.io/xxx/appengine/default.xxx Step #2 - "Migrate": Step #2 - "Migrate": ---------- EXECUTE COMMAND ---------- Step #2 - "Migrate": php /workspace/artisan migrate --force
Then it stays stuck at "Execute Command" forever.
Note that I'm not interested in the cloud proxy part. Just being able to run the php artisan migrate --force command on the appengine instance.
php artisan migrate --force
What am I doing wrong?
- id: Deploy name: 'gcr.io/google.com/cloudsdktool/cloud-sdk:slim' entrypoint: 'gcloud' args: [ 'app', 'deploy', '-q', '--promote', '-v=$BUILD_ID', '--project=$PROJECT_ID' ] - id: Migrate name: 'gcr.io/google-appengine/exec-wrapper' entrypoint: 'bash' args: [ '/buildstep/execute.sh', '-i', 'us.gcr.io/${PROJECT_ID}/appengine/default.${BUILD_ID}:latest', '-e', 'APP_KEY=$$APP_KEY', '-e', 'DB_CONNECTION=mysql', '-e', 'DB_HOST=$$DB_HOST', '-e', 'DB_DATABASE=xxx', '-e', 'DB_PORT=3306', '-e', 'DB_USERNAME=$$DB_USERNAME', '-e', 'DB_PASSWORD=$$DB_PASSWORD', '--', 'php /workspace/artisan migrate --force' ] secretEnv: ['APP_KEY', 'DB_HOST', 'DB_USERNAME', 'DB_PASSWORD'] waitFor: - Deploy
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can't get the
migrate
step to work!It successfully:
Then it stays stuck at "Execute Command" forever.
Note that I'm not interested in the cloud proxy part. Just being able to run the
php artisan migrate --force
command on the appengine instance.What am I doing wrong?
The text was updated successfully, but these errors were encountered: