Skip to content

Commit e5305a5

Browse files
authored
migrate from api keys to auth tokens (#34)
1 parent a52ee4b commit e5305a5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
if: ${{ ! github.event.pull_request.head.repo.fork }}
9595
run: |
9696
# create an extension with default parameters (enter all new lines to use defaults)
97-
printf "\n\n\n\n\n\n\n\n\n" | LOCALSTACK_API_KEY=${{ secrets.TEST_LOCALSTACK_API_KEY }} DEBUG=1 ./dist-bin/localstack extensions dev new
97+
printf "\n\n\n\n\n\n\n\n\n" | LOCALSTACK_AUTH_TOKEN=${{ secrets.TEST_LOCALSTACK_AUTH_TOKEN }} DEBUG=1 ./dist-bin/localstack extensions dev new
9898
# print the directory output
9999
ls -al my-localstack-extension
100100
# remove it again
@@ -133,12 +133,6 @@ jobs:
133133
# Pull images to avoid making smoke tests vulnerable to system behavior (docker pull speed)
134134
docker pull localstack/localstack-pro
135135
cd dist-bin
136-
# start pro with an API key (legacy)
137-
LOCALSTACK_API_KEY=${{ secrets.TEST_LOCALSTACK_API_KEY }} ./localstack start -d
138-
./localstack wait -t 180
139-
./localstack status services --format plain
140-
./localstack status services --format plain | grep "xray=available"
141-
./localstack stop
142136
# start pro with an auth token and extensions dev mode (see issue #20)
143137
LOCALSTACK_AUTH_TOKEN=${{ secrets.TEST_LOCALSTACK_AUTH_TOKEN }} EXTENSION_DEV_MODE=1 ./localstack start -d
144138
./localstack wait -t 180

0 commit comments

Comments
 (0)