Skip to content

How come I run into an issue with the buildah task on the OpenShift pipeline? #2

@SarahMPinheiro

Description

@SarahMPinheiro

Hello! I am currently working on this project and my pipeline was running successfully until I added the buildah task. Once I added the buildah task and reran the pipeline I started having issues with my git-clone task. This is the error I had received on OpenShift pipeline;

  • '[' false = true ']'
  • '[' false = true ']'
  • '[' false = true ']'
  • CHECKOUT_DIR=/workspace/output/
  • '[' true = true ']'
  • cleandir
  • '[' -d /workspace/output/ ']'
  • rm -rf /workspace/output//service /workspace/output//tests
    rm: cannot remove '/workspace/output//service/common/pycache/status.cpython-39.pyc': Permission denied
    rm: cannot remove '/workspace/output//service/common/pycache/log_handlers.cpython-39.pyc': Permission denied
    rm: cannot remove '/workspace/output//service/pycache/init.cpython-39.pyc': Permission denied
    rm: cannot remove '/workspace/output//service/pycache/routes.cpython-39.pyc': Permission denied
    rm: cannot remove '/workspace/output//tests/pycache/test_routes.cpython-39.pyc': Permission denied

How do I resolve this problem?

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