Skip to content

This is a template of a repository that allows automatic creation of deployment environments in Azure.

License

Notifications You must be signed in to change notification settings

actions-workshop/deployment-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Workshop Deployment Environment

This repository contains preparation resources and script for the deployment step of the GitHub Actions Workshop. It's for trainers of this workshop to allow participants to deploy to any kind of infrastructure (currently only Azure) without having them create or bring their own accounts.

This repository contains all explanations and scripts to easily set up all required infrastructure and be ready to conduct the workshop.

There are currently two ways to create a deployment environment:

  1. Simple Azure Web-App with Secret Authentication: This is the simplest possible deployment environment that can be created for the workshop. It consists of an Azure Service Principal using Secret authentication that has the required permissions to deploy a Web-App to a given Resource Group. The necessary secrets are placed as organization secrets within the organization the actions-workshop is conducted in.

    Go to Simple Azure Web-App with Secret Authentication for a step-by-step guide.

  2. Issue-Ops Azure Web-App with OIDC Authentication This is a more sophisticated way for deployment, in that it uses GitHub Issues to trigger the creation of a full deployment environment on Azure (hence the term 'Issue Ops'). Additionally, rather than relying on secrets, it will use OIDC Authentication to conduct the deployment in a secure manner.

    Go to Issue-Ops Azure Web-App with OIDC Authentication for a step-by-step guide.

Azure Costs

You might be wondering: What will it cost to run this workshop in Azure the way? The answer: Most likely only a few cents.

Participants will each create a single Azure Web App Service under a Basic B1 Service Plan which currently comes at €0.017/hour - so roughly 2 Cents / participant / hour.

As the Deployment Step is the last part of the workshop, participants will only have this service running for a few minutes or maximum hours - depending on how fast you will execute the cleanup scripts.

Contributions

Please see CONTRIBUTING.md for details.

Licensing

This repo is licensed under MIT. See the LICENSE File for more information.

Maintainer(s)

About

This is a template of a repository that allows automatic creation of deployment environments in Azure.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages