Skip to content

perokvist/deployments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deployments

A collection of github action utils

dapr

Exprimental compose files for single app use of dapr.

There is two options, web apps (for containers) and continer instances (ACI). Web Apps of course would be more attractive for web workloads with auto-scaling etc, but the current compose support limits the service. In its current state running a single app baked by state store and outgoing bindings might suffice. But ACI has greater compose support making more scenarios possible.

WiP - see issues for status

Azure Web Apps for Containers

The docker-compose file in the "dapr" folder could be used with the "azure/webapps-deploy@v2" github action. This is the same compose file as for local, but with an Azure file share. The ENV variables set in the github action seems to not be in context. The (white listed )app configuration settings sould be in scope.

Options

  • Deploy with compose in github action
  • Configure compose file in deployment center and use web hook to deploy.

Since compose support is in preview there is alot of unsupported features, that dapr might need.

Environment variables in the compose file doesn't seem to be supported, and will need to be manually replaced to fit the scenario.

Storage

In the compose file, Azure File Storage is used. It might be possible to use the host storage when running web apps.

Azure Container Instances

The docker-compose file in the "dapr" folder could be use in a github action, but not as straight forward as for web apps.

Options

  • Deploy with compose in github action
  • Configure compose file in deployment center and use web hook to deploy.

Azure Functions

The support for running functions in a custom container, is basicly running functions in app service, but based on an functions runtime image. The compose support is the same as in app service, but now with access to the dapr integration.

The dapr functions extension adds access to dapr triggers and bindings.

Options

  • Deploy with compose in github action
  • Configure compose file in deployment center and use web hook to deploy.

Logging

When running on App Service with Linux containers, yoou need to enable logging - Enable logging for linux containers

Logic Apps

Since the new Logic Apps runtime let you run workflows anywhere containerized, it could run in all mentioned services. With the dapr workflows this allows you to utilize dapr service invocation and binding triggers in workflows.

Resources

About

A collection of github action utils

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published