From 7d58d2b99cfa13f63cf0fc351607249cfec097db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Pa=C3=9F?= <22845248+mpass99@users.noreply.github.com> Date: Mon, 1 Aug 2022 14:56:16 +0200 Subject: [PATCH] CI Debug Print AWS functions --- .github/workflows/ci.yml | 1 - tests/e2e/e2e_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41c9ef4..e4e65ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,7 +166,6 @@ jobs: sudo ./nomad agent -dev -log-level=WARN -config e2e-config.hcl & until curl -s --fail http://localhost:4646/v1/agent/health ; do sleep 1; done chmod +x ./poseidon - echo $POSEIDON_AWS_FUNCTIONS ./poseidon & until curl -s --fail http://localhost:7200/api/v1/health ; do sleep 1; done make e2e-test diff --git a/tests/e2e/e2e_test.go b/tests/e2e/e2e_test.go index d0aa82a..55b06e4 100644 --- a/tests/e2e/e2e_test.go +++ b/tests/e2e/e2e_test.go @@ -65,7 +65,7 @@ func TestMain(m *testing.M) { func initAWS() { for i, function := range config.Config.AWS.Functions { - log.WithField("function", function).Warn("Yes, we do have functions.") + log.WithField("function", function[0:3]).Info("Yes, we do have AWS functions.") id := dto.EnvironmentID(tests.DefaultEnvironmentIDAsInteger + i + 1) path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, id.ToString()) request := dto.ExecutionEnvironmentRequest{Image: function}