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

Commit

Permalink
Adding GH Action and .spelling + fix Istio installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Oct 18, 2019
1 parent e90cef8 commit 079fc7c
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 34 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: "checks"

on:
push:
branches: [master]

jobs:
command-check:
name: "Command check"
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v1

- name: "Run tests"
run: |
sudo apt install -y pv siege
tests/ci_test.sh
markdown-lint-check:
name: "Markdown lint check"
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v1

- name: "Install Node.js 12"
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: "Install markdownlint-cli"
run: npm install -g markdownlint-cli

- name: "Create markdownlint configuration file"
run: |
echo "{ MD013: false }" > /tmp/markdownlint_config.json
- name: "Run markdownlint"
run: find . -path ./node_modules -prune -o -name "*.md" -print0 | xargs -t -0 markdownlint -c /tmp/markdownlint_config.json

markdown-spell-check:
name: "Markdown spell check"
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@v1

- name: "Install Node.js 12"
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: "Install markdown-spellcheck"
run: npm install -g markdown-spellcheck

- name: "Run mdspell"
run: mdspell '**/*.md' '!**/node_modules/**/*.md' --ignore-numbers --ignore-acronyms --report --en-gb

markdown-link-check:
name: "Markdown link check"
runs-on: ubuntu-18.04

steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- uses: gaurav-nelson/github-action-markdown-link-check@0.4.0
66 changes: 33 additions & 33 deletions .spelling
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
Kiali
Cleanup
Álex
asciinema
Atamel
v2018
Conf
Istio
Bookinfo
Servicegraph
Ceph
CephBlockPool
Cerebro
Tsang
Layer5.io
Soto
Álex
microservices
Cleanup
colored
Conf
DestinationRule
DevFest
ElasticSearch
FluentBit
FluentD
GDGReading
Kibana
GitBook
Grafana
microservice
colored
productpage
FluentD
ServiceEntry
VirtualService
DestinationRule
VirtualService
Multicluster
Istio
k8s
Kiali
Kibana
kubectl
Kubernetes
non-Kubernetes
StatsD
kubernetes-client
Layer5.io
loadbalancer
FluentBit
timestamp
ElasticSearch
CephBlockPool
plugin
microservice
microservices
Minikube
Multicluster
non-Kubernetes
OpenStack
plugin
productpage
ServiceEntry
Servicegraph
Soto
ssh
kubernetes-client
kubectl
Minikube
asciinema
GitBook
StatsD
timestamp
Tsang
v2018
VirtualService
VirtualService
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kubernetes with Istio demo

[![Build Status](https://travis-ci.com/ruzickap/k8s-istio-demo.svg?branch=master)](https://travis-ci.com/ruzickap/k8s-istio-demo)
![Build Status](https://github.com/ruzickap/k8s-istio-demo/workflows/checks/badge.svg)

[GitBook version](https://ruzickap.gitbook.io/k8s-istio-demo/)

Expand Down Expand Up @@ -629,6 +629,7 @@ kubectl get nodes -o wide
Either download Istio directly from [https://github.com/istio/istio/releases](https://github.com/istio/istio/releases) or get the latest version by using curl:

```bash
export ISTIO_VERSION="1.0.6"
test -d files || mkdir files
cd files
curl -sL https://git.io/getLatestIstio | sh -
Expand Down Expand Up @@ -660,6 +661,7 @@ helm install --wait --name istio --namespace istio-system install/kubernetes/hel
--set telemetry-gateway.grafanaEnabled=true \
--set telemetry-gateway.prometheusEnabled=true \
--set tracing.enabled=true
sleep 30
```

See the Istio components:
Expand Down
7 changes: 7 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ignorePatterns": [
{
"pattern": "^(http|https)://localhost"
}
]
}

0 comments on commit 079fc7c

Please sign in to comment.