Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.
Open

Ci #218

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
23ecd16
Remove Azure Docs
denverwilliams Mar 3, 2017
708d154
Refactor AWS
denverwilliams Mar 15, 2017
bff551d
TF Vars
denverwilliams Mar 15, 2017
0887fa3
Refactor AWS Code for Docker Deploy
denverwilliams Mar 15, 2017
e56a8c7
Update Dockerfile/entrypoint + Add Readme
denverwilliams Mar 15, 2017
db9f573
Remove #
denverwilliams Mar 15, 2017
c9023c2
Add Destroy + Update Readme
denverwilliams Mar 16, 2017
3684e5e
Reformat for readability
hh Mar 16, 2017
4d4c078
Fix Readme
denverwilliams Mar 20, 2017
7d565c4
TF_VARS needs underscores and not dashes
hh Apr 9, 2017
564fbbf
Merge branch 'master' of github.com:cncf/demo into azure
hh Apr 9, 2017
e69f664
Continued refactor for - to _
hh Apr 9, 2017
b5ff4e5
Merge azure+aws approaches
hh Apr 10, 2017
d034384
Add Google, Azure, and AWS tools to Dockerfile
hh Apr 12, 2017
96c070e
continuing aws+azure refactor
hh Apr 14, 2017
5b08303
update .gitignore
hh Apr 14, 2017
b49edea
Write Master Certs to Disk using cloud-init and Encode with base64+gz…
denverwilliams Apr 16, 2017
24bc820
Write Terraformrc and Remove AWS Cred Gen
denverwilliams Apr 16, 2017
131747d
Add iam for Adding Instances to Kube-APIServer and Remove S3 Roles
denverwilliams Apr 16, 2017
0cf0d68
Add gzip+base64 encoding for writing worker certs to Disk for 16K Clo…
denverwilliams Apr 16, 2017
91aa5df
gzip encode kube-apiserver manifest to get under 16K cloud-init limit
denverwilliams Apr 16, 2017
afeda56
Remove S3 Module using cloud-init for Certs
denverwilliams Apr 16, 2017
5d53562
_ replacement
hh Apr 16, 2017
a6631c3
merge aws into azure
hh Apr 16, 2017
74447ab
Simplify Azure vars
hh Apr 16, 2017
b1aa72e
Refactor AWS to Support Muilt Deploys on the same AWS Account
denverwilliams Apr 16, 2017
690c361
Refactor certs / yaml config to use gzip+base64
hh Apr 16, 2017
c7a2869
Merge branch 'aws' of github.com:cncf/demo into azure
hh Apr 16, 2017
d63d8af
Write AWS Kubeconf Per Deploy
denverwilliams Apr 16, 2017
c35436f
Merge branch 'aws' of github.com:cncf/demo into azure
hh Apr 16, 2017
a318c14
Destroy is now Done in Cleanup.tf
denverwilliams Apr 16, 2017
5a64043
Fix Syntax
denverwilliams Apr 16, 2017
9ba190c
merged aws into azure
hh Apr 16, 2017
73142be
Removing old kubeconfig approach
hh Apr 16, 2017
d2e372e
Continued refactor for Azure to match AWS
hh Apr 16, 2017
3413df6
Merge branch 'aws' of github.com:cncf/demo into azure
hh Apr 16, 2017
ab58489
Fix typos to bring up AWS after refactor
hh Apr 16, 2017
2ef8cfd
Bump Terraform Version from 0.9.0-beta2 to 0.9.3
hh Apr 16, 2017
afbf8a7
Migrating from kubelet_aci to kubelet_image_url
hh Apr 16, 2017
c3605e1
Rename vpc to network -Azure uses virtual_networks
hh Apr 16, 2017
846f408
Clean up Azure API server to match AWS
hh Apr 16, 2017
b0349c2
Refactor entrypoint to support aws+azure
hh Apr 16, 2017
ba3d44e
Fix Missing Content for write_files kube-apiserver.yml
denverwilliams Apr 17, 2017
1e62a39
Fix YAML Syntax Formatting
denverwilliams Apr 17, 2017
32b9e76
Merge cert.cf & keypair.tf so only one -target apply is needed
denverwilliams Apr 17, 2017
c632a5e
Merge cloud-config.tf into ssl-ssh-cloud.tf
denverwilliams Apr 17, 2017
0f708d7
Add Prereqs to a Single Resource so -target is only needed once
denverwilliams Apr 17, 2017
d958a56
Remove DNS Count Depends of Master Node IPs so terraform apply can be…
denverwilliams Apr 17, 2017
f614cfc
Write Kubeconfig to Deploy DIR
denverwilliams Apr 17, 2017
e9cc4b1
standardize input vars for azure+aws
hh Apr 17, 2017
c4de981
Write terraformrc during Docker Build
denverwilliams Apr 17, 2017
a73abfd
Remove Write from Entrypoint
denverwilliams Apr 17, 2017
a368600
Fix Terraformrc Syntax
denverwilliams Apr 17, 2017
ae9ae51
terraform gzip provider one-liner
hh Apr 17, 2017
31b9b1c
Update Name_servers_file to be based on Name
denverwilliams Apr 17, 2017
de1fbf3
Merge branch 'azure' of github.com:cncf/demo into azure
denverwilliams Apr 17, 2017
b505a8f
Update cidr VAR
denverwilliams Apr 17, 2017
3a967ff
Initial stab at packet deploy
hh Apr 18, 2017
3268559
3 etcd/masters and 3 workers coming up on packet
hh Apr 18, 2017
6c18628
Store keys, certs, and tfstate per packet deploy
hh Apr 18, 2017
79c94cf
Add packet entrypoint to deploy container
hh Apr 18, 2017
986737f
Remove bastion node from packet
hh Apr 18, 2017
601cb07
Add packet worker nodes
hh Apr 18, 2017
17567c4
Using cncf.ci domain on dnsimple for Packet
hh Apr 19, 2017
cbfd78a
Fix ETCD2 Cluster Name so ETCD can Bootstrap
denverwilliams Apr 19, 2017
006b750
Update Certs to use Pubilc Endpoint Name
denverwilliams Apr 20, 2017
b08953a
Generate Kubeconfig ENV Per Cluster Deploy
denverwilliams Apr 20, 2017
030d317
Create Public Endpoint DNS
denverwilliams Apr 20, 2017
5404a1e
Update ETCD Output
denverwilliams Apr 20, 2017
b403f05
Remove Cloud-provider=azure
denverwilliams Apr 20, 2017
f42f832
Clear up AWS dependency loop for cross-cloud deploy
hh Apr 20, 2017
cf95b02
terraform aws_iam_role 'roles' parameted deprecation
hh Apr 20, 2017
c1d5d9c
aws master_node_count and master_ips needed for dns
hh Apr 20, 2017
141ff4b
simultaneous cross-cloud deploy to aws,azure,packet
hh Apr 20, 2017
96ded11
Refactor Azure to Gce
denverwilliams Apr 5, 2017
53aead1
Refactor Azure to GCE and Create VPC Resource
denverwilliams Apr 5, 2017
3630905
Refactor Vars and VPC-Subnet for GCE
denverwilliams Apr 6, 2017
6dabf97
Add etcd Host and Create 3 Nodes based on Count
denverwilliams Apr 9, 2017
11ac184
Don't Assign Public IP to ETCD Nodes
denverwilliams Apr 9, 2017
eba41d9
Create Private DNS Zone for ETCD Cluster
denverwilliams Apr 9, 2017
150b2a2
Output all ETCD Node IPs and Create a Single DNS Record that points t…
denverwilliams Apr 9, 2017
0991eab
Create an A Record for Each ETCD Node Based on Count
denverwilliams Apr 9, 2017
7c3e59d
Create SRV Records for ETCD Cluster
denverwilliams Apr 9, 2017
0f98b47
Use Cloud INIT for ETCD Cluster Cration and Create a Bastion host for…
denverwilliams Apr 10, 2017
ce9d43a
First attempt at using cloudinit_template to gzip encode to get below…
denverwilliams Apr 10, 2017
b656791
Revert Cloud-init Changes
denverwilliams Apr 11, 2017
a360c2d
encode certs with base64 to meet cloud-init metadata size constraints
denverwilliams Apr 12, 2017
b5860c7
Write Master Certs to Disk
denverwilliams Apr 12, 2017
540231f
Create Worker Nodes
denverwilliams Apr 12, 2017
f4a665b
Update Worker Nodes
denverwilliams Apr 12, 2017
5362d60
Remove SSL Depends
denverwilliams Apr 12, 2017
8723bbb
Override resolv.conf
denverwilliams Apr 16, 2017
3685392
GCE Refactor
denverwilliams Apr 18, 2017
4bf770c
Update ETCD to use and not DNS for Bootstrap
denverwilliams Apr 18, 2017
5b732da
Update Cert to Use Project DNS for ETCD
denverwilliams Apr 20, 2017
4d68bec
Create Certs using Project DNS
denverwilliams Apr 20, 2017
5c2ac63
Create Internal LB for Masters
denverwilliams Apr 20, 2017
af75be8
Add LB and Bastion Node Firewall Rules
denverwilliams Apr 20, 2017
96a4b10
Bootstrap Cluster Using Project DNS
denverwilliams Apr 20, 2017
77ff613
Update Master VARS
denverwilliams Apr 20, 2017
f3aa4ab
ETCD Bootstrap
denverwilliams Apr 20, 2017
d7e9214
Configure Worker to Use Internal_LB for K8s Master
denverwilliams Apr 20, 2017
641f9fa
Add Internal_lb for K8s Masters
denverwilliams Apr 20, 2017
d1afc24
Output Network Self_link
denverwilliams Apr 20, 2017
2f636bf
Add External LB for K8s Endpoint
denverwilliams Apr 20, 2017
38e2dd2
Add Security Group for K8s Endpoint
denverwilliams Apr 20, 2017
2a069db
Create ENV File for KubectlA
denverwilliams Apr 20, 2017
ef8172c
Genterate Cert for Public Endpoint
denverwilliams Apr 20, 2017
9911d13
Fix Cert for PublicLB
denverwilliams Apr 20, 2017
e75938c
Create Public DNS Name for K8s Endpoint
denverwilliams Apr 20, 2017
876a951
Update Outputs
denverwilliams Apr 20, 2017
5589c38
cherry-pick gce
hh Apr 20, 2017
cd811ad
Add cross-cloud terraform code
hh Apr 20, 2017
5ccd117
Use the same kubeconfig module for all clouds
hh Apr 20, 2017
d5fe65c
combine kubeconfig output for all clouds
hh Apr 20, 2017
13c2709
Add Internal LB Domain
denverwilliams Apr 20, 2017
6d7d7eb
Merge branch 'cross-cloud' of github.com:cncf/demo into cross-cloud
denverwilliams Apr 20, 2017
dfe589b
ensure gce uses shared kubeconfig
hh Apr 20, 2017
a4741f8
move terraform code into provisioning
hh Apr 23, 2017
91d4cfe
Add gitlab-ci.yml to build our docker image
hh Apr 23, 2017
9cc3f7e
Update .gitlab-ci.yml to use dind
hh Apr 23, 2017
d0b8714
Moving entrypoint.sh to provision.sh
hh Apr 23, 2017
f2554cc
Checking for current dir of ci deploy
hh Apr 23, 2017
419eb78
Update path to ./provisioning
hh Apr 23, 2017
b71a4c5
Tag for foo kubernetes runner
hh Apr 23, 2017
44019e8
Set packet working hostnames to public dns
hh Apr 23, 2017
0e364d4
Add flanneld for overlay
hh Apr 23, 2017
ad0fb1c
Upgrade to Kubelet 1.6.1
hh Apr 23, 2017
0d54416
Use fqdn for hostnames on Packet
hh Apr 23, 2017
648053f
Bringing up etcd on workers so flannel will function
hh Apr 24, 2017
b0149e6
Make provision.sh use relative paths
hh Apr 24, 2017
94781e0
Deploy etcd keys to workers for flannel
hh Apr 24, 2017
228a71c
Remove bastion device_plan
hh Apr 24, 2017
cc573fb
Move k8s config files out of cloud-config.yml
hh Apr 24, 2017
ded6428
Make apiserver bind to 0.0.0.0
hh Apr 25, 2017
fb4820a
Use packet location SJC1
hh Apr 25, 2017
4370e11
Update to scheduler_yml
hh Apr 25, 2017
af38aa5
Add flannel_docker_opts.env to docker.service
hh Apr 25, 2017
befd3c8
Remove flannel config via cloud-init
hh Apr 25, 2017
d90bc5e
Bump to kubelet_image_tag 1.6.2_coreos.0
hh Apr 25, 2017
1236003
Remove register-schedulable (no longer valid)
hh Apr 25, 2017
8048a82
Add masterX.public.DEPLOY.cncf.ci DNS record
hh Apr 25, 2017
5f35bfc
Update kube-apiserver/proxy config to k8s 1.6.2
hh Apr 25, 2017
0176ad0
Update Dockerfile to use to Correct Working DIR
denverwilliams Apr 26, 2017
1861b02
Fix Terraform Path for AWS Deploy
denverwilliams Apr 26, 2017
334f87b
First Attemt at GKE
denverwilliams Apr 26, 2017
dfbe11b
gke node size and pool count changes
denverwilliams Apr 27, 2017
7a95816
Updating gku defaults and provision.sh
hh Apr 27, 2017
4a4828e
Fix Network for GKE
denverwilliams Apr 27, 2017
9d018d6
Output GKE Certs and Configure Kubectl
denverwilliams Apr 30, 2017
1fc0cbe
Update Kubeconfig to Work with GKE
denverwilliams May 1, 2017
a88c52d
Add Google Provider
denverwilliams May 2, 2017
5f4aada
Fix Syntax Error
denverwilliams May 2, 2017
1a292e2
Use Top Level KUBECONFIG Module
denverwilliams May 2, 2017
827247b
Add GKE to Cross-Cloud
denverwilliams May 3, 2017
fd7f22b
Fix VAR for Packet Cross-Cloud
denverwilliams May 3, 2017
0936c93
Update .sh to Get Terraform before Destroy
denverwilliams May 4, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
myazure.publishsettings
*.env
.DS_Store
*~
*.swp
Expand All @@ -9,4 +7,9 @@ myazure.publishsettings
*.zip
*.pyc
*.dist-info/
api/_tes*
data/
terraform.tfstate
terraform.tfstate.backup
tmp/
*.env
.terraform/
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is a template, and might need editing before it works on your project.
# Official docker image.
image: docker:latest

