Skip to content

Commit

Permalink
Demo submission: CD of Node Express App on Google Cloud with designat…
Browse files Browse the repository at this point in the history
…ed release branch using Github actions (#1200)

* Draft README for course-automation task

* Updated the proposal

* Kalle Pettersson (kalpet@kth.se)
GitHub: [KallePettersson](https://github.com/KallePettersson)

Anders Nillson (andnil5@kth.se)
GitHub: [andnil5](https://github.com/andnil5)

In this demo we will show how to configure a CD environment using GitHub and Heroku.

TBA

* docs: update README.md with proposed solution

* docs: update readme with demo outline

* docs: add links, motivation, take home message and grading matrix

* docs: spell check

* docs: correct errors

Co-authored-by: Kalle Pettersson <kalpet@kth.se>
Co-authored-by: andnil5 <andnil5@kth.se>
  • Loading branch information
3 people authored Apr 16, 2021
1 parent afd09a0 commit 68bdebb
Showing 1 changed file with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions contributions/demo/kalpet-andnil5/README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@
# Demo proposal: CD of Node Express App on Google Cloud with designated realese branch using github actions
# Demo: CD of Node Express App on Google Cloud with designated release branch using GitHub actions

In this demo, we will demonstrate how to create a continuous deployment workflow using GitHub Actions that automate deployment of a simple Express server to Google App Engine (GAE), a fully managed, serverless platform for developing and hosting web applications at scale. We will go through the following:
1. How to create a project on Google Cloud
2. How to deploy the Express server to Google App Engine (GAE)
3. How to create a CD workflow to automate deployment using GitHub Actions

## Members

Kalle Pettersson (kalpet@kth.se)
Kalle Pettersson (kalpet@kth.se)
GitHub: [KallePettersson](https://github.com/KallePettersson)

Anders Nillson (andnil5@kth.se)
Anders Nilsson (andnil5@kth.se)
GitHub: [andnil5](https://github.com/andnil5)

## Proposal
## Screencast link
[YouTube link](https://www.youtube.com/watch?v=lY5Uj_VzClc).

## GitHub repository
[GitHub link](https://github.com/KallePettersson/Continous-Deployment-on-gCloud).

## Motivation

The motivation for why this demo matters to DevOps is twofold.
- It shows how to deploy an application on Google Cloud, which increases productivity and flexibility, frees up developers by taking away the demands of managing infrastructure, and provides automatic scaling.
- It demonstrates how to create a continuous deployment workflow using GitHub actions, one of DevOps' cornerstones.

In this demo we will show how to configure a CD environment using GitHub actions and Google Cloud.
## Take home message

## Solution
Make sure to **NOT** commit your `gcloud_secret.json` file to GitHub. This could give malicious actors remote access to your Google Cloud account.

In the demo, we will demonstrate:
## Grading - We strive to meet the following grading criteria

* How to set up a Google Cloud project.
* How to deploy a Node app on Google Cloud.
* How to create a GitHub action that automatically deploys the Node Express App from a designated release branch.
| | Yes | No | Remarkable |
|-------------------------------------------- | ----|----|-------------|
|The demonstration is clearly motivated (why it matters for Devops?) | X | | |
|The video is sublime (eg visually appealing) | X | | |
|There is a code repo to run the demo | X | | X |
|The video must contain subtitles which are clear and in proper English | X | | |
|The video includes a take-home message | X | | |

0 comments on commit 68bdebb

Please sign in to comment.