Skip to content

πŸš€πŸ™‡πŸ»β€β™€οΈ Tutorial on using CI/CD on multiple ways

License

Notifications You must be signed in to change notification settings

trallard/ci-research

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CI/CD for research multiple ways

License: MIT

⚑️ About this tutorial

This tutorial was originally developed for NL-RSE 2019 by Tania Allard. The whole tutorial is self contained in this repo and you should be able to follow at your own pace.

By the end of the tutorial you should be able to start implementing your CI/CD workflows either in Azure pipelines or GitHub actions. Note that since it's only a 1 hour course this is meant to be a taster of the capabilities of both solutions.

Requirements

πŸ’» Laptop with WiFi access

✨ GitHub Account

πŸ’» Git installed in your personal laptop

πŸš‡ Azure DevOps account

πŸ“ A text editor. I πŸ’œVS Code, you can get it following this link πŸ‘‰πŸΌ VSCode.

☁️ Using Azure pipelines

The workshop hands on session materials for using Azure pipelines can be found πŸ‘‰πŸΌ here.

βš™οΈ Using GitHub actions

The workshop hands on session materials for using GitHub actions can be found πŸ‘‰πŸΌ here.

We will also have time for you to create your own custom actions!!!

πŸ’» Running the application locally

For the tutorial we will be testing and creating containers for the bokeh app in this repo. You will need the requirements above as well as the following steps:

  1. Install Python > 3.6 (3.7 preferred)
  2. Fork this repo
  3. Clone your fork of the repo
git clone https://github.com/{your-user}/rse19-ms-workshop.git

cd rse19-ms-workshop
  1. Install dependencies - we recommend using virtual environments or conda environments

Virtual env

# MAC or Linux 
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
# Windows
py -m venv .env
.\env\Scripts\activate
pip install -r requirements.txt

Anaconda

conda env create -n rse19
conda activate rse19
conda install --file requirements.txt

To run the bokeh apps you can run the following command:

bokeh serve iris

#or
bokeh serve boston

πŸ““ Using the materials

You can use, remix and adapt the content here, it has a MIT license so attribution is required. If you also want to contribute to the tutorial or make suggestions please open an issue here or contact Tania Allard at trallard[at]bitsandchips.me

About

πŸš€πŸ™‡πŸ»β€β™€οΈ Tutorial on using CI/CD on multiple ways

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published