Code Monkey home page Code Monkey logo

Comments (11)

brenoalvs avatar brenoalvs commented on July 23, 2024

I've enabled the debugging and found the point of failure:

##[debug]Predeployment Steps Started
##[debug]Deployment Step Started
##[debug]Deployment Failed with Error: Error: The environment variable name in container 'localizationserver' of container group 'localizationserver' is invalid. A valid environment variable name must start with alphabetic character or '_', followed by a string of alphanumeric characters or '_' (e.g. 'my_name',  or 'MY_NAME',  or 'MyName').

It seems some error on container creation itself:
https://github.com/Azure/aci-deploy/blob/master/src/main.ts#L59-L70

from aci-deploy.

brenoalvs avatar brenoalvs commented on July 23, 2024

I've removed the environment variables and everything works fine now.
But I need them. :/

from aci-deploy.

brenoalvs avatar brenoalvs commented on July 23, 2024

Well, I think I've found the issue.
One of my secure environment variables was a multiline string (an SSH key).

After removing it, the action has worked well.
It solved my issue, but it can be a problem for other people.

from aci-deploy.

anraghun avatar anraghun commented on July 23, 2024

@brenoalvs Thanks for pointing this out. We'll call this out in the action readme file.

from aci-deploy.

kanika1894 avatar kanika1894 commented on July 23, 2024

@anraghun are we good to close this? (Hoping doc update has been done)

from aci-deploy.

rashelinu avatar rashelinu commented on July 23, 2024

I have the same issue, but my environment variable is 'ASPNETCORE_ENVIRONMENT'='Development'. I have no dot, neither multilines in my variable, and I cannot remove it, I need it. Please help me about it!

from aci-deploy.

rashelinu avatar rashelinu commented on July 23, 2024

I resolved the problem, it seams that you have to write double quote : "ASPNETCORE_ENVIRONMENT"="Development"

from aci-deploy.

github-actions avatar github-actions commented on July 23, 2024

This issue is marked need-to-triage for generating issues report.

from aci-deploy.

github-actions avatar github-actions commented on July 23, 2024

This issue is idle because it has been open for 14 days with no activity.

from aci-deploy.

kanika1894 avatar kanika1894 commented on July 23, 2024

@pulkitaggarwl can you please help with the documentation update?

from aci-deploy.

kanika1894 avatar kanika1894 commented on July 23, 2024

Thanks folks for pointing it out. Documentation is updated accordingly✌🏼

from aci-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.