Please, can you explain what code you are looking for inside the VM? 
Regarding your second question, do you want to run the custom script after 
or before deployment?
You may find this documentation [1] interesting.

[1] - 
https://cloud.google.com/build/docs/configuring-builds/run-bash-scripts

On Friday, June 11, 2021 at 11:46:26 AM UTC+2 [email protected] wrote:

> Thanks Javier,
> Where is the code usually located inside that VM? I tried but couldn't 
> find it.
>
> Also, is there a way to do so via Cloud Build step? In order to automate 
> everything?
>
> On Fri, Jun 11, 2021 at 12:41 PM 'Javier (Google Cloud Platform Support)' 
> via Google App Engine <[email protected]> wrote:
>
>> I understand your App Engine flex app is already deployed. Please SSH 
>> into the VM of an App Engine Flexible instance [1], you can run your custom 
>> scripts from there.
>>
>> [1] - https://cloud.google.com/sdk/gcloud/reference/app/instances/ssh
>>
>> On Friday, June 11, 2021 at 10:02:45 AM UTC+2 [email protected] wrote:
>>
>>>
>>> Hello
>>> I am using a Cloud Build workflow to deploy my Laravel app.
>>>
>>> There is a need to run `php artisan migration` command once the 
>>> deployment is done.
>>>
>>> How can I do that with Google Cloud Build?
>>>
>>> Thanks
>>> Bill 
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/JTTWNkOLo_A/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/d0e1e48c-e2d8-4f3f-8e0f-35d0bae200fen%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/d0e1e48c-e2d8-4f3f-8e0f-35d0bae200fen%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bb2471f9-641a-4a56-b87d-2d8d2e005f53n%40googlegroups.com.
  • [google-app... Bilal Haidar
    • [googl... 'Javier (Google Cloud Platform Support)' via Google App Engine
      • Re... Bilal Haidar
        • ... 'Javier (Google Cloud Platform Support)' via Google App Engine
          • ... Bilal Haidar
            • ... 'Abel (Google Cloud Platform Support)' via Google App Engine
              • ... Bilal Haidar

Reply via email to