Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPansino committed May 14, 2024
1 parent a1254d0 commit 20e8e30
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,18 @@ jobs:
- name: Deploy New Relic k8s-agents-operator to minikube
run: |
kubectl create secret generic newrelic-key-secret -n default --from-literal=new_relic_license_key=$NEW_RELIC_LICENSE_KEY
helm repo add k8s-agents-operator https://newrelic.github.io/k8s-agents-operator
helm upgrade --install k8s-agents-operator k8s-agents-operator/k8s-agents-operator -n default
helm upgrade --install k8s-agents-operator k8s-agents-operator/k8s-agents-operator --namespace=default --set=licenseKey=$NEW_RELIC_LICENSE_KEY
sleep 5
kubectl wait --for=condition=Ready -n default --all pods
- name: Build init container
run: |
docker build -t e2e/initcontainer-${{ env.INITCONTAINER_LANGUAGE }}:e2e ${{ env.INITCONTAINER_LANGUAGE }}/
minikube image load e2e/initcontainer-${{ env.INITCONTAINER_LANGUAGE }}:e2e
minikube image build -t e2e/initcontainer-${{ env.INITCONTAINER_LANGUAGE }}:e2e ${{ env.INITCONTAINER_LANGUAGE }}/
- name: Build test app container
run: |
docker build -t e2e/test-app-${{ env.INITCONTAINER_LANGUAGE }}:e2e tests/${{ env.INITCONTAINER_LANGUAGE }}/
minikube image load e2e/test-app-${{ env.INITCONTAINER_LANGUAGE }}:e2e
minikube image build -t e2e/test-app-${{ env.INITCONTAINER_LANGUAGE }}:e2e tests/${{ env.INITCONTAINER_LANGUAGE }}/
- name: Deploy test app to minikube
run: |
Expand Down

0 comments on commit 20e8e30

Please sign in to comment.