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 | |
| set -euo pipefail | |
| # ============================================================ | |
| # Script Name: setup_jenkins_agent.sh | |
| # Purpose: | |
| # Create and configure a dedicated Jenkins SSH agent user | |
| # on a host, prepare its SSH authorized_keys file, install | |
| # Java if needed, and optionally add the user to the Docker | |
| # group. The controller public key is mandatory, and up to |
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 | |
| set -euo pipefail | |
| # ============================================================ | |
| # Script Name: setup_jenkins_agent.sh | |
| # Purpose: | |
| # Create and configure a dedicated Jenkins SSH agent user | |
| # on a host, prepare its SSH authorized_keys file, install | |
| # Java if needed, and optionally add the user to the Docker | |
| # group. The controller public key is mandatory, and up to |
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
| #!/bin/bash | |
| set -euo pipefail | |
| # ============================================================================= | |
| # Install Terraform in a Docker container (no sudo required) | |
| # | |
| # Usage: | |
| # curl -fsSL "<gist_raw_url>" | bash | |
| # # or with a specific version: | |
| # curl -fsSL "<gist_raw_url>" | TF_VERSION=1.12.0 bash |
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 | |
| set -Eeuo pipefail | |
| # ============================================================ | |
| # _ _ _ ____ ___ ____ _ _____ | |
| # / \ | \ | / ___|_ _| __ )| | | ____| | |
| # / _ \ | \| \___ \| || _ \| | | _| | |
| # / ___ \| |\ |___) | || |_) | |___| |___ | |
| # /_/ \_\_| \_|____/___|____/|_____|_____| | |
| # |
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 | |
| set -Eeuo pipefail | |
| # ============================================================ | |
| # _______ __ | |
| # /_ __/___ _____________ _/ /___ _________ ___ | |
| # / / / _ \/ ___/ ___/ __ `/ / __ \/ ___/ __ `__ \ | |
| # / / / __/ / / / / /_/ / / /_/ / / / / / / / / | |
| # /_/ \___/_/ /_/ \__,_/_/\____/_/ /_/ /_/ /_/ | |
| # |