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 | |
set -eu -o pipefail | |
function create_jenkins_azure_service_principal_credentials() { | |
local jenkins_url="" | |
local jenkins_username="" | |
local jenkins_token="" | |
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
package dao.queries | |
import doobie.util.fragment.Fragment | |
import doobie.implicits._ | |
import shapeless._ | |
import shapeless.labelled.FieldType | |
import shapeless.ops.record.Keys | |
trait FragmentEncoder[T] { | |
def encode(value: T): List[Fragment] |
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
--- | |
cidr_networks: | |
container: "172.16.26.0/24" | |
tunnel: "172.29.240.0/22" | |
storage: "172.29.244.0/24" | |
used_ips: | |
- "172.16.26.1,172.16.26.50" | |
- "172.16.26.100,172.16.26.200" |
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
#!/usr/bin/env bash | |
device_path=$1 | |
partition_no=$2 | |
partition_path=$3 | |
yum install -y cloud-utils-growpart e2fsprogs | |
growpart $device_path $partition_no | |
resize2fs $partition_path |