Add missing staging configuration for Shakapacker#14007
Add missing staging configuration for Shakapacker#14007pacodelaluna wants to merge 3 commits intoopenfoodfoundation:masterfrom
Conversation
pacodelaluna
left a comment
There was a problem hiding this comment.
I have used the same configuration than from production env, tell me if any issue.
| public_output_path: packs-test | ||
|
|
||
| staging: | ||
| <<: *default |
There was a problem hiding this comment.
can't you just do ?
| <<: *default | |
| <<: *production |
|
I am surprised that's causing an issue :
To me it looks like there is a timeout, possibly because the task is taking too long to run. Did you try manually running the task on the server and trying to deploy afterwards ? I would look at using ssh option SercerAliveInterval in the deploy workflow, to see if that helps. |
|
@rioug Right, the issue is not directly related to the missing configuration, I thought that the missing configuration would have helped somehow. I have tried to run the failing task, it is just giving me the warning message, and it is running quite fast, 5 sec maximum, so I was not seeing a timeout case there, but I may have missed something. |
|
I still cannot deploy any PR now, it is either failing with 255 error code, or running more than 30 minutes and I have to cancel it... |
|
@AMEA-LYON I am actually working on the deployment on a new VPS for FR Staging instance. Not sure at all that it will fix this issue, but I will take an other look of the problem persists after the migration. |
|
I have setup the FR staging on a new VPS, and I am still facing the same issue when I am trying to deploy. The error is related to the Storage configuration. It looks like Shakapacker is keeping the initial environment to set up the whole configuration after, and the production env is missing the Storage configuration. |
|
Ok, the issue was related to It was complicated to get information from Github as it silently failed, it seems only the STDOUT is logged there. Iit was much clearer with local configuration. This PR can be closed. |
What? Why?
We are facing issues while deployment on
FR_stagingserver.On this deployment, you can see that the
remove_transient_datatask is breaking because of the Shakapacker missing configuration.What should we test?
Just test the FR_staging deploymenet from Github
Release notes
Changelog Category (reviewers may add a label for the release notes):