-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make metrics traefik docker configurable
- Loading branch information
Showing
4 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Test | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
|
||
test_install_k3s: | ||
runs-on: ubuntu-latest | ||
name: Test K3s options | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- id: k3s | ||
uses: ./ | ||
with: | ||
metrics-enabled: false | ||
traefik-enabled: false | ||
docker-enabled: true | ||
# This action should export KUBECONFIG | ||
|
||
- name: Kubectl | ||
run: | | ||
kubectl version | ||
kubectl get deploy,daemonset,pods --all-namespaces | ||
kubectl get --namespace kube-system deploy metrics-server || ret=$? | ||
if [ $ret -eq 0 ]; then | ||
echo "ERROR: metrics-server should be disabled" | ||
exit 1 | ||
fi | ||
kubectl get --namespace kube-system deploy traefik || ret=$? | ||
if [ $ret -eq 0 ]; then | ||
echo "ERROR: traefik should be disabled" | ||
exit 1 | ||
fi | ||
docker info | ||
docker ps | ||
shell: bash |
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
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