Skip to content

Commit 2224b31

Browse files
committed
TODO: revert change - test ephemeral instance keeping up to debug log functionality
1 parent 5f7b169 commit 2224b31

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/ephemeral.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
"include-preview": "true",
2626
"skip-ephemeral-stop": "true",
2727
"preview-cmd": ${{ toJSON(env.PREVIEW_CMD) }},
28-
"lifetime": 5,
28+
"lifetime": 10,
2929
"extension-auto-install": "localstack-extension-mailhog",
3030
}
3131
env:
@@ -69,17 +69,17 @@ jobs:
6969
GH_TOKEN: ${{ github.token }}
7070

7171
# We want explicit shutdown
72-
- name: Shutdown ephemeral instance
73-
if: ${{ always() }}
74-
uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1
75-
with:
76-
uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }}
77-
with: |-
78-
{
79-
"github-token": ${{ toJSON(secrets.GITHUB_TOKEN) }},
80-
"state-backend": "ephemeral",
81-
"state-action": "stop"
82-
}
83-
env:
84-
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
85-
GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}
72+
#- name: Shutdown ephemeral instance
73+
# if: ${{ always() }}
74+
# uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1
75+
# with:
76+
# uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }}
77+
# with: |-
78+
# {
79+
# "github-token": ${{ toJSON(secrets.GITHUB_TOKEN) }},
80+
# "state-backend": "ephemeral",
81+
# "state-action": "stop"
82+
# }
83+
# env:
84+
# LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
85+
# GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }}

0 commit comments

Comments
 (0)