Skip to content

Commit

Permalink
Downgrade @salesforce/plugin-deploy-retrieve to v1.17.6 as workaround…
Browse files Browse the repository at this point in the history
… for SF cli bug

Related bug: forcedotcom/cli#2445
  • Loading branch information
nvuillam committed Sep 5, 2023
1 parent ca30817 commit a0fe01b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`

## [4.2.4] 2023-09-05

- Downgrade @salesforce/plugin-deploy-retrieve to v1.17.6 as workaround for SF cli bug https://github.com/forcedotcom/cli/issues/2445

## [4.2.3] 2023-09-04

- Fix issues with Org monitoring when there are issues with Legacy API
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ ARG SFDX_HARDIS_VERSION=latest
RUN npm install --no-cache yarn -g && \
npm install --no-cache @salesforce/cli@${SFDX_CLI_VERSION} -g && \
sf plugins install @salesforce/plugin-packaging && \
sf plugins install @salesforce/[email protected] \
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 --version && \
sfdx plugins && \
sf version --verbose --json
rm -rf /root/.npm/_cacache

# Workaround for https://github.com/forcedotcom/salesforcedx-apex/issues/213
Expand Down
6 changes: 3 additions & 3 deletions defaults/ci/azure-pipelines-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
- script: |
npm install @salesforce/cli --global
sf plugins install @salesforce/plugin-packaging
sf plugins install @salesforce/[email protected]
echo 'y' | sfdx plugins:install sfdx-hardis
echo 'y' | sfdx plugins:install sfdx-essentials
echo 'y' | sfdx plugins:install [email protected]
sfdx --version
sfdx plugins
echo 'y' | sfdx plugins:install sfdx-git-delta
sf version --verbose --json
displayName: "Install SFDX & plugins"
# Login & check deployment to PR target branch related org (configuration: https://hardisgroupcom.github.io/sfdx-hardis/salesforce-ci-cd-setup-auth/ )
Expand Down
6 changes: 3 additions & 3 deletions defaults/ci/azure-pipelines-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ jobs:
- script: |
npm install @salesforce/cli --global
sf plugins install @salesforce/plugin-packaging
sf plugins install @salesforce/[email protected]
echo 'y' | sfdx plugins:install sfdx-hardis
echo 'y' | sfdx plugins:install sfdx-essentials
echo 'y' | sfdx plugins:install sfdmu
echo 'y' | sfdx plugins:install [email protected]
sfdx --version
sfdx plugins
echo 'y' | sfdx plugins:install sfdx-git-delta
sf version --verbose --json
displayName: "Install SFDX & plugins"
# Login & Deploy sfdx sources to related org (configuration: https://hardisgroupcom.github.io/sfdx-hardis/salesforce-ci-cd-setup-auth/ )
Expand Down
2 changes: 2 additions & 0 deletions defaults/monitoring/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ jobs:
- script: |
npm install @salesforce/cli -g
sf plugins install @salesforce/plugin-packaging
sf plugins install @salesforce/[email protected]
echo y | sfdx plugins:install sfdx-hardis
echo y | sfdx plugins:install sfdx-essentials
sf version --verbose --json
workingDirectory: $(System.DefaultWorkingDirectory)
displayName: Install @salesforce/cli & sfdx-hardis
Expand Down

0 comments on commit a0fe01b

Please sign in to comment.