Skip to content

Commit

Permalink
remove iter8 cli from workflows (#1623)
Browse files Browse the repository at this point in the history
* remove iter8 cli from workflows

Signed-off-by: Michael Kalantar <[email protected]>

* remove install iter8 cli from workflows

Signed-off-by: Michael Kalantar <[email protected]>

* remove word experiment

Signed-off-by: Michael Kalantar <[email protected]>

* remove testcode workflow

Signed-off-by: Michael Kalantar <[email protected]>

---------

Signed-off-by: Michael Kalantar <[email protected]>
  • Loading branch information
kalantar authored Sep 6, 2023
1 parent 025475d commit 07ac2bd
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 258 deletions.
96 changes: 39 additions & 57 deletions .github/workflows/testcharts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ jobs:
with:
files: charts/iter8

- name: Install Iter8
run: GOBIN=/usr/local/bin go install github.com/iter8-tools/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'

- name: Start kind cluster ${{ matrix.version }}
uses: helm/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'
Expand All @@ -86,10 +82,11 @@ jobs:
helm install iter8 charts/controller --set logLevel=trace
kubectl rollout status --watch --timeout=60s statefulset/iter8
- name: iter8 k launch
- name: Start performance test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k launch \
helm upgrade --install \
--repo https://iter8-tools.github.io/iter8 --version 0.16 httpbin-test iter8 \
--localChart \
--chartName charts/iter8 \
--set "tasks={http}" \
Expand All @@ -102,11 +99,11 @@ jobs:
run: |
kubectl get all
- name: Try other iter8 k commands
- name: View test logs and delete test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k log
iter8 k delete
kubectl logs -l iter8.tools/group=httpbin-test
helm delete httpbin-test
- name: Expose metrics service
if: steps.modified-files.outputs.any_modified == 'true'
Expand Down Expand Up @@ -136,10 +133,6 @@ jobs:
with:
files: charts/iter8

- name: Install Iter8
run: GOBIN=/usr/local/bin go install github.com/iter8-tools/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'

- name: Start kind cluster ${{ matrix.version }}
uses: helm/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'
Expand All @@ -160,10 +153,11 @@ jobs:
helm install iter8 charts/controller --set logLevel=trace
kubectl rollout status --watch --timeout=60s statefulset/iter8
- name: iter8 k launch
- name: Start performance test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k launch \
helm upgrade --install \
--repo https://iter8-tools.github.io/iter8 --version 0.16 httpbin-test iter8 \
--localChart \
--chartName charts/iter8 \
--set "tasks={http}" \
Expand All @@ -177,11 +171,11 @@ jobs:
run: |
kubectl get all
- name: Try other iter8 k commands
- name: View test logs and delete test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k log
iter8 k delete
kubectl logs -l iter8.tools/group=httpbin-test
helm delete httpbin-test
- name: Expose metrics service
if: steps.modified-files.outputs.any_modified == 'true'
Expand Down Expand Up @@ -211,10 +205,6 @@ jobs:
with:
files: charts/iter8

- name: Install Iter8
run: GOBIN=/usr/local/bin go install github.com/iter8-tools/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'

- name: Start kind cluster ${{ matrix.version }}
uses: helm/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'
Expand All @@ -235,10 +225,11 @@ jobs:
helm install iter8 charts/controller --set logLevel=trace
kubectl rollout status --watch --timeout=60s statefulset/iter8
- name: iter8 k launch
- name: Start performance test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k launch \
helm upgrade --install \
--repo https://iter8-tools.github.io/iter8 --version 0.16 httpbin-test iter8 \
--localChart \
--chartName charts/iter8 \
--set "tasks={http}" \
Expand All @@ -254,11 +245,11 @@ jobs:
run: |
kubectl get all
- name: Try other iter8 k commands
- name: View test logs and delete test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k log
iter8 k delete
kubectl logs -l iter8.tools/group=httpbin-test
helm delete httpbin-test
- name: Expose metrics service
if: steps.modified-files.outputs.any_modified == 'true'
Expand Down Expand Up @@ -288,10 +279,6 @@ jobs:
with:
files: charts/iter8

- name: Install Iter8
run: GOBIN=/usr/local/bin go install github.com/iter8-tools/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'

- name: Start kind cluster ${{ matrix.version }}
uses: helm/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'
Expand Down Expand Up @@ -321,10 +308,11 @@ jobs:
helm install iter8 charts/controller --set logLevel=trace
kubectl rollout status --watch --timeout=60s statefulset/iter8
- name: iter8 k launch
- name: Start performance test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k launch \
helm upgrade --install \
--repo https://iter8-tools.github.io/iter8 --version 0.16 routeguide-test iter8 \
--localChart \
--chartName charts/iter8 \
--set "tasks={ready,grpc}" \
Expand All @@ -343,12 +331,12 @@ jobs:
run: |
kubectl get all
- name: Try other iter8 k commands
- name: View test logs and delete test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k log
iter8 k delete
kubectl logs -l iter8.tools/group=routeguide-test
helm delete routeguide-test
- name: Expose metrics service
if: steps.modified-files.outputs.any_modified == 'true'
run: |
Expand Down Expand Up @@ -377,10 +365,6 @@ jobs:
with:
files: charts/iter8

- name: Install Iter8
run: GOBIN=/usr/local/bin go install github.com/iter8-tools/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'

- name: Start kind cluster ${{ matrix.version }}
uses: helm/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'
Expand Down Expand Up @@ -410,10 +394,11 @@ jobs:
helm install iter8 charts/controller --set logLevel=trace
kubectl rollout status --watch --timeout=60s statefulset/iter8
- name: iter8 k launch
- name: Start performance test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k launch \
helm upgrade --install \
--repo https://iter8-tools.github.io/iter8 --version 0.16 routeguide-test iter8 \
--localChart \
--chartName charts/iter8 \
--set "tasks={ready,grpc}" \
Expand All @@ -434,12 +419,12 @@ jobs:
run: |
kubectl get all
- name: Try other iter8 k commands
- name: View test logs and delete test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k log
iter8 k delete
kubectl logs -l iter8.tools/group=routeguide-test
helm delete routeguide-test
- name: Expose metrics service
if: steps.modified-files.outputs.any_modified == 'true'
run: |
Expand Down Expand Up @@ -468,10 +453,6 @@ jobs:
with:
files: charts/iter8

- name: Install Iter8
run: GOBIN=/usr/local/bin go install github.com/iter8-tools/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'

- name: Start kind cluster ${{ matrix.version }}
uses: helm/[email protected]
if: steps.modified-files.outputs.any_modified == 'true'
Expand All @@ -492,10 +473,11 @@ jobs:
helm install iter8 charts/controller --set logLevel=trace
kubectl rollout status --watch --timeout=60s statefulset/iter8
- name: iter8 k launch
- name: Start performance test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k launch \
helm upgrade --install \
--repo https://iter8-tools.github.io/iter8 --version 0.16 hello-test iter8 \
--localChart \
--chartName charts/iter8 \
--set "tasks={grpc}" \
Expand All @@ -510,12 +492,12 @@ jobs:
run: |
kubectl get all
- name: Try other iter8 k commands
- name: View test logs and delete test
if: steps.modified-files.outputs.any_modified == 'true'
run: |
iter8 k log
iter8 k delete
kubectl logs -l iter8.tools/group=hello-test
helm delete hello-test
- name: Expose metrics service
if: steps.modified-files.outputs.any_modified == 'true'
run: |
Expand Down
138 changes: 0 additions & 138 deletions .github/workflows/testcode.yaml

This file was deleted.

Loading

0 comments on commit 07ac2bd

Please sign in to comment.