Skip to content

Commit

Permalink
[TT-10506] Remove deprecated charts (#194)
Browse files Browse the repository at this point in the history
* Remove outdated charts

Signed-off-by: Burak Sekili <[email protected]>

* remove references to deprecated charts

Signed-off-by: Burak Sekili <[email protected]>

---------

Signed-off-by: Burak Sekili <[email protected]>
  • Loading branch information
buraksekili authored Dec 6, 2023
1 parent 0e18b06 commit 438a91e
Show file tree
Hide file tree
Showing 35 changed files with 4 additions and 3,517 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
TYK_OSS_NS: tyk-oss
TYK_DATAPLANE_NS: tyk-dataplane
TYK_STACK_NS: tyk-stack
TYK_MDCB_DATAPLANE_NS: tyk-mdcb-dataplane

jobs:
lint-test:
Expand Down Expand Up @@ -145,34 +144,6 @@ jobs:
helm uninstall redis -n ${{ env. TYK_DATAPLANE_NS }} --timeout ${{ env.TIMEOUT }}
kubectl delete namespace ${{ env. TYK_DATAPLANE_NS }}
# Tyk MDCB Data Plane tests
- name: Deploy Tyk MDCB Data Plane and Dependencies
run: |
kubectl create namespace ${{ env. TYK_MDCB_DATAPLANE_NS }}
# Do not change the name
helm install redis simple-redis --wait --repo 'https://helm.tyk.io/public/helm/charts/' -n ${{ env. TYK_MDCB_DATAPLANE_NS }} --timeout ${{ env.TIMEOUT }}
helm dependency update ./tyk-mdcb-data-plane
helm install --namespace ${{ env. TYK_MDCB_DATAPLANE_NS }} tyk-mdcb-data-plane ./tyk-mdcb-data-plane --wait \
--set global.remoteControlPlane.orgId=${{ secrets.HYBRID_RPC_KEY }} \
--set global.remoteControlPlane.userApiKey=${{ secrets.HYBRID_API_KEY }} \
--set global.remoteControlPlane.connectionString=${{ secrets.HYBRID_MDCB_HOST }}
- name: Run integration tests for Tyk MDCB Data Plane
run: helm test -n ${{ env. TYK_MDCB_DATAPLANE_NS }} tyk-mdcb-data-plane

- if: failure()
name: Check logs in case of failure
run: kubectl logs -n ${{ env. TYK_MDCB_DATAPLANE_NS }} tyk-mdcb-data-plane-test-tyk-mdcb-data-plane

- name: Uninstall Tyk MDCB Data Plane Dependencies
run: |
helm uninstall tyk-mdcb-data-plane -n ${{ env. TYK_MDCB_DATAPLANE_NS }}
helm uninstall redis -n ${{ env. TYK_MDCB_DATAPLANE_NS }} --timeout ${{ env.TIMEOUT }}
kubectl delete namespace ${{ env. TYK_MDCB_DATAPLANE_NS }}
smoke-tests:
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -234,26 +205,3 @@ jobs:
run: |
helm uninstall tyk-data-plane -n ${{ env. TYK_DATAPLANE_NS }} --timeout ${{ env.TIMEOUT }}
kubectl delete namespace ${{ env. TYK_DATAPLANE_NS }}
- name: Deploy Tyk MDCB Data Plane
run: |
kubectl create namespace ${{ env. TYK_MDCB_DATAPLANE_NS }}
# Do not change the name
helm install redis simple-redis --wait --repo 'https://helm.tyk.io/public/helm/charts/' -n ${{ env. TYK_MDCB_DATAPLANE_NS }} --timeout ${{ env.TIMEOUT }}
helm dependency update ./tyk-mdcb-data-plane
helm install --namespace ${{ env. TYK_MDCB_DATAPLANE_NS }} tyk-mdcb-data-plane ./tyk-mdcb-data-plane --wait \
--set global.remoteControlPlane.orgId=${{ secrets.HYBRID_RPC_KEY }} \
--set global.remoteControlPlane.userApiKey=${{ secrets.HYBRID_API_KEY }} \
--set global.remoteControlPlane.connectionString=${{ secrets.HYBRID_MDCB_HOST }}
- name: Upgrade Tyk MDCB Data Plane
run: |
helm upgrade -n ${{ env. TYK_MDCB_DATAPLANE_NS }} tyk-mdcb-data-plane ./tyk-mdcb-data-plane --set tyk-gateway.gateway.kind=DaemonSet
- name: Uninstall Tyk Data Plane
run: |
helm uninstall tyk-mdcb-data-plane -n ${{ env. TYK_MDCB_DATAPLANE_NS }} --timeout ${{ env.TIMEOUT }}
kubectl delete namespace ${{ env. TYK_MDCB_DATAPLANE_NS }}
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ tyk-oss/charts/*

/.idea

tyk-mdcb-data-plane/charts/*

tyk-single-dc/charts/*

tyk-stack/charts/*

tyk-data-plane/charts/*
Expand Down
23 changes: 0 additions & 23 deletions components/tyk-enterprise-portal/.helmignore

This file was deleted.

30 changes: 0 additions & 30 deletions components/tyk-enterprise-portal/Chart.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions components/tyk-enterprise-portal/templates/NOTES.txt

This file was deleted.

59 changes: 0 additions & 59 deletions components/tyk-enterprise-portal/templates/_helpers.tpl

This file was deleted.

This file was deleted.

18 changes: 0 additions & 18 deletions components/tyk-enterprise-portal/templates/secret.yaml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 438a91e

Please sign in to comment.