Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/infosys/esignet into dev…
Browse files Browse the repository at this point in the history
…elop
  • Loading branch information
Mohd Kaif Siddique committed May 7, 2024
2 parents c724b15 + b8f336b commit df8e590
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 16 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,65 @@ jobs:
ACTOR_DOCKER_HUB: ${{ secrets.ACTOR_DOCKER_HUB }}
RELEASE_DOCKER_HUB: ${{ secrets.RELEASE_DOCKER_HUB }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-maven-apitest-esignet:
uses: mosip/kattu/.github/workflows/maven-build.yml@master
with:
SERVICE_LOCATION: ./apitest
BUILD_ARTIFACT: apitest-esignet
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 }}

publish_to_nexus_apitest_esignet:
if: "${{ !contains(github.ref, 'master') && github.event_name != 'pull_request' && github.event_name != 'release' && github.event_name != 'prerelease' && github.event_name != 'publish' }}"
needs: build-maven-apitest-esignet
uses: mosip/kattu/.github/workflows/maven-publish-to-nexus.yml@master
with:
SERVICE_LOCATION: ./apitest
secrets:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_SECRET: ${{ secrets.OSSRH_SECRET }}
OSSRH_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }}
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
GPG_SECRET: ${{ secrets.GPG_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-dockers_apitest_esignet:
needs: build-maven-apitest-esignet
strategy:
matrix:
include:
- SERVICE_LOCATION: 'apitest'
SERVICE_NAME: 'apitest-esignet'
BUILD_ARTIFACT: 'apitest-esignet'
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 }}

sonar_analysis_apitest_esignet:
needs: build-maven-apitest-esignet
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
with:
SERVICE_LOCATION: ./apitest
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_KEY: ${{ secrets.ORG_KEY }}
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 }}
2 changes: 1 addition & 1 deletion apitest/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

## Run automationtests
java -jar -Dmodules="$MODULES" -Denv.user="$ENV_USER" -Denv.endpoint="$ENV_ENDPOINT" -Denv.testLevel="$ENV_TESTLEVEL" automationtests.jar;
java -jar -Dmodules="$MODULES" -Denv.user="$ENV_USER" -Denv.endpoint="$ENV_ENDPOINT" -Denv.testLevel="$ENV_TESTLEVEL" apitest-esignet-*-jar-with-dependencies.jar;
21 changes: 14 additions & 7 deletions apitest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<artifactId>apitest-esignet</artifactId>
<packaging>jar</packaging>
<name>apitest-esignet</name>
<description>Parent project of MOSIP functional tests</description>
<url>https://github.com/mosip/mosip-functional-tests</url>
<description>Parent project of apitest-esignet</description>
<url>https://github.com/mosip/esignet</url>
<version>1.2.0.1-SNAPSHOT</version>

<licenses>
Expand All @@ -18,13 +18,20 @@
</licenses>

<scm>
<connection>scm:git:git://github.com/mosip/mosip-functional-tests.git</connection>
<developerConnection>scm:git:ssh://github.com:mosip/mosip-functional-tests.git</developerConnection>
<url>https://github.com/mosip/mosip-functional-tests</url>
<connection>scm:git:git://github.com/mosip/esignet.git</connection>
<developerConnection>scm:git:ssh://github.com:mosip/esignet.git</developerConnection>
<url>https://github.com/mosip/esignet</url>
<tag>HEAD</tag>
</scm>


<developers>
<developer>
<name>Mosip</name>
<email>mosip.emailnotifier@gmail.com</email>
<organization>io.mosip</organization>
<organizationUrl>https://github.com/mosip/esignet</organizationUrl>
</developer>
</developers>


<properties>
Expand Down Expand Up @@ -169,7 +176,7 @@
<rest.assured.version>3.0.7</rest.assured.version>
<testng.version>6.11</testng.version>
<zt.zip.version>1.13</zt.zip.version>
<fileName>apitests-esignet-1.2.0.1-SNAPSHOT-jar-with-dependencies</fileName>
<fileName>apitest-esignet-1.2.0.1-SNAPSHOT-jar-with-dependencies</fileName>

</properties>
<build>
Expand Down
2 changes: 1 addition & 1 deletion helm/esignet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: esignet
description: A Helm chart for MOSIP esignet module
type: application
version: 1.0.1
version: 0.0.1-develop
appVersion: ""
dependencies:
- name: common
Expand Down
6 changes: 3 additions & 3 deletions helm/esignet/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ if [ $# -ge 1 ] ; then
fi

SOFTHSM_NS=softhsm
SOFTHSM_CHART_VERSION=12.0.2
SOFTHSM_CHART_VERSION=0.0.1-develop

echo Create $SOFTHSM_NS namespace
kubectl create ns $SOFTHSM_NS

NS=esignet
CHART_VERSION=1.0.1
CHART_VERSION=0.0.1-develop

ESIGNET_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-esignet-host})

Expand Down Expand Up @@ -98,4 +98,4 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
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
installing_esignet # calling function
installing_esignet # calling function
2 changes: 1 addition & 1 deletion helm/esignet/keycloak-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then
fi

NS=esignet
CHART_VERSION=12.0.1-B2
CHART_VERSION=0.0.1-develop
COPY_UTIL=../copy_cm_func.sh

helm repo add mosip https://mosip.github.io/mosip-helm
Expand Down
2 changes: 1 addition & 1 deletion helm/oidc-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: oidc-ui
description: A Helm chart for MOSIP OIDC UI module
type: application
version: 1.0.1
version: 0.0.1-develop
appVersion: ""
dependencies:
- name: common
Expand Down
2 changes: 1 addition & 1 deletion helm/oidc-ui/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then
fi

NS=esignet
CHART_VERSION=1.0.1
CHART_VERSION=0.0.1-develop

echo Create $NS namespace
kubectl create ns $NS
Expand Down
2 changes: 1 addition & 1 deletion partner-onboarder/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ "$flag" = "n" ]; then
fi

NS=esignet
CHART_VERSION=12.0.2
CHART_VERSION=0.0.1-develop

echo Create $NS namespace
kubectl create ns $NS
Expand Down

0 comments on commit df8e590

Please sign in to comment.