Skip to content

AI image build is failing on the appendix step #16

Description

@choldgraf

I think there's a permissions bug in there:

#38 0.056 cp: cannot open '/run/secrets/gcp_key' for reading: Permission denied
#38 ERROR: process "/bin/sh -c if [ -s /run/secrets/gcp_key ]; then         mkdir -p $***NB_PYTHON_PREFIX***/etc/gcp &&         cp /run/secrets/gcp_key $***NB_PYTHON_PREFIX***/etc/gcp/mothership-key.json &&         chmod 600 $***NB_PYTHON_PREFIX***/etc/gcp/mothership-key.json;     else         echo \"No gcp_key secret provided — skipping (expected on PR/test builds).\";     fi" did not complete successfully: exit code: 1
------
 > [stage-0 31/32] RUN --mount=type=secret,id=gcp_key,required=false     if [ -s /run/secrets/gcp_key ]; then         mkdir -p /srv/conda/envs/notebook/etc/gcp &&         cp /run/secrets/gcp_key /srv/conda/envs/notebook/etc/gcp/mothership-key.json &&         chmod 600 /srv/conda/envs/notebook/etc/gcp/mothership-key.json;     else         echo "No gcp_key secret provided — skipping (expected on PR/test builds).";     fi:
0.056 cp: cannot open '/run/secrets/gcp_key' for reading: Permission denied

Around here: https://github.com/CryoInTheCloud/image-cryo-python-AI/actions/runs/32871444661/job/97879185161#step:10:9146

this is just copying a key, so maybe it's a user permission issue?

happened after merging:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions