-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comment out credential setup for safety
- Loading branch information
1 parent
dcb90d3
commit 7bbd268
Showing
2 changed files
with
29 additions
and
5 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,24 @@ | ||
#!/bin/bash | ||
|
||
# helm upgrade --install newrelic-agent-operator newrelic-agent-operator/newrelic-agent-operator --set licenseKey=$NEW_RELIC_LICENSE_KEY -n newrelic | ||
# kubectl create secret generic newrelic-key-secret -n newrelic --from-literal=new_relic_license_key=$NEW_RELIC_LICENSE_KEY | ||
|
||
# kubectl delete secret newrelic-key-secret -n test-python --ignore-not-found | ||
# kubectl create secret generic newrelic-key-secret -n test-python --from-literal=new_relic_license_key=$NEW_RELIC_LICENSE_KEY | ||
|
||
minikube image build -t e2e/initcontainer-python:e2e python/ | ||
minikube image build -t e2e/test-app-python:e2e tests/python/ | ||
|
||
kubectl delete -f tests/python/customresource.yaml -n test-python | ||
kubectl apply -f tests/python/customresource.yaml -n test-python | ||
|
||
kubectl delete -f tests/python/test_app_deployment.yaml -n test-python | ||
kubectl apply -f tests/python/test_app_deployment.yaml -n test-python | ||
|
||
sleep 1 | ||
kubectl get pods --namespace=test-python | ||
kubectl wait --for=condition=Ready --namespace test-python --all pods | ||
|
||
minikube service test-app-python-service --namespace test-python | ||
|
||
# kubectl logs -n test-python $(kubectl get pods --namespace=test-python | grep test-app-python | cut -d" " -f1) |