From 5a76f4da329471d93fef3966eed967f238a13274 Mon Sep 17 00:00:00 2001 From: remilejeune2 Date: Thu, 27 Jun 2024 14:58:13 +0200 Subject: [PATCH 1/2] Update config.yaml --- .upsun/config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.upsun/config.yaml b/.upsun/config.yaml index 57d9c6c8..8c772b79 100644 --- a/.upsun/config.yaml +++ b/.upsun/config.yaml @@ -67,15 +67,15 @@ applications: # #add_service_start # ###################################################################################################################### # # Step 3: Add a service. Uncomment this section. -# ###################################################################################################################### -# relationships: -# redis_session: -# service: "redis_service" -# endpoint: "redis" +####################################################################################################################### +# relationships: +# redis_session: +# service: "redis_service" +# endpoint: "redis" -# services: -# redis_service: -# type: "redis:7.0" +#services: +# redis_service: +# type: "redis:7.0" # ###################################################################################################################### # #add_service_end From c412984cd806a76b942f21c2883dac2eef9ebda4 Mon Sep 17 00:00:00 2001 From: Chad Carlson Date: Thu, 27 Jun 2024 11:47:30 -0400 Subject: [PATCH 2/2] fix auth/login for new version? --- .github/workflows/project.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/project.yaml b/.github/workflows/project.yaml index eb923c18..fbef5267 100644 --- a/.github/workflows/project.yaml +++ b/.github/workflows/project.yaml @@ -90,6 +90,7 @@ jobs: # B. Setup authenticated Upsun CLI user. - name: "[setup_cli_auth] 1. Test: an authenticated CLI can retrieve bot user info." run: | + upsun login --max-age 0 echo "::notice::Verifying CLI auth - bot can access user info." RESULT=$(upsun auth:info username) ./$TEST_PATH/compare_strings.sh "$RESULT" "$UPSUN_USERNAME" "Authenticate Upsun CLI user"