services:
- docker:dind

build:
stage: build
tags:
- foo
script:
- export IMAGE_TAG=$(echo -en $CI_COMMIT_REF_NAME | tr -c '[:alnum:]_.-' '-')
- docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" ./provisioning
- docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
33 changes: 0 additions & 33 deletions Dockerfile

This file was deleted.

37 changes: 0 additions & 37 deletions azure/cloud-config.tf

This file was deleted.

24 changes: 0 additions & 24 deletions azure/input.tf

This file was deleted.

111 changes: 0 additions & 111 deletions azure/modules.tf

This file was deleted.

17 changes: 0 additions & 17 deletions azure/modules/bastion/input.tf

This file was deleted.

2 changes: 0 additions & 2 deletions azure/modules/bastion/output.tf

This file was deleted.

6 changes: 0 additions & 6 deletions azure/modules/dns/input.tf

This file was deleted.

4 changes: 0 additions & 4 deletions azure/modules/dns/output.tf

This file was deleted.

1 change: 0 additions & 1 deletion azure/modules/etcd/.#cloud-config.tf

This file was deleted.

24 changes: 0 additions & 24 deletions azure/modules/etcd/cloud-config.tf

This file was deleted.

26 changes: 0 additions & 26 deletions azure/modules/etcd/input.tf

This file was deleted.

8 changes: 0 additions & 8 deletions azure/modules/etcd/output.tf

This file was deleted.

8 changes: 0 additions & 8 deletions azure/modules/kubeconfig/io.tf

This file was deleted.

Loading