-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bugfix/sc-21893/master-fix-bash-compatibil…
…ity-issue
- Loading branch information
Showing
9 changed files
with
133 additions
and
85 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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
function Environment::checkMutagenVersion() { | ||
if [[ "${_PLATFORM}" == "macos" ]]; then | ||
local mutagenInstalledVersion="$(Mutagen::getInstalledVersion)" | ||
|
||
if [[ "$mutagenInstalledVersion" == 0.18.* || "$mutagenInstalledVersion" > "0.18" ]]; then | ||
Console::error "Error: Mutagen version 0.18.* is not supported yet. Please, run the command to install the latest supported version. | ||
brew unlink mutagen && brew unlink mutagen-compose && brew install mutagen-io/mutagen/[email protected] mutagen-io/mutagen/[email protected]" | ||
exit 1 | ||
fi | ||
fi | ||
} | ||
|
||
function Mutagen::getInstalledVersion() { | ||
echo $(String::trimWhitespaces "$( | ||
command -v mutagen >/dev/null 2>&1 | ||
test $? -eq 0 && mutagen version | ||
)") | ||
} | ||
|
||
Registry::addChecker "Environment::checkMutagenVersion" |
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 |
---|---|---|
|
@@ -391,7 +391,7 @@ $config[SchedulerJenkinsConstants::JENKINS_CONFIGURATION] = [ | |
``` | ||
**when** | ||
Assets install error | ||
Assets install error | ||
```bash | ||
line 1: run-s: not found | ||
``` | ||
|
@@ -400,3 +400,13 @@ line 1: run-s: not found | |
1. ensure you are using latest docker-sdk and spryker/php image. | ||
2. run `docker/sdk pull` | ||
3. run `docker/sdk boot {{your deploy file}} && docker/sdk up --build` | ||
**when** | ||
Installation error with Mutagen v0.18.* | ||
```bash | ||
unable to bring up Mutagen Compose sidecar service: Error response from daemon: network is ambiguous (5 matches found based on ID prefix) | ||
``` | ||
**then** | ||
brew unlink mutagen && brew unlink mutagen-compose && brew install mutagen-io/mutagen/[email protected] mutagen-io/mutagen/[email protected] |
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
Oops, something went wrong.