Skip to content

Instructions from .gitpod.yml are build run while it does not exist #9505

Closed
@armanbilge

Description

@armanbilge

Bug description

Opening a new workspace of my repo outputs:

 HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
[ -r /workspace/.prebuild-log-0 ] && cat /workspace/.prebuild-log-0; [ -r /workspace/.gitpod/prebuild-log-0 ] && cat /workspace/.gitpod/prebuild-log-0; true
} && {
echo 'TODO: start app'

}
gitpod /workspace/schrodinger (main) $  HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> [ -r /workspace/.prebuild-log-0 ] && cat /workspace/.prebuild-log-0; [ -r /workspace/.gitpod/prebuild-log-0 ] && cat /workspace/.gitpod/prebuild-log-0; true
> } && {
> echo 'TODO: start app'
> 
> }
TODO: start app

However, there is no .gitpod.yml in my repo and there is no "Project" for this repo either.

Steps to reproduce

Open https://github.com/armanbilge/schrodinger/ in GitPod.

Workspace affected

No response

Expected behavior

.gitpod.yml should not be processed when it doesn't exist.
There should be no history -r in this situation, or at least there should be a way to disable it :)

Example repository

https://github.com/armanbilge/schrodinger/

Anything else?

Thanks to @pawlean and @axonasif for their support on Discord.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions