Today i wanted to deploy a new feature for my branch. But now i get this error Found okteto compose manifest on docker-compose.yml` `Unmarshalling compose...` `x Invalid compose name: must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character` , last weeks this didn’t happen, does anyone know what is going wrong?
My docker-compose.yml
We are not able to reproduce the issue. Is the compose used as part of an Okteto manifest as mentioned here? How is it called the repository your are deploying?
The error means that the application name is not k8s compliance. Did you change something related to that? If no name is specified, by default it takes the repository name
At the moment i don’t use a manifest. This is how I deploy (see picture), I have not changed anything about my deploy. It just suddenly stopped working.
I run my deployment without an okteto manifest. I tried running the same code on another namespace and there it does not fail, this definitely has something to do with okteto.
It looks like when I destroy a environment and then try to rebuild it. The manifest fails.
we have identified the root cause and we are working on a fix but we don’t have an ETA for now. Probably it’ll be out early next week.
In the meantime, can you try to deploy it using the CLI to see if that works? Can you try with okteto pipeline deploy --name=backend-uitzendbureau --repository=https://<your-repo> --branch=development --var=APP_KEY=<value>? It is important to specify parameter --name to avoid the error.
even I’m facing a similar issue while deploying my code. I tried deploying it with the help of cli as well, the way you suggested using okteto pipeline deploy, but unfortunately I’m still facing the same issue. can you please suggest an estimate as to when will this be fixed?