-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
component: supervisorfeature: prebuildsfeature: tasksgroundwork: awaiting deploymentpriority: highest (user impact)Directly user impactingDirectly user impactingtype: bugSomething isn't workingSomething isn't working
Description
Bug description
I currently have the following logic in place:
tasks:
- before: |
printf "\n[settings]\napi_key = $WAKA_TIME_API_KEY\n" > ~/.wakatime.cfg
prebuild: |
docker-compose up -d
yarn install
yarn run database:migrate
command: |
docker-compose down
docker network prune -f
yarn run dev
This works perfectly, however, the documentation is telling me prebuild has been deprecated and I should replace it with init however when I do this it doesn't rebuild the init step, it runs during startup.
Steps to reproduce
Gitpod up the repository:
https://gitpod.io/#https://github.com/jmcelreavey/dev-job
Expected behavior
I would expect the GitHub pre-build functionality to see the init and run it prior to me starting the workspace
Example repository
https://github.com/jmcelreavey/dev-job
Anything else?
No response
faisal-m16
Metadata
Metadata
Assignees
Labels
component: supervisorfeature: prebuildsfeature: tasksgroundwork: awaiting deploymentpriority: highest (user impact)Directly user impactingDirectly user impactingtype: bugSomething isn't workingSomething isn't working