-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: reorganize test roundtrip scripts
- Loading branch information
Showing
5 changed files
with
136 additions
and
17 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
cd "$(dirname ${BASH_SOURCE})"/.. | ||
cd "$(dirname ${BASH_SOURCE})"/../.. | ||
|
||
kubectl delete -k config/samples || true | ||
make uninstall || true | ||
make undeploy || true | ||
test-resources/node.js/express/undeploy.sh | ||
test-resources/collector/undeploy.sh |
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,44 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
cd "$(dirname ${BASH_SOURCE})"/../.. | ||
|
||
echo Make sure cert-manager is deployed as well: | ||
echo test-resources/cert-manager/deploy.sh | ||
|
||
echo STEP 1: remove old test resources | ||
test-resources/bin/test-cleanup.sh | ||
echo | ||
echo | ||
|
||
echo STEP 2: deploy the collector | ||
test-resources/collector/deploy.sh | ||
echo | ||
echo | ||
|
||
echo STEP 3: rebuild the operator image | ||
make docker-build | ||
echo | ||
echo | ||
|
||
echo STEP 4: deploy application under monitoring | ||
test-resources/node.js/express/build-and-deploy.sh | ||
echo | ||
echo | ||
|
||
echo STEP 5: install the custom resource definition | ||
make install | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 6: deploy the Dash0 custom resource to the target namespace | ||
kubectl apply -k config/samples | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 7: deploy the Dash0 operator | ||
make deploy |
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,44 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
cd "$(dirname ${BASH_SOURCE})"/../.. | ||
|
||
echo Make sure cert-manager is deployed as well: | ||
echo test-resources/cert-manager/deploy.sh | ||
|
||
echo STEP 1: remove old test resources | ||
test-resources/bin/test-cleanup.sh | ||
echo | ||
echo | ||
|
||
echo STEP 2: deploy the collector | ||
test-resources/collector/deploy.sh | ||
echo | ||
echo | ||
|
||
echo STEP 3: rebuild the operator image | ||
make docker-build | ||
echo | ||
echo | ||
|
||
echo STEP 4: deploy application under monitoring | ||
test-resources/node.js/express/build-and-deploy.sh | ||
echo | ||
echo | ||
|
||
echo STEP 5: install the custom resource definition | ||
make install | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 6: deploy the Dash0 operator | ||
make deploy | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 7: deploy the Dash0 custom resource to the target namespace | ||
kubectl apply -k config/samples |
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,46 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
cd "$(dirname ${BASH_SOURCE})"/../.. | ||
|
||
echo Make sure cert-manager is deployed as well: | ||
echo test-resources/cert-manager/deploy.sh | ||
|
||
echo STEP 1: remove old test resources | ||
test-resources/bin/test-cleanup.sh | ||
echo | ||
echo | ||
|
||
echo STEP 2: deploy the collector | ||
test-resources/collector/deploy.sh | ||
echo | ||
echo | ||
|
||
echo STEP 3: rebuild the operator image | ||
make docker-build | ||
echo | ||
echo | ||
|
||
echo STEP 4: install the custom resource definition | ||
make install | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 5: deploy the Dash0 operator | ||
make deploy | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 6: deploy the Dash0 custom resource to the target namespace | ||
kubectl apply -k config/samples | ||
echo | ||
echo | ||
|
||
sleep 5 | ||
|
||
echo STEP 7: deploy application under monitoring | ||
test-resources/node.js/express/build-and-deploy.sh |