This file contains hidden or 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
#Create this file in /etc/systemd/system/gitea_jenkins_ambassador.service | |
#Enable service with: sudo systemctl enable gitea_jenkins_ambassador.service | |
#Start service with: sudo systemctl start gitea_jenkins_ambassador.service | |
#Check all ist fine: sudo sytemctl status gitea_jenkins_ambassador.service | |
[Unit] | |
Description=Wrapper for GET hooks from systemd to Jenkins | |
[Service] | |
ExecStart=/bin/bash /usr/local/bin/gitea_jenkins_ambassador.sh |
This file contains hidden or 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
INFO global: Vagrant version: 2.2.14 | |
INFO global: Ruby version: 2.6.6 | |
INFO global: RubyGems version: 3.0.3 | |
INFO global: VAGRANT_LOG="debug" | |
INFO global: VAGRANT_DEFAULT_PROVIDER="virtualbox" | |
INFO global: VAGRANT_HOME="/media/marcel/94d15c83-a434-4bd0-98fe-1b9605a8ab5a/t/.vagrant.d" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.14/gems/vagrant-2.2.14/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_ENV="1" |
This file contains hidden or 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
#!/usr/bin/env bash | |
### Installs the given root certificate to: | |
# - every found trust store | |
# - in the users profil directory | |
# - for applications using NSS (e.g. Firefox, Thunderbird, Chrome). | |
hash certutil || { echo "certutil not found, please install 'libnss3-tools'"; exit 1; } | |
[[ -f $1 ]] || { echo "Please provide a certificate file."; exit 1; } |
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
use warnings FATAL => 'all'; | |
use 5.10.1; | |
use autodie; | |
use constant {GAUGE => '▪'}; | |
sub on_start { | |
my ($self) = @_; |
This file contains hidden or 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
#!/usr/bin/perl | |
use strict; | |
use warnings FATAL => 'all'; | |
use 5.10.1; | |
use autodie; | |
use constant {GAUGE => '▪'}; | |
sub on_start { | |
my ($self) = @_; |