CI Debug WIP

This commit is contained in:
Maximilian Paß
2022-08-01 14:39:12 +02:00
parent d0ad9e03a3
commit 0094776a88
2 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ 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

View File

@ -65,6 +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.")
id := dto.EnvironmentID(tests.DefaultEnvironmentIDAsInteger + i + 1)
path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, id.ToString())
request := dto.ExecutionEnvironmentRequest{Image: function}