What are you trying to accomplish? Please describe.
I am trying to setup a CI/CD pipeline for a new VTEX store. For example, I would like to be able to automatically release a new version of an app after a merge to main. I am using Gitlab CI to do same. I want to have 3 stages in CI.
dev-env-deploy 2. staging-env-deploy 3. prod-env-deploy
I am using workspace as individual environments to have 3 environements to have CICD way of development.
I am able to login to vtex as a part of CI. Main problem now is, when I run any of below commnds
vtex link
vtex install
vtex publish
vtex deploy
It prompts to enter "Y/N" options, which needs to be avoided in CI/CD.
And also, it does not prompt always.
Any idea how to resolve this?
What have you tried so far?
There is --yes flag which can be passed but it is not available for some of the above commands.
What are you trying to accomplish? Please describe.
I am trying to setup a CI/CD pipeline for a new VTEX store. For example, I would like to be able to automatically release a new version of an app after a merge to main. I am using Gitlab CI to do same. I want to have 3 stages in CI.
I am able to login to vtex as a part of CI. Main problem now is, when I run any of below commnds
It prompts to enter "Y/N" options, which needs to be avoided in CI/CD. And also, it does not prompt always.
Any idea how to resolve this?
What have you tried so far?
There is --yes flag which can be passed but it is not available for some of the above commands.
liniomx
dev