Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/MDD-172: Added MISP Version 2.4.102 (#27)
## Feat/MDD-172: Added MISP Version 2.4.102 ### Update Information Features of the release: - Added MISP server container for MISP release 2.4.102. For more information, please have a look at the official changelog at https://github.com/MISP/MISP/releases/tag/v2.4.102. - Added improved CI scripts ### General Changes Besides the new MISP version, we improved the CI scripts for Gitlab and Travis CI. ### Fixes and Improvements - Added MISP server container with MISP Version 2.4.102 - Added improved CI scripts ### Detailed Changes - Added new MISP server 2.4.102 on base of 2.4.97.
- Loading branch information
Showing
40 changed files
with
3,296 additions
and
160 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
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,30 +1,10 @@ | ||
#!/bin/bash | ||
STARTMSG="[notify_hob.docker.com]" | ||
|
||
DOCKER_SLUG="$1" | ||
TOKEN="$2" | ||
NOTIFY_URL="$1" | ||
|
||
echo "$STARTMSG Notify hub.docker.com" | ||
|
||
# Find Out Git Hub Repository | ||
echo "$STARTMSG Set GIT_REPO..." | ||
if [ ! -z "$(git remote get-url origin|grep git@)" ] | ||
then | ||
GIT_REPO="$(git remote get-url origin|sed 's,.*:,,'|sed 's,....$,,')" | ||
elif [ ! -z "$(git remote get-url origin|grep http)" ] | ||
then | ||
GIT_REPO="$(git remote get-url origin|sed 's,http.*//.*/,,'|sed 's,....$,,')" | ||
elif [ ! -z "$(echo $GIT_REPO|grep $GITLAB_HOST)" ] | ||
then | ||
GIT_REPO="$(git remote get-url origin|sed 's,.*'${GITLAB_HOST}'/'${GITLAB_GROUP}'/,,'|sed 's,....$,,')" | ||
else | ||
echo "Can not found the Git URL. Exit now." | ||
exit 1 | ||
fi | ||
|
||
|
||
DOCKER_REPO="$DOCKER_SLUG/$(echo $GIT_REPO|cut -d / -f 2|tr '[:upper:]' '[:lower:]')" | ||
|
||
curl -X POST -H "Content-Type: application/json" --data '{"docker_tag_name": "hub_automatic_untested"}' https://registry.hub.docker.com/u/$DOCKER_REPO/trigger/$TOKEN/ | ||
curl -X POST -H "Content-Type: application/json" --data '{"docker_tag_name": "hub_automatic_untested"}' "$NOTIFY_URL" | ||
|
||
echo "$STARTMSG $0 is finished." |
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
Oops, something went wrong.