-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ES-2130 ES-2142 ES-2143 MOSIP-38703 MOSIP-38705 Cherry-picked release…
… script changes from develop to release-1.1.x (#536) * ES-2130 ES-2142 ES-2143 (#511) * ES-2130 ES-2142 ES-2143 Signed-off-by: ase-101 <[email protected]> * ES-2130 ES-2142 ES-2143 Signed-off-by: ase-101 <[email protected]> * ES-2130 ES-2142 ES-2143 Signed-off-by: ase-101 <[email protected]> * ES-2130 ES-2142 ES-2143 Signed-off-by: ase-101 <[email protected]> * ES-2130 ES-2142 ES-2143 Signed-off-by: ase-101 <[email protected]> --------- Signed-off-by: ase-101 <[email protected]> * [MOSIP-38703],[MOSIP-38704] & [MOSIP-38707] updated push-trigger.yml and added new manual-docker-build.yml files Continue docker build only if the SNAPSHOT is present in parent pom otherwise skip Signed-off-by: techno-467 <[email protected]> * [MOSIP-38703],[MOSIP-38704] & [MOSIP-38707] updated push-trigger.yml and added new manual-docker-build.yml files Continue docker build only if the SNAPSHOT is present in parent pom otherwise skip Signed-off-by: techno-467 <[email protected]> * [MOSIP-38705] & [38705] added installation script for esignet-with-plugins and for esignet. Signed-off-by: techno-467 <[email protected]> * Updated pom version Signed-off-by: ase-101 <[email protected]> * [MOSIP-38705] & [MOSIP-38705] added installation script for esignet-with-plugins and for esignet-signup. Signed-off-by: techno-467 <[email protected]> * Updated version Signed-off-by: ase-101 <[email protected]> * Updated version Signed-off-by: ase-101 <[email protected]> --------- Signed-off-by: ase-101 <[email protected]> Signed-off-by: techno-467 <[email protected]> Co-authored-by: Prafulrakhade <[email protected]> Co-authored-by: techno-467 <[email protected]> Co-authored-by: Praful Rakhade <[email protected]>
- Loading branch information
1 parent
dc0ca12
commit 6f9852f
Showing
24 changed files
with
629 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Manual Docker Build for without -SNAPSHOT | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
message: | ||
description: 'Message for manually triggering' | ||
required: false | ||
default: 'Triggered for Updates' | ||
type: string | ||
|
||
jobs: | ||
build_maven_signup_with_plugins: | ||
uses: mosip/kattu/.github/workflows/maven-build.yml@master | ||
with: | ||
SERVICE_LOCATION: ./signup-with-plugins | ||
BUILD_ARTIFACT: signup-with-plugins | ||
MAVEN_NON_EXEC_ARTIFACTS: "esignet-mock-plugin.jar,mosip-identity-plugin.jar" | ||
secrets: | ||
OSSRH_USER: ${{ secrets.OSSRH_USER }} | ||
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }} | ||
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }} | ||
GPG_SECRET: ${{ secrets.GPG_SECRET }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} | ||
|
||
build_dockers_esignet_with_plugins: | ||
needs: [ build_maven_signup_with_plugins, check_snapshot_version, publish_to_nexus ] | ||
if: ${{ needs.check_snapshot_version.outputs.is_condition == 'true' }} | ||
strategy: | ||
matrix: | ||
include: | ||
- SERVICE_LOCATION: 'signup-with-plugins' | ||
SERVICE_NAME: 'signup-with-plugins' | ||
BUILD_ARTIFACT: 'signup-with-plugins' | ||
fail-fast: false | ||
name: ${{ matrix.SERVICE_NAME }} | ||
uses: mosip/kattu/.github/workflows/docker-build.yml@master | ||
with: | ||
SERVICE_LOCATION: ${{ matrix.SERVICE_LOCATION }} | ||
SERVICE_NAME: ${{ matrix.SERVICE_NAME }} | ||
BUILD_ARTIFACT: ${{ matrix.BUILD_ARTIFACT }} | ||
secrets: | ||
DEV_NAMESPACE_DOCKER_HUB: ${{ secrets.DEV_NAMESPACE_DOCKER_HUB }} | ||
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }} | ||
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
# Deletes signup-with-plugins helm chart | ||
## Usage: ./delete.sh [kubeconfig] | ||
|
||
if [ $# -ge 1 ] ; then | ||
export KUBECONFIG=$1 | ||
fi | ||
|
||
function Deleting_signup_with_plugins() { | ||
NS=signup | ||
while true; do | ||
read -p "Are you sure you want to delete signup helm charts?(Y/n) " yn | ||
if [[ $yn = "Y" ]] || [[ $yn = "y" ]]; | ||
then | ||
helm -n $NS delete signup | ||
break | ||
else | ||
break | ||
fi | ||
done | ||
return 0 | ||
} | ||
|
||
# set commands for error handling. | ||
set -e | ||
set -o errexit ## set -e : exit the script if any statement returns a non-true return value | ||
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable | ||
set -o errtrace # trace ERR through 'time command' and other functions | ||
set -o pipefail # trace ERR through pipes | ||
Deleting_signup_with_plugins # calling function | ||
|
Oops, something went wrong.