Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-userAmazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| [alias] | |
| ## | |
| # One letter alias for our most frequent commands. | |
| # | |
| # Guidelines: these aliases do not use options, because we want | |
| # these aliases to be easy to compose and use in many ways. | |
| ## | |
| a = add |
| def getProjectName() { | |
| return 'JenkinsPipeline' | |
| } | |
| def getJDKVersion() { | |
| return 'jdk1.8.0_101' | |
| } | |
| def getMavenConfig() { | |
| return 'maven-config' |
| def release = false | |
| pipeline { | |
| agent any | |
| options { | |
| timestamps() | |
| disableConcurrentBuilds() | |
| } |
| #!/bin/bash | |
| set -euo pipefail | |
| <...> | |
| echo "Checking that agent is running" | |
| until $(curl --output /dev/null --silent --head --fail http://localhost:51678/v1/metadata); do | |
| printf '.' | |
| sleep 1 | |
| done | |
| exit_code=$? | |
| printf "\nDone\n" |
| version: 0.2 | |
| phases: | |
| install: | |
| commands: | |
| - echo Entered the install phase... | |
| - pip install -r requirements.txt | |
| build: | |
| commands: | |
| - echo Entered the build phase... |
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool Min (editable)" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 80
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 80