Comments (11)
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.
I've removed the environment variables and everything works fine now.
But I need them. :/
from aci-deploy.
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.
@brenoalvs Thanks for pointing this out. We'll call this out in the action readme file.
from aci-deploy.
@anraghun are we good to close this? (Hoping doc update has been done)
from aci-deploy.
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.
I resolved the problem, it seams that you have to write double quote : "ASPNETCORE_ENVIRONMENT"="Development"
from aci-deploy.
This issue is marked need-to-triage for generating issues report.
from aci-deploy.
This issue is idle because it has been open for 14 days with no activity.
from aci-deploy.
@pulkitaggarwl can you please help with the documentation update?
from aci-deploy.
Thanks folks for pointing it out. Documentation is updated accordingly✌🏼
from aci-deploy.
Related Issues (20)
- Multi Container Groups HOT 9
- Setting `ip-address` to `Private` causes an error HOT 11
- Container group cannot be updated HOT 9
- secure-environment-variables have visible values in azure portal HOT 11
- Multiple azure-file-volume-share-name and azure-file-volume-mount-path pairs support HOT 3
- Add support for using a configuration file HOT 5
- Make it easier to understand when it takes time to deploy an image HOT 3
- Feature request: In the documentation be more clear that you can/should set CPU/RAM HOT 1
- Start, Stop and Restart container instances HOT 2
- Prophet Model Deployment ERROR HOT 3
- Container App: CI deploy from GitHub failing after transferring ownership HOT 2
- Removing JS from version control HOT 6
- This issue is marked need-to-triage for generating issues report. HOT 2
- Add support for Vnet integration HOT 6
- Upgrade to node16 + stop using the "set-output" command HOT 3
- Azure ACI doesn't restart when log-analytics-workspace-* key/values are set
- How to deal with docker-compose projects?
- Error: Encountered an internal server error. The tracking activity id is '...', correlation id is '...' HOT 3
- Include guidance on .NET 8 deployment
- GitHub Actions Fails to Recognize Successful Azure Container Instances Deployment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aci-deploy.