Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADE with extensibility and custom container image #54

Open
msandbu opened this issue Apr 30, 2024 · 2 comments
Open

ADE with extensibility and custom container image #54

msandbu opened this issue Apr 30, 2024 · 2 comments

Comments

@msandbu
Copy link

msandbu commented Apr 30, 2024

Hi!

Im trying to use the custom container image here to run Terraform, and to begin with I have tried the ARM/Bicep image defined here --> https://github.com/Azure/deployment-environments/blob/main/Runner-Images/ARM-Bicep/Dockerfile I wanted to try and run the container image locally just to make sure it is working as intended. But when I try and run the image locally, I get this error message

docker run nameofimage

_Initializing runner
Unrecognized command or argument 'Initializing runner'.

Description:
Logs providing context to the operation that is being run.

Usage:
ade log [options]

Options:
--content The content to log.
--type The level of logging for the content. Allowed values are 'log', 'verbose', and 'error'. [default: log]
--operation The operation which is creating the log. []
-?, -h, --help Show help and usage information

Uploading environment state to
Unrecognized command or argument 'Uploading environment state to '_

Should it have worked to run the container locally just so I can see use that way to debug that the terraform actions are running as intended?

@j-rewerts
Copy link
Contributor

Hey @msandbu! We don't currently have a local development loop unfortunately. Images must be built locally, then referenced in an environment definition. The logs from your initial deployment can be surfaced here:
https://learn.microsoft.com/en-us/cli/azure/devcenter/dev/environment?view=azure-cli-latest#az-devcenter-dev-environment-show-logs-by-operation

@j-rewerts
Copy link
Contributor

We have plans to surface these logs in the dev portal eventually, but for the time being, the CLI must be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants