Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
TravisCI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Feb 1, 2019
1 parent d57f52a commit 5d36a03
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: required

# We need the systemd for the kubeadm and it's default from 16.04+
dist: xenial

Expand Down Expand Up @@ -61,5 +59,5 @@ script:
- |
echo '{ "ignorePatterns": [ { "pattern": "^(http|https)://localhost" } ] }' > config.json
markdown-link-check --config config.json ./README.md
# k8s commands
- sed -n '/^```bash/,/^```/p' README.md | sed '/^```*/d' | sed -n '/^kubectl get nodes -o wide/,$p' | sed '/^helm repo add rook-stable/,/kubectl get -l app=fluent-bit svc,pods --all-namespaces -o wide/d' | sh -eux
# k8s commands (use everything starting from Helm installation except rook and elasticsearch - because of TravisCI bandwidth limitation)
- sed -n '/^```bash/,/^```/p' README.md | sed '/^```*/d' | sed -n '/^curl https:\/\/raw.githubusercontent.com\/helm\/helm\/master\/scripts\/get | bash/,$p' | sed '/^helm repo add rook-stable/,/kubectl get -l app=fluent-bit svc,pods --all-namespaces -o wide/d' | sh -eux
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,12 @@ apt-get update
apt-get install -y kubectl
```

Install Terraform and Helm...
Install Terraform...

```bash
TERRAFORM_LATEST_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')
curl --silent --location https://releases.hashicorp.com/terraform/${TERRAFORM_LATEST_VERSION}/terraform_${TERRAFORM_LATEST_VERSION}_linux_amd64.zip --output /tmp/terraform_linux_amd64.zip
unzip -o /tmp/terraform_linux_amd64.zip -d /usr/local/bin/
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash
```

Change directory to `/mnt` where the git repository is mounted:
Expand Down Expand Up @@ -208,14 +207,14 @@ apt-get update
apt-get install -y kubectl socat
```

Install Helm...
## Install Helm

Install Helm binary locally:

```bash
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get | bash
```

## Install Helm

Install Tiller (the Helm server-side component) into the Kubernetes Cluster:

```bash
Expand Down

0 comments on commit 5d36a03

Please sign in to comment.