-
Play with Docker classroom http://training.play-with-docker.com/alacart/
-
Docker for Developers Stage 1 http://training.play-with-docker.com/dev-stage1/
-
Docker for Beginners - Linux http://training.play-with-docker.com/beginner-linux/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo | openssl s_client -connect gitlab.dev2.gface.de:443 2>/dev/null | sed -n '/-----BEGIN CERTIFICATE-----/,/-----END CERTIFICATE-----/p' | openssl x509 -dates -noout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
unknown_os () | |
{ | |
echo "Unfortunately, your operating system distribution and version are not supported by this script." | |
echo | |
echo "You can override the OS detection by setting os= and dist= prior to running this script." | |
echo "You can find a list of supported OSes and distributions on our website: https://packages.gitlab.com/docs#os_distro_version" | |
echo | |
echo "For example, to force CentOS 6: os=el dist=6 ./script.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gitlab_gitlab-ee] | |
name=gitlab_gitlab-ee | |
baseurl=https://packages.gitlab.com/gitlab/gitlab-ee/el/7/$basearch | |
repo_gpgcheck=1 | |
gpgcheck=1 | |
enabled=1 | |
gpgkey=https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey | |
https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg | |
sslverify=1 | |
sslcacert=/etc/pki/tls/certs/ca-bundle.crt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# GitLab pre-install script | |
DEST_DIR=/opt/gitlab | |
NEW_MAJOR_VERSION=10 | |
NEW_MINOR_VERSION=10.8 | |
mkdir -p /var/log/gitlab/reconfigure | |
skip_migrations_file=/etc/gitlab/skip-auto-migrations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Perform necessary gitlab setup steps | |
# after package is installed. | |
# | |
DEST_DIR=/opt/gitlab | |
notify() | |
{ | |
echo "gitlab: $1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# WARNING: REQUIRES /bin/sh | |
# | |
# - must run on /bin/sh on solaris 9 | |
# - must run on /bin/sh on AIX 6.x | |
# - if you think you are a bash wizard, you probably do not understand | |
# this programming language. do not touch. | |
# - if you are under 40, get peer review from your elders. | |
is_smartos() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
loginscript=vpn-login | |
[ -f $loginscript ] && . $loginscript | |
VPNCOOKIE=$(curl -s -k "https://${VPNGATEWAY}/+webvpn+/index.html" \ | |
-H 'Cookie: webvpnlogin=1' \ | |
--data 'group_list=DefaultWEBVPNGroup' \ | |
--data "username=${VPNLOGIN}" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logrotate['enable'] = false | |
alertmanager['enable'] = false | |
prometheus_monitoring['enable'] = false |