Skip to content

Commit

Permalink
Remove old test-infra (kubeflow#894)
Browse files Browse the repository at this point in the history
Remove AWS old test-infra
  • Loading branch information
Yao Xiao authored Feb 8, 2021
1 parent 8f6f4de commit 97e5d0d
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 4,007 deletions.

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions aws/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ OPTIONAL_TEST_INFRA_GITOPS_DIRS=./GitOps

# Generate YAML files for Optional-Test-Infra GitOps
optional-generate:
make optional-generate-kubeflow-shared-test-infra-poc
make optional-generate-kubeflow-shared-test-infra-poc-argo
make optional-generate-kubeflow-shared-test-infra-poc-tekton
make optional-generate-optional-test-infra-prow
make optional-generate-optional-test-infra-argo
make optional-generate-optional-test-infra-tekton
Expand All @@ -20,44 +17,6 @@ optional-test:
diff -x '*.md' ./tmp ./GitOps
rm -rf ./tmp

# Generate YAML files for Optional-Test-Infra GitOps for kubeflow-shared-test-infra-poc cluster
optional-generate-kubeflow-shared-test-infra-poc:
echo ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}
echo "Start generating yaml files for kubeflow-shared-test-infra-poc cluster"
rm -rf ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc/namespaces/prow/*
mkdir -p ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc/namespaces/prow/
kubectl -n prow --kubeconfig=./testing/fake-kubeconfig/config.yaml create configmap config \
--from-file=config.yaml=./User/clusters/kubeflow-shared-test-infra-poc/namespaces/prow/configmap/config.yaml \
--dry-run=client -o yaml > \
${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc/namespaces/prow/config.yaml
kubectl -n prow --kubeconfig=./testing/fake-kubeconfig/config.yaml create configmap plugins \
--from-file=plugins.yaml=./User/clusters/kubeflow-shared-test-infra-poc/namespaces/prow/configmap/plugins.yaml \
--dry-run=client -o yaml > \
${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc/namespaces/prow/plugins.yaml
echo "Finish generating yaml files for kubeflow-shared-test-infra-poc cluster"

# Generate YAML files for Optional-Test-Infra GitOps for kubeflow-shared-test-infra-poc-argo cluster
optional-generate-kubeflow-shared-test-infra-poc-argo:
echo ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}
echo "Start generating yaml files for kubeflow-shared-test-infra-poc-argo cluster"
rm -rf ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc-argo/namespaces/argo/*
mkdir -p ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc-argo/namespaces/argo/
####
# Add Logic to copy yaml files here
####
echo "Finish generating yaml files for kubeflow-shared-test-infra-poc-argo cluster"

# Generate YAML files for Optional-Test-Infra GitOps for kubeflow-shared-test-infra-poc-tekton cluster
optional-generate-kubeflow-shared-test-infra-poc-tekton:
echo ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}
echo "Start generating yaml files for kubeflow-shared-test-infra-poc-tekton cluster"
rm -rf ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc-tekton/namespaces/tekton-templates/*
mkdir -p ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}/clusters/kubeflow-shared-test-infra-poc-tekton/namespaces/tekton-templates/
####
# Add Logic to copy yaml files here
####
echo "Finish generating yaml files for kubeflow-shared-test-infra-poc-tekton cluster"

# Generate YAML files for Optional-Test-Infra GitOps for optional-test-infra-prow cluster
optional-generate-optional-test-infra-prow:
echo ${OPTIONAL_TEST_INFRA_GITOPS_DIRS}
Expand Down
Loading

0 comments on commit 97e5d0d

Please sign in to comment.