-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply the latest version of build scripts
(copied from master to this branch)
- Loading branch information
Showing
7 changed files
with
53 additions
and
41 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 |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| maintainer="tier" | ||
| imagename="midpoint" | ||
| version="3.9-SNAPSHOT-stable" | ||
| tag="3.9-SNAPSHOT-stable" |
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 |
|---|---|---|
| @@ -1,16 +1,25 @@ | ||
| #!/bin/bash | ||
|
|
||
| dir=`dirname "$0"` | ||
| echo "Downloading midPoint 3.9-SNAPSHOT" | ||
| DIR=`dirname "$0"` | ||
| source $DIR/common.bash | ||
| if [[ -n "$1" ]]; then | ||
| MP_VERSION=$1 | ||
| else | ||
| if [[ $tag == "latest" ]]; then | ||
| MP_VERSION=3.9-SNAPSHOT | ||
| else | ||
| MP_VERSION=$tag | ||
| fi | ||
| fi | ||
| echo "Downloading midPoint $MP_VERSION" | ||
| echo "-----------------------------------------" | ||
| curl --output $dir/midpoint-3.9-SNAPSHOT-dist.tar.gz "https://evolveum.com/downloads/midpoint-tier/midpoint-3.9-SNAPSHOT-stable-dist.tar.gz" | ||
| curl --output $DIR/midpoint-dist.tar.gz "https://evolveum.com/downloads/midpoint-tier/midpoint-$MP_VERSION-dist.tar.gz" | ||
| echo "-----------------------------------------" | ||
| echo "Checking the download..." | ||
| if tar -tf $dir/midpoint-3.9-SNAPSHOT-dist.tar.gz >/dev/null; then | ||
| if tar -tf $DIR/midpoint-dist.tar.gz >/dev/null; then | ||
| echo "OK" | ||
| exit 0 | ||
| else | ||
| echo "The file was not downloaded correctly" | ||
| exit 1 | ||
| fi | ||
|
|
This file was deleted.
Oops, something went wrong.
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