htw-webtech / ai-webtech-ansible Goto Github PK
View Code? Open in Web Editor NEWAnsible code für den Aris-Service (CI, Admin-App, App-Hosting) für die Veranstaltung "Webtentwicklung" des Studiengangs Angewandte Informatik an der HTW-Berlin
Ansible code für den Aris-Service (CI, Admin-App, App-Hosting) für die Veranstaltung "Webtentwicklung" des Studiengangs Angewandte Informatik an der HTW-Berlin
Install ginatra by git clone and not gem install
It seems that the HTW occasionally restarts the server. When the day the revealjs, nginx and postgres-service do not restart with the server. Probably the systemd unit-file needs some tweaking.
Problem
Currently everything is an app. So the app-folder gets bloated over time and the jenkins ui is hard to navigate, too. There is no feasible way to distinguish from the os perspective which app or jenkins job relates to which student.
Solution
One solution would be to introduce a student model that represents the credentials on the aris server, e.g. git-ssh access, file permissions and could be used to organize the files into student directories:
As a result I can also create a finer grained ansible aris-cron which only checks for the necessary changes. E.g. a change on the app does not imply checking the os-users ssh configuration.
Migration
I need to migrate the current system since many things may be leaking outside:
The welcome/default page contains actually much more than the slides, e.g:
I think the name portal.htw-webtech.com or something similar would be more approriate than slides.htw-webtech.com
Problem
Right now the jenkins service is configured via systemd unit file. Access to ruby is configured via Environment
-Declaration. This seems like a brittle solution when upgrading ruby versions.
Solution
TODO
Problem
Wenn Ansible bei einem Task abstuerzt kuemmert es sich nicht mehr darum hinter sich aufzuraeumen. Bspw. die processing.yml zu entfernen. Das sieht dann fuer den crojob so aus, als wuerde der Task noch laufen.
Solution
Einen wrapper fuer aris/jenkins-cronjobs bauen der sich um das aufraeumen kuemmert.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.