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:
commit
6e30655879
3
.github/workflows/ci-test-custom-script.yml
vendored
3
.github/workflows/ci-test-custom-script.yml
vendored
|
|
@ -186,6 +186,8 @@ jobs:
|
||||||
|
|
||||||
- name: Run Appsmith & TED docker image
|
- name: Run Appsmith & TED docker image
|
||||||
if: steps.run_result.outputs.run_result != 'success'
|
if: steps.run_result.outputs.run_result != 'success'
|
||||||
|
env:
|
||||||
|
LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY: ${{ secrets.LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY }}
|
||||||
working-directory: "."
|
working-directory: "."
|
||||||
run: |
|
run: |
|
||||||
sudo /etc/init.d/ssh stop ;
|
sudo /etc/init.d/ssh stop ;
|
||||||
|
|
@ -223,6 +225,7 @@ jobs:
|
||||||
-e FLAGSMITH_URL=http://host.docker.internal:5001/flagsmith \
|
-e FLAGSMITH_URL=http://host.docker.internal:5001/flagsmith \
|
||||||
-e FLAGSMITH_SERVER_KEY=dummykey \
|
-e FLAGSMITH_SERVER_KEY=dummykey \
|
||||||
-e FLAGSMITH_SERVER_KEY_BUSINESS_FEATURES=dummykeybusinessfeatures \
|
-e FLAGSMITH_SERVER_KEY_BUSINESS_FEATURES=dummykeybusinessfeatures \
|
||||||
|
-e LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY=$LAUNCHDARKLY_BUSINESS_FLAGS_SERVER_KEY \
|
||||||
appsmith/cloud-services:release
|
appsmith/cloud-services:release
|
||||||
cd cicontainerlocal
|
cd cicontainerlocal
|
||||||
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user