Infrastructure Exercises
This set of exercises is meant to test your knowledge of the concepts covered in block 3 of the course. All questions are Multiple Choice.
GitHub Continuous Integration
Look at the following .yaml
file. This is a configuration for a Continuous Integrations Process (Github Actions in this case) for a minimal example.
Try to interpret what each of the lines means.
name: Basic Continuous Integration
on: push
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
packages: |
rmarkdown
kofdata
Exercise 1
What do you think line 3 accomplishes?
Exercise 2
What do you think lines 11-15 do?
Exercise 3
Which of the below is true?
If you would like to replicate the Github Actions example from above, you can find a gha_repo.rmd
file under https://github.com/h4sci/h4sci-tasks
Dynamic vs. Static Tools
Exercise 4
Which of the following frameworks can be used to build dynamic websites?
Exercise 5
Which of the following platforms is a reasonable choice to host a static website?
Exercise 6
Which of the following are true?