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
.script: &script |- | |
# Helper functions and initialization. | |
set -euo pipefail | |
docker_auth() { | |
# Configure docker registry auth credentials. | |
echo "Configuring docker registry auth credentials." | |
if [ -z "$CI_REGISTRY" ]; then | |
echo "Gitlab registry is not enabled." >&2 |
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
powershell.exe -command "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force;(New-Object System.Net.WebClient).DownloadFile('https://github.com/mistio/collectm/blob/build_issues/scripts/collectm.remote.install.ps1?raw=true', '.\collectm.remote.install.ps1');.\collectm.remote.install.ps1 -gitBranch ""build_issues"" -SetupConfigFile -setupArgs '-username """"a2eeba85db4e3407b8f7a4d51e2bc7f7"""""" -password """"""4779a8b699b3a9fa"""""" -servers @(""""""null.mist.io"""""") -interval 10'" |
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
Collectd network protocol cryptographic setup | |
============================================= | |
Collectd's network plugin supports authentication and encryption. This text | |
file describes how each case works to make it easier to add crypto support for | |
third party collectd network protocol implementations. | |
Two crypto modes are supported: 'Sign' and 'Encrypt'. Both are detailed in the | |
following sections. Some notes that apply to both: | |
You need to configure a common username/password pair in both the server and |
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 | |
echo "This will create a new bare repo here." | |
while [ 1 ]; do | |
echo -n "Enter the name of the repo: " | |
read name | |
# check if empty | |
if [ ! $name ]; then | |
echo " ...you need to provide a name" |