test: Add license key with docker run (#12685)
* Added license key to docker run
This commit is contained in:
parent
dcddf4cb86
commit
20547edb47
10
.github/workflows/integration-tests-command.yml
vendored
10
.github/workflows/integration-tests-command.yml
vendored
|
|
@ -560,14 +560,8 @@ jobs:
|
||||||
mkdir -p fatcontainerlocal/stacks/configuration/
|
mkdir -p fatcontainerlocal/stacks/configuration/
|
||||||
cd fatcontainerlocal
|
cd fatcontainerlocal
|
||||||
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
||||||
-v "$PWD/stacks:/appsmith-stacks" fatcontainer
|
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
|
||||||
# sudo chmod a+rw stacks/configuration/docker.env
|
fatcontainer
|
||||||
# sudo echo "APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY" >> stacks/configuration/docker.env
|
|
||||||
|
|
||||||
# - name: Restart Appsmith
|
|
||||||
# if: steps.run_result.outputs.run_result != 'success'
|
|
||||||
# run: |
|
|
||||||
# docker restart appsmith
|
|
||||||
|
|
||||||
- name: Use Node.js 14.15.4
|
- name: Use Node.js 14.15.4
|
||||||
if: steps.run_result.outputs.run_result != 'success'
|
if: steps.run_result.outputs.run_result != 'success'
|
||||||
|
|
|
||||||
10
.github/workflows/test-build-docker-image.yml
vendored
10
.github/workflows/test-build-docker-image.yml
vendored
|
|
@ -544,14 +544,8 @@ jobs:
|
||||||
mkdir -p fatcontainerlocal/stacks/configuration/
|
mkdir -p fatcontainerlocal/stacks/configuration/
|
||||||
cd fatcontainerlocal
|
cd fatcontainerlocal
|
||||||
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
docker run -d --name appsmith -p 80:80 -p 9001:9001 \
|
||||||
-v "$PWD/stacks:/appsmith-stacks" fatcontainer
|
-v "$PWD/stacks:/appsmith-stacks" -e APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY \
|
||||||
# sudo chmod a+rw stacks/configuration/docker.env
|
fatcontainer
|
||||||
# sudo echo "APPSMITH_LICENSE_KEY=$APPSMITH_LICENSE_KEY" >> stacks/configuration/docker.env
|
|
||||||
|
|
||||||
# - name: Restart Appsmith
|
|
||||||
# if: steps.run_result.outputs.run_result != 'success'
|
|
||||||
# run: |
|
|
||||||
# docker restart appsmith
|
|
||||||
|
|
||||||
- name: Use Node.js 14.15.4
|
- name: Use Node.js 14.15.4
|
||||||
if: steps.run_result.outputs.run_result != 'success'
|
if: steps.run_result.outputs.run_result != 'success'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user