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
data "template_file" "main" { | |
template = <<EOF | |
set -e | |
WORKDIR=/tmp/${uuid()} | |
mkdir -p "$WORKDIR" | |
cd "$WORKDIR" | |
curl -f "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" | |
unzip awscli-bundle.zip | |
./awscli-bundle/install -i "$WORKDIR"/aws |
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
# we take the frontend hipster shop at https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/helm-chart/templates/frontend.yaml | |
# and demonstrate how to deploy it through helm in Argo Rollouts | |
helm install sockshop ./ -nsockshop --set images.tag=v0.6.0 | |
helm upgrade sockshop ./ -nsockshop --set images.tag=v0.7.0 | |
kubectl argo rollouts get rollout frontend -nsockshop --watch | |
# confirm current version of site running in external elb |
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
# we take the frontend hipster shop at https://github.com/GoogleCloudPlatform/microservices-demo/blob/main/helm-chart/templates/frontend.yaml | |
# and demonstrate how to deploy it through helm in Argo Rollouts | |
helm install sockshop ./ -nsockshop --set images.tag=v0.6.0 | |
helm upgrade sockshop ./ -nsockshop --set images.tag=v0.7.0 | |
kubectl argo rollouts get rollout frontend -nsockshop --watch | |
# confirm current version of site running in external elb |
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 main | |
import ( | |
"fmt" | |
"os" | |
"time" | |
"github.com/fakovacic/amadeus" | |
) | |
func main() { |
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
#--------------------------------------------------------------------- | |
# Example configuration for a possible web application. See the | |
# full configuration options online. | |
# | |
# http://haproxy.1wt.eu/download/1.4/doc/configuration.txt | |
# | |
#--------------------------------------------------------------------- | |
#--------------------------------------------------------------------- | |
# Global settings |
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
source 'https://rubygems.org' | |
gem 'berkshelf' | |
group :plugins do | |
gem "vagrant-berkshelf", github: "berkshelf/vagrant-berkshelf" | |
gem "vagrant-omnibus", github: "schisamo/vagrant-omnibus" | |
end | |
gem 'test-kitchen' | |
gem 'kitchen-vagrant' |
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
autotune/centos65 |
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
--- | |
driver: | |
name: rackspace | |
rackspace_username: "" | |
rackspace_api_key: "" | |
require_chef_omnibus: "latest" | |
rackspace_region: "ORD" | |
provisioner: | |
name: "chef_solo" |
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
--- | |
driver: | |
name: vagrant | |
provisioner: | |
name: chef_solo | |
platforms: | |
- name: centos65 |
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
subnet 172.16.252.0 netmask 255.255.255.0 { | |
range 172.16.252.128 172.16.252.254; | |
option broadcast-address 172.16.252.255; | |
option domain-name-servers 172.16.252.2; | |
option domain-name localdomain; | |
default-lease-time 1800; # default is 30 minutes | |
max-lease-time 7200; # default is 2 hours | |
option netbios-name-servers 172.16.252.2; | |
option routers 172.16.252.2; | |
} |
NewerOlder