forked from trailheadapps/lwc-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
27 lines (23 loc) · 1.64 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# TODO: find a way to use this dynamic bash command: echo $HOME/database/postgres/${PWD##*/}
# There is a bug : using a mounted filesystem like /mnt/a is not working a generate the following error when starting postgres docker
# chmod: changing permissions of ‘/var/lib/postgresql/data’: Permission denied
# The workaround is to define wls2 path, and get access from a mounted windows volume \\wsl$ e.g U:\home\mokch\database\postgres\sfdx-jenkins-org
# which from wsl2 represent the path $HOME/database/postgres/${PWD##*/} aka in my case /home/mokch/database/postgres/sfdx-jenkins-org.
# Note: you are not require to create the full folder path, as it will be created automatically
# You can then backup/zip the file by changing the recursive permission to the folder e.g sudo chown -R mokch:mokch /home/mokch/database/postgres/sfdx-jenkins-org
# Then zip/rar the folder.
# When you restart your postgres container, the right will be applied again and postgres database start successfully
POSTGRES_DATA_DIR=/home/mokch/database/postgres/sfdx-jenkins-org
# This contains the same information from env-devcicd.groovy file.
# It just another wa to demonstrate the usage of properties file with plugins !
DB_URL=hello
DB_URL2=hello2
SF_CONSUMER_KEY=3MVG9Kip4IKAZQEW8SIBzWoPWNyBHn8lKJuXVntaUke8zaC2caLhEvPrCfv3_SBfKSfLxatZnXeiIJBsuKH9z
SERVER_KEY_CREDENTIALS_ID=/var/jenkins_home/workspace/salesforce_demo_org/certificates/devhub/server.key
DEPLOYDIR=src
TEST_LEVEL=NoTestRun
SF_INSTANCE_URL=https://login.salesforce.com
ALIAS=devcicd
DOCKER_SFORG=sfdx-jenkins-org_sforg_1
SFDX_AUTOUPDATE_DISABLE=true