Skip to content
Snippets Groups Projects
Commit a28d93c0 authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

Merge branch 'include-workshop-materials' into 'master'

Include workshop materials (and other materials) on the fly

See merge request !501
parents 29f2ef70 b2886854
No related branches found
No related tags found
1 merge request!501Include workshop materials (and other materials) on the fly
......@@ -32,3 +32,8 @@ assets/img/jumbotrons/desktop/
assets/img/jumbotrons/display_2k/
assets/img/jumbotrons/phone/
assets/img/jumbotrons/tablet/
# Places for artifacts to be downloaded automatically from respective repositories
workshop-materials/*/
doc/
assets/videos/video_full.mp4
\ No newline at end of file
......@@ -32,7 +32,7 @@ stages:
- "[[ -x \"$(command -v apt-get)\" ]] && \
apt-get update && \
apt-get install -y ffmpeg"
- wget https://gitlab.hzdr.de/hifis/overall/communication/hifis-teaser-video/-/jobs/artifacts/main/raw/video/video_full.mp4?job=video_build -O assets/videos/video_full.mp4
- ./fetch_external_content.sh
- gem install bundler --no-document
- bundle config set without 'test'
- bundle install --jobs $(nproc)
......
#/bin/bash
# This script is to download and place correctly materials from external (still HIFIS maintained) ressources.
# So far, this is done one-by-one, might be automated or looped some time in the future, when series of alike data shall be integrated
# A little helper function to include the contents of an external site generated with mkdocs.
# Parameter 1 is the site to include,
# Parameter 2 is the directory under which to place the included site
function include_mkdocs(){
pushd $2
wget $1 -O download.zip
unzip download.zip
# Cleanup
rm -v download.zip
mv -v public/* .
rm -v 404.* # We have our own, thank you very much
popd
}
# ----------
# 1. Get content for education/training materials.
include_mkdocs \
"https://gitlab.hzdr.de/hifis/software/education/hifis-workshops/workshop-oop-in-python/-/jobs/artifacts/main/download?job=pages" \
"workshop-materials/python-oop/"
include_mkdocs \
"https://gitlab.hzdr.de/hifis/software/education/hifis-workshops/workshop-pandas/-/jobs/artifacts/main/download?job=pages" \
"workshop-materials/python-pandas/"
# 2. Get HIFIS Intro letter
# tbd
# 3. Get HIFIS Teaser Video
wget https://gitlab.hzdr.de/hifis/overall/communication/hifis-teaser-video/-/jobs/artifacts/main/raw/video/video_full.mp4?job=video_build -O assets/videos/video_full.mp4
# 4. Get Administrative and Technical Documentation
# tbd
......@@ -17,7 +17,7 @@ excerpt:
## Workshop Material
[Course material](https://gitlab.com/hifis/hifis-workshops) is available for use and reuse under a Creative Commons License.
- [Course and Workshop material]({{ "workshop-materials" | relative_url }}) is available for use and reuse under a Creative Commons License.
## Tutorials
......
---
title: Workshop Materials
title_image: default
layout: default
additional_css:
- frontpage.css
- title/service-title-buttons.css
additional_js: frontpage.js
excerpt:
HIFIS Workshop Materials.
---
## Published Workshop Materials
### Python
* **OOP in Python:**:
[**Material**]({{ "workshop-materials/python-oop/" | relative_url }})
[Repository](https://gitlab.hzdr.de/hifis/software/education/hifis-workshops/workshop-oop-in-python)
* **Pandas:**
[**Material**]({{ "workshop-materials/python-pandas/" | relative_url }})
[Repository](https://gitlab.hzdr.de/hifis/software/education/hifis-workshops/workshop-pandas)
## Further links
More materials will be added soon here.
See also our gitlab and github repositories for further workshop information.
- <https://gitlab.com/hifis/hifis-workshops>
- <https://gitlab.hzdr.de/hifis/software/education/hifis-workshops>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment