@ -37,30 +37,30 @@ jobs:
exit 1
fi
- name : Build
run : sudo go build -o ./bin/ tk ./cmd/tk
- name : tk check --pre
run : sudo go build -o ./bin/ go tk ./cmd/go tk
- name : go tk check --pre
run : |
./bin/ tk check --pre
- name : tk install --version
./bin/ go tk check --pre
- name : go tk install --version
run : |
./bin/ tk install --version=master --namespace=test --verbose --components="source-controller,kustomize-controller"
- name : tk uninstall
./bin/ go tk install --version=master --namespace=test --verbose --components="source-controller,kustomize-controller"
- name : go tk uninstall
run : |
./bin/ tk uninstall --namespace=test --crds --silent
- name : tk install --manifests
./bin/ go tk uninstall --namespace=test --crds --silent
- name : go tk install --manifests
run : |
./bin/ tk install --manifests ./manifests/install/ --version=""
- name : tk create source git
./bin/ go tk install --manifests ./manifests/install/ --version=""
- name : go tk create source git
run : |
./bin/ tk create source git podinfo \
./bin/ go tk create source git podinfo \
--url https://github.com/stefanprodan/podinfo \
--tag-semver=">=3.2.3"
- name : tk get sources git
- name : go tk get sources git
run : |
./bin/ tk get sources git
- name : tk create kustomization
./bin/ go tk get sources git
- name : go tk create kustomization
run : |
./bin/ tk create kustomization podinfo \
./bin/ go tk create kustomization podinfo \
--source=podinfo \
--path="./deploy/overlays/dev" \
--prune=true \
@ -69,54 +69,54 @@ jobs:
--health-check="Deployment/frontend.dev" \
--health-check="Deployment/backend.dev" \
--health-check-timeout=3m
- name : tk sync kustomization --with-source
- name : go tk sync kustomization --with-source
run : |
./bin/ tk reconcile kustomization podinfo --with-source
- name : tk get kustomizations
./bin/ go tk reconcile kustomization podinfo --with-source
- name : go tk get kustomizations
run : |
./bin/ tk get kustomizations
- name : tk suspend kustomization
./bin/ go tk get kustomizations
- name : go tk suspend kustomization
run : |
./bin/ tk suspend kustomization podinfo
- name : tk resume kustomization
./bin/ go tk suspend kustomization podinfo
- name : go tk resume kustomization
run : |
./bin/ tk resume kustomization podinfo
- name : tk export
./bin/ go tk resume kustomization podinfo
- name : go tk export
run : |
./bin/ tk export source git --all
./bin/ tk export kustomization --all
- name : tk delete kustomization
./bin/ go tk export source git --all
./bin/ go tk export kustomization --all
- name : go tk delete kustomization
run : |
./bin/ tk delete kustomization podinfo --silent
- name : tk delete source git
./bin/ go tk delete kustomization podinfo --silent
- name : go tk delete source git
run : |
./bin/ tk delete source git podinfo --silent
- name : tk create source helm
./bin/ go tk delete source git podinfo --silent
- name : go tk create source helm
run : |
./bin/ tk create source helm podinfo \
./bin/ go tk create source helm podinfo \
--url https://stefanprodan.github.io/podinfo
- name : tk create helmrelease
- name : go tk create helmrelease
run : |
./bin/ tk create hr podinfo \
./bin/ go tk create hr podinfo \
--target-namespace=default \
--source=podinfo \
--chart-name=podinfo \
--chart-version=">4.0.0 <5.0.0"
- name : tk get helmreleases
- name : go tk get helmreleases
run : |
./bin/ tk get helmreleases
- name : tk export helmrelease
./bin/ go tk get helmreleases
- name : go tk export helmrelease
run : |
./bin/ tk export hr --all
- name : tk delete helmrelease
./bin/ go tk export hr --all
- name : go tk delete helmrelease
run : |
./bin/ tk delete hr podinfo --silent
- name : tk delete source helm
./bin/ go tk delete hr podinfo --silent
- name : go tk delete source helm
run : |
./bin/ tk delete source helm podinfo --silent
- name : tk check
./bin/ go tk delete source helm podinfo --silent
- name : go tk check
run : |
./bin/ tk check
./bin/ go tk check
- name : Debug failure
if : failure()
run : |