CI Debug Print AWS functions

This commit is contained in:
Maximilian Paß
2022-08-01 14:56:16 +02:00
committed by Sebastian Serth
parent 2908caeb71
commit 7d58d2b99c
2 changed files with 1 additions and 2 deletions

View File

@ -166,7 +166,6 @@ jobs:
sudo ./nomad agent -dev -log-level=WARN -config e2e-config.hcl & 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 until curl -s --fail http://localhost:4646/v1/agent/health ; do sleep 1; done
chmod +x ./poseidon chmod +x ./poseidon
echo $POSEIDON_AWS_FUNCTIONS
./poseidon & ./poseidon &
until curl -s --fail http://localhost:7200/api/v1/health ; do sleep 1; done until curl -s --fail http://localhost:7200/api/v1/health ; do sleep 1; done
make e2e-test make e2e-test

View File

@ -65,7 +65,7 @@ func TestMain(m *testing.M) {
func initAWS() { func initAWS() {
for i, function := range config.Config.AWS.Functions { 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) id := dto.EnvironmentID(tests.DefaultEnvironmentIDAsInteger + i + 1)
path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, id.ToString()) path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, id.ToString())
request := dto.ExecutionEnvironmentRequest{Image: function} request := dto.ExecutionEnvironmentRequest{Image: function}