dagster-io / dagster-cloud

Unify all your data tools into a productive, enterprise-grade platform.
https://dagster.io/cloud
21 stars 13 forks source link

pre & post install scripts failing with permission denied #11

Closed scottincrypto closed 1 year ago

scottincrypto commented 1 year ago
#9 [3/9] RUN if [ -f "dagster_cloud_pre_install.sh" ]; then         ./dagster_cloud_pre_install.sh;     fi
#0 0.058 /bin/sh: 1: ./dagster_cloud_pre_install.sh: Permission denied
#9 ERROR: process "/bin/sh -c if [ -f \"dagster_cloud_pre_install.sh\" ]; then         ./dagster_cloud_pre_install.sh;     fi" did not complete successfully: exit code: 126
------

Logs above, the behaviour is the same on both dagster_cloud_pre_install and dagster_cloud_post_install

Occurs during Dagster Cloud Serverless Docker Deploy github action

Full logs attached, thanks. logs_8.zip

scottincrypto commented 1 year ago

Worked it out, thanks.

For others experiencing the problem do this:

chmod -x dagster_cloud_pre_install.sh 
git update-index --chmod=+x dagster_cloud_pre_install.sh 
chmod +x dagster_cloud_pre_install.sh 

then commit