Merge pull request #28937 from appsmithorg/fix/ld-configs

chore: Add  `LaunchDarkly` configs in CI run to mock feature flags (#28761)
This commit is contained in:
Trisha Anand 2023-11-17 18:21:42 +05:30 committed by GitHub
commit 6e30655879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,6 +186,8 @@ jobs:
- name: Run Appsmith & TED docker image
if: steps.run_result.outputs.run_result != 'success'
env:
LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY: ${{ secrets.LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY }}
working-directory: "."
run: |
sudo /etc/init.d/ssh stop ;
@ -223,6 +225,7 @@ jobs:
-e FLAGSMITH_URL=http://host.docker.internal:5001/flagsmith \
-e FLAGSMITH_SERVER_KEY=dummykey \
-e FLAGSMITH_SERVER_KEY_BUSINESS_FEATURES=dummykeybusinessfeatures \
-e LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY=$LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY \
appsmith/cloud-services:release
cd cicontainerlocal
docker run -d --name appsmith -p 80:80 -p 9001:9001 \