diff --git a/python/tests/customresource.yaml b/.github/containers/python/customresource.yaml similarity index 91% rename from python/tests/customresource.yaml rename to .github/containers/python/customresource.yaml index 3da7cf2..72aa702 100644 --- a/python/tests/customresource.yaml +++ b/.github/containers/python/customresource.yaml @@ -11,5 +11,5 @@ spec: image: ghcr.io/${{ github.repository }}-python env: # Put the agent in developer mode so it doesn't try to connect to the real collector. - - name: NEW_RELIC_DEV_MODE + - name: NEW_RELIC_DEVELOPER_MODE value: true diff --git a/python/tests/python_test_app_deployment.yaml b/.github/containers/python/python_test_app_deployment.yaml similarity index 100% rename from python/tests/python_test_app_deployment.yaml rename to .github/containers/python/python_test_app_deployment.yaml diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 71d18a5..e06ef96 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -84,7 +84,7 @@ jobs: helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.11.0 --set installCRDs=true helm upgrade --install newrelic-agent-operator chart/ --set licenseKey='SUPERSECRET' -n newrelic kubectl apply -f ./../containers/python/customresource.yaml -n python-test - kubectl apply -f ./../containers/python/. -n python-test + kubectl apply -f ./../containers/python/python_test_app_deployment.yaml -n python-test # Wait 30 seconds for the cluster to start and then hit the test application endpoint. - name: Test