-
Notifications
You must be signed in to change notification settings - Fork 0
/
hutte.yml
67 lines (64 loc) · 2.89 KB
/
hutte.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
version: 1.0
# Shell script to run when pushing the source code to the scratch orgs.
# It's a great place to automate tasks like permission set assignments or data loading.
push_script: |
export nDESIGN_INSTALL_KEY=${nDESIGN_INSTALL_KEY}
export nFORCE_INSTALL_KEY=${nFORCE_INSTALL_KEY}
export LLC_BI_INSTALL_KEY=${LLC_BI_INSTALL_KEY}
export NDOC_INSTALL_KEY=${NDOC_INSTALL_KEY}
export nFUSE_INSTALL_KEY=${nFUSE_INSTALL_KEY}
export nCino_INSTALL_KEY=${nCino_INSTALL_KEY}
export nFORMS_INSTALL_KEY=${nFORMS_INSTALL_KEY}
export nXBI_INSTALL_KEY=${nXBI_INSTALL_KEY}
export EFPIO_INSTALL_KEY=${EFPIO_INSTALL_KEY}
export MTRNS_INSTALL_KEY=${MTRNS_INSTALL_KEY}
export nSBA_INSTALL_KEY=${nSBA_INSTALL_KEY}
echo $nDESIGN_INSTALL_KEY
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
pip install wheel
pip install --no-build-isolation cumulusci
cci org list
cci org import ${SALESFORCE_USERNAME} ${SALESFORCE_USERNAME}
cci flow run dependencies --org ${SALESFORCE_USERNAME}
custom_scripts:
scratch_org:
"Import Data1":
description: "Import data using SFDMU"
run: |
# echo y | sf plugins install sfdmu
# sf sfdmu run -p data -s csvfile -u "${SF_TARGET_ORG}" --filelog 0 -n
# apk add py3-pip libffi-dev gcc musl-dev linux-headers python3-dev
# python3 -m venv myenv && source myenv/bin/activate && python -m ensurepip --upgrade
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
pip install wheel
pip install --no-build-isolation cumulusci
cci org list
cci org import ${SALESFORCE_USERNAME} ${SALESFORCE_USERNAME}
chmod +x data/replace_composite.sh
./data/replace_composite.sh PLACEHOLDER_LAST_NAME ${HUTTE_GIT_USER_NAME}
cci task run composite_request --org ${SF_TARGET_ORG} --data_files data/composite_actual.json
"Push Script Manual":
description: "Import data using SFDMU"
run: |
export nDESIGN_INSTALL_KEY=${nDESIGN_INSTALL_KEY}
export nFORCE_INSTALL_KEY=${nFORCE_INSTALL_KEY}
export LLC_BI_INSTALL_KEY=${LLC_BI_INSTALL_KEY}
export NDOC_INSTALL_KEY=${NDOC_INSTALL_KEY}
export nFUSE_INSTALL_KEY=${nFUSE_INSTALL_KEY}
export nCino_INSTALL_KEY=${nCino_INSTALL_KEY}
export nFORMS_INSTALL_KEY=${nFORMS_INSTALL_KEY}
export nXBI_INSTALL_KEY=${nXBI_INSTALL_KEY}
export EFPIO_INSTALL_KEY=${EFPIO_INSTALL_KEY}
export MTRNS_INSTALL_KEY=${MTRNS_INSTALL_KEY}
export nSBA_INSTALL_KEY=${nSBA_INSTALL_KEY}
echo $nDESIGN_INSTALL_KEY
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.py
pip install wheel
pip install --no-build-isolation cumulusci
cci org list
cci org import ${SALESFORCE_USERNAME} ${SALESFORCE_USERNAME}
cci flow run dependencies --org ${SALESFORCE_USERNAME}