Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
dynamic-websites/04 DevOps.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28 lines (16 sloc)
1.15 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DevOps | |
In this lab you will learn how to deploy your app to a cloud server and how to set up a complete devops build chain. For this tutorial you will need to have an account on the [GitLab](https://gitlab.com) server as we will be learning how to use the GitLab CI continuous integration tools. (Note that GitHub has recently introduced a rival service called [GitHub Actions](https://github.com/features/actions) however at the time of writing this was still in Beta). | |
Create an account using your University email address and log in. Create an empty private repository called devops and make a note of the git clone URL. | |
You should now clone the `template-dynamic-website` repository (the original template, not the one you have been using for your assignment) into a temporary location on your computer. | |
```shell | |
git clone https://github.coventry.ac.uk/web/template-dynamic-websites.git temp | |
``` | |
Once cloned you need to _mirror push_ to the empty gitlab repository. | |
```shell | |
cd temp/ && git push --mirror xxx | |
``` | |
## Deploying to the Cloud | |
Using Heroku | |
## Running a CI Workflow | |
Introduction to CI and gitlab Ci | |
Committing and pushing to trigger the workflow. |