Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • R3/school/courses
  • vilem.ded/courses
  • todor.kondic/courses
  • noua.toukourou/courses
  • nene.barry/courses
  • laurent.heirendt/courses
  • marina.popleteeva/courses
  • jenny.tran/courses
8 results
Show changes
Commits on Source (240)
Showing
with 37 additions and 20 deletions
......@@ -10,9 +10,9 @@ rm -rf $rootDir/public
rm -rf $rootDir/theme
mkdir $rootDir/public
if [[ $CI_COMMIT_BRANCH == "develop" ]]; then
if [[ $CI_COMMIT_REF_NAME == "develop" ]]; then
version="latest";
elif [[ $CI_COMMIT_BRANCH == "master" ]]; then
elif [[ $CI_COMMIT_REF_NAME == "master" ]]; then
version="stable";
else
version="unstable";
......@@ -33,7 +33,7 @@ nBlades=0
for d in $(find . -maxdepth 1 -type d)
do
if [[ "${d}" == *20* ]]; then
cd "${d}"
pushd "${d}"
echo "changed to ${d}"
for d1 in $(find . -maxdepth 1 -type d)
do
......@@ -46,20 +46,23 @@ do
# create the required folders in public
mkdir -p $rootDir/public/$BLADE/$version
# change to the blade directory to be built
cd $BLADE
echo "going to $BLADE..."
pushd $BLADE
# run contribute
cp ../../template/Gruntfile.coffee .
ln -s ../../theme/package.json package.json
ln -s ../../theme theme
cp -v ../../template/Gruntfile.coffee .
ln -sv ../../theme/package.json package.json
ln -sv ../../theme theme
# install npm
yarn global add grunt-cli generator-reveal
echo "installing deps"
yarn add grunt-cli generator-reveal grunt
yarn install
grunt dist
mv public/* $rootDir/public/$BLADE/$version/.
echo "running dist"
yarn exec grunt dist
echo "copying to common public dir"
cp -rLv public/* $rootDir/public/$BLADE/$version/.
echo " > latest built for file set ${BLADE}"
......@@ -75,10 +78,10 @@ do
echo "autoredirect file set"
# move back out
cd ..
popd
echo " > -----------------------------------------------------"
fi
done
cd "${rootDir}"
popd
fi
done
......@@ -19,7 +19,7 @@ localroot = os.getcwd()
# generate the index properly speaking
cardDirs = ["2021", "2020", "2019"]
cardDirs = ["2023", "2022", "2021", "2020", "2019"]
index=''
# determine first the directories
......@@ -68,4 +68,4 @@ with open(indexFile, 'w') as file:
file.write(filedata)
print("\n > New index generated and saved in " + indexFile)
os.chdir("..")
\ No newline at end of file
os.chdir("..")
*.ai
site/
courses.lcsb.uni.lu
index.html
......@@ -22,3 +23,4 @@ package.json
./theme/package.json
__pycache__/
contribute.egg-info/
.*.swp
......@@ -56,7 +56,7 @@ build:website:
JEKYLL_ENV: production
build:courses:
image: git-r3lab.uni.lu:4567/r3/docker/nodejs-yarn-grunt
image: node:19-bullseye
stage: build
rules:
- if: $CI_COMMIT_BRANCH == "develop"
......@@ -72,6 +72,7 @@ upload:
stage: deploy
image: alpine
before_script:
- apk add rsync
- 'which ssh-agent || ( apk add --update openssh )'
- eval $(ssh-agent -s)
- echo "$B64SSHPRIVKEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
......@@ -83,5 +84,5 @@ upload:
- if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_COMMIT_BRANCH == "master"
script:
- scp -P $SSHPORT -r site/* $SSHCONNECT:~/web/latest
- scp -P $SSHPORT -r public/* $SSHCONNECT:~/web/latest
- rsync -ravu --info=progress2 -e "ssh -p $SSHPORT" site/* $SSHCONNECT:~/web/latest
- rsync -ravu --info=progress2 -e "ssh -p $SSHPORT" public/* $SSHCONNECT:~/web/latest
[submodule "theme"]
path = theme
url = https://git-r3lab.uni.lu/R3/outreach/theme.git
url = https://gitlab.lcsb.uni.lu/R3/outreach/theme.git
../../resources/img/
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/3pillars-full.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/DinoSequentialSmaller.gif
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/Git-logo.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/LCSB_storages_backed-up.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/LCSB_storages_backup.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/LCSB_storages_full.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/LCSB_storages_personal-crossed.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/R3_profile_pictures
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/banned_exchange_channels.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/checksum.png
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/cleaning-table.jpg
\ No newline at end of file
../../../2021-04-20_IT101-DM/slides/img/code-example.png
\ No newline at end of file