* Add docker file to the runtime tools
* fixes
* bug fixes
* more bug fixes and added doc
* don;t overwrite the RUST_LOG env var
* integration test for unmanaged nodes
* add unamanged parameters to launch()
* add ing object_id
* more bug fixes
* bug fixes
* chmod on the linux files in docker
* format
* cleanup merge
* added test_unmanaged command
* cleanup
* use a single image for the docker compose
remove images after the test
* docs and formatting
* format
* format
* format and bug fixes
* using windows server
* fix linux container
make the base image a paramter on windows
use the windows server base image on windows server
* format
* bug fix
* more fixes
* allow reboot
* more fixes
* added more logging around the service principal creation
* format
* more logging
* change restart policy
* fix multi tenant domain
* more fixes
* exit instead of reboot when running inside docker
* remove comment
* build fix
* try_exist instead of exist
* save the docker logs
* bug_fix
* adding timeout
* fix timeout logic
* adding a build profile
* make all agent depend on the first one
* remove profile
* another fix
* restart agent 1
* Update docs/unmnaged-nodes.md
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
---------
Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
* Foundation for feature flags
* Demo usage
* Use managed identity
* Add FFs using DI method
* missed a file
* Cleanup
* Forgot test context
* Default is off if the FF doesn't already exist
* Update src/ApiService/ApiService/Program.cs
Co-authored-by: George Pollard <porges@porg.es>
* force evaluate lock files
Co-authored-by: Teo Voinea <Teodor.Voinea@microsoft.com>
Co-authored-by: George Pollard <porges@porg.es>
Update CLI to attempt broker or browser-based authentication first; if you `Ctrl-C` to cancel it, you can fall back to device code login.
Also updated the MSAL dependency to latest version and pass `allow_broker=True` which will allow the use of Web Account Manager (WAM), if it is available.
Using browser auth requires the `http://localhost` redirect URI, and using the broker requires a special custom URI including the app ID (see code).
* enable running dot-net function on Windows to allow attaching remote debugger
* rename from 'use_windows' to 'host_dotnet_on_windows'
* instructions
* reformat deploy.py
Co-authored-by: stas <statis@microsoft.com>
Enable the .NET functions for the agent by sending the agent the URI for the `-net` service.
Also fix some things causing failures when using the .NET functions (`CouldShrinkScaleset` was not implemented).
Improve error handling around table serialization/deserialization, fix an issue with int64/long mismatch between Python & C# code.
----
For `check-pr` testing:
1. There's a new parameter `enable_dotnet` which maps directly to the `--enable_dotnet` switch on `deploy.py`.
2. If you put `agent` there, all the `agent_*` functions will be enabled for .NET and disabled for Python.
3. If `agent_can_schedule` is disabled on the Python side, it will automatically tell the agent to use the .NET functions.
So to test the .NET agent functions, do a `check-pr` run with `enable_dotnet` set to `agent` and it should all work.
* updating deploy.py for dotnet packages
* dotnet deployment needs to be alongside python if flagged
* individual deployment state for dotnet api since this will deploy alongside python api
* correcting state order for dotnet-api deployment step to follow python api deployment
* cleanup deploy.py formatting
* Adding dotnet's zip package arguments to deploy and fixing func command flags
* changed quotes to pass black check
* reconfiguring bicep templates to deploy function app settings correctly by moving app settings into a separate template
* move the event grid subscription to the template
* change the name of the new subscription to prevent deleting the wrong subscription
* refactoring
* mypy fix
* format
* format
* remove old event grid before arm deployment
* fix deply
* attempt to fix check-pr issue
* fix interactive login in check-pr
* move the event grid subscription to the tempalte
* change the name of the new subscription to prevent deleting the wrong subscription
* refactoring
* mypy fix
* format
* format
* remove old event grid before arm deployment
* using resource Id
* fix type
* fix location
* revert changes in registration.py
* build fix attempt
* build fix
* revert ci changes
* remove file
* address comment
* address PR comments
* naming
* fix deplyment
* Initial progress to adding a auto scale resource
* auto scale API is ready
* When creating a scaleset, add an autoscale resource to it as well
* Auto scale is correctly linked with scaleset
* 🧹
* Lint
* Cleaned up