-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
forcedotcom/cli#2445 AllanOricil is a genius !
- Loading branch information
Showing
5 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,13 +24,15 @@ ARG SFDX_HARDIS_VERSION=latest | |
|
||
# Install npm packages +install sfdx plugins & display versions | ||
RUN npm install --no-cache yarn -g && \ | ||
npm install --no-cache sfdx-cli@${SFDX_CLI_VERSION} -g && \ | ||
npm install --no-cache @salesforce/cli@${SFDX_CLI_VERSION} -g && \ | ||
cli_path=$(which sf | sed 's/\/bin\/sf/\/lib\/node_modules\/@salesforce\/cli/g') && \ | ||
( cd $cli_path && npm install @salesforce/[email protected] --save-exact ) && \ | ||
echo 'y' | sfdx plugins:install sfdx-hardis@${SFDX_HARDIS_VERSION} && \ | ||
echo 'y' | sfdx plugins:install sfdmu && \ | ||
echo 'y' | sfdx plugins:install sfdx-git-delta && \ | ||
echo 'y' | sfdx plugins:install sfdx-essentials && \ | ||
echo 'y' | sfdx plugins:install texei-sfdx-plugin && \ | ||
sfdx plugins && \ | ||
sf version --verbose --json && \ | ||
rm -rf /root/.npm/_cacache | ||
|
||
# Workaround for https://github.com/forcedotcom/salesforcedx-apex/issues/213 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,8 @@ jobs: | |
- script: | | ||
npm install @salesforce/cli --global | ||
sf plugins install @salesforce/plugin-packaging | ||
sf plugins install @salesforce/[email protected] | ||
cli_path=$(which sf | sed 's/\/bin\/sf/\/lib\/node_modules\/@salesforce\/cli/g') | ||
( cd $cli_path && npm install @salesforce/[email protected] --save-exact ) | ||
echo 'y' | sfdx plugins:install sfdx-hardis | ||
echo 'y' | sfdx plugins:install sfdx-essentials | ||
echo 'y' | sfdx plugins:install sfdx-git-delta | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,8 @@ jobs: | |
- script: | | ||
npm install @salesforce/cli --global | ||
sf plugins install @salesforce/plugin-packaging | ||
sf plugins install @salesforce/[email protected] | ||
cli_path=$(which sf | sed 's/\/bin\/sf/\/lib\/node_modules\/@salesforce\/cli/g') | ||
( cd $cli_path && npm install @salesforce/[email protected] --save-exact ) | ||
echo 'y' | sfdx plugins:install sfdx-hardis | ||
echo 'y' | sfdx plugins:install sfdx-essentials | ||
echo 'y' | sfdx plugins:install sfdmu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,8 @@ jobs: | |
- script: | | ||
npm install @salesforce/cli -g | ||
sf plugins install @salesforce/plugin-packaging | ||
sf plugins install @salesforce/[email protected] | ||
cli_path=$(which sf | sed 's/\/bin\/sf/\/lib\/node_modules\/@salesforce\/cli/g') | ||
( cd $cli_path && npm install @salesforce/[email protected] --save-exact ) | ||
echo y | sfdx plugins:install sfdx-hardis | ||
echo y | sfdx plugins:install sfdx-essentials | ||
sf version --verbose --json | ||
|