From e6af0073fed1c822e8d4506a59c793f4e44fb297 Mon Sep 17 00:00:00 2001 From: Minna Heim <91681064+minnaheim@users.noreply.github.com> Date: Sat, 30 Nov 2024 10:10:40 +0100 Subject: [PATCH] Built site for gh-pages --- .nojekyll | 2 +- Infrastructure Exercises.html | 1085 +++++++++++++++++++++++++++++++++ git_exercises.html | 2 +- index.html | 2 +- infrastructure.html | 8 +- programming_exercises.html | 2 +- search.json | 6 +- sitemap.xml | 4 +- 8 files changed, 1098 insertions(+), 13 deletions(-) create mode 100644 Infrastructure Exercises.html diff --git a/.nojekyll b/.nojekyll index 7aa241b..5a17d01 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -aeee458f \ No newline at end of file +f6f53604 \ No newline at end of file diff --git a/Infrastructure Exercises.html b/Infrastructure Exercises.html new file mode 100644 index 0000000..27f6ecd --- /dev/null +++ b/Infrastructure Exercises.html @@ -0,0 +1,1085 @@ + + + + + + + + + +infrastructure_exercises – H4Sci Exercises + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ + + + +
+ + + + +
+

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.

+
+
+
+ +
+
+Your turn! +
+
+
+

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

+

What could be a shortcoming of the configuration file shown above?

+
+
+ + + + + + +
+
+
+ +
+
+Your Turn! +
+
+
+

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 are dynamic?

+
+
+ + + + + + +
+
+

Exercise 5

+

Which of the tools can be used to host a static website?

+
+
+ + + + + + +
+
+

Exercise 6

+

Which of the following are true?

+
+
+ + + + + + + + +
+
+
+ +
+ +
+ + + + + + \ No newline at end of file diff --git a/git_exercises.html b/git_exercises.html index a81b5a0..0a251f7 100644 --- a/git_exercises.html +++ b/git_exercises.html @@ -130,7 +130,7 @@ diff --git a/index.html b/index.html index 5545fbe..8939ef0 100644 --- a/index.html +++ b/index.html @@ -96,7 +96,7 @@ diff --git a/infrastructure.html b/infrastructure.html index 534dd05..ba97344 100644 --- a/infrastructure.html +++ b/infrastructure.html @@ -130,7 +130,7 @@ @@ -148,7 +148,7 @@

On this page