diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f9e0984..184f5dc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,9 @@ jobs: runs-on: ubuntu-latest needs: [ compile, test ] env: + POSEIDON_AWS_ENABLED: true POSEIDON_AWS_ENDPOINT: ${{ secrets.POSEIDON_AWS_ENDPOINT }} + POSEIDON_AWS_FUNCTIONS: ${{ secrets.POSEIDON_AWS_FUNCTIONS }} steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/resources/.env b/.github/workflows/resources/.env index 47f015fc..edf87588 100644 --- a/.github/workflows/resources/.env +++ b/.github/workflows/resources/.env @@ -1,6 +1,6 @@ -POSEIDON_AWS_ENABLED="false" +POSEIDON_AWS_ENABLED="true" POSEIDON_AWS_ENDPOINT="${POSEIDON_AWS_ENDPOINT}" -POSEIDON_AWS_FUNCTIONS="" +POSEIDON_AWS_FUNCTIONS="${POSEIDON_AWS_FUNCTIONS}" POSEIDON_LOGGER_FORMATTER="JSONFormatter" POSEIDON_LOG_FILE="${GITHUB_WORKSPACE}/poseidon.log" POSEIDON_NOMAD_DISABLEFORCEPULL="true" diff --git a/tests/e2e/environments_test.go b/tests/e2e/environments_test.go index c8163564..d95aa54f 100644 --- a/tests/e2e/environments_test.go +++ b/tests/e2e/environments_test.go @@ -21,7 +21,7 @@ import ( "github.com/stretchr/testify/require" ) -var isAWSEnvironment = []bool{false} +var isAWSEnvironment = []bool{false, true} func TestCreateOrUpdateEnvironment(t *testing.T) { path := helpers.BuildURL(api.BasePath, api.EnvironmentsPath, tests.AnotherEnvironmentIDAsString)