Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.2.0.1 to develop making upto date #298

Closed
wants to merge 42 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8939cc7
Merge pull request #115 from mosip/develop
aranaravi Mar 22, 2022
f1802be
Merge pull request #117 from mosip/develop
Apr 1, 2022
c272a03
Merge pull request #119 from mosip/develop
Apr 6, 2022
02a21b2
[ MOSIP-20021 ] updated release_changes.yml to update README.md badges
May 19, 2022
99a543d
Merge pull request #133 from syed-salman-technoforte/1.2.0.1
ckm007 May 20, 2022
8d32721
MOSIP-21585 : Updated URL for document-catergory-type-mapping
balaji-alluru Jun 2, 2022
3ec22bd
MOSIP-21007: Updated Logout Service
balaji-alluru Jun 7, 2022
35583e9
Merge pull request #138 from balaji-alluru/1.2.0.1
Jun 7, 2022
63a82e5
MOSIP-21836 : Updated data-storage service file
balaji-alluru Jun 14, 2022
c7f0b30
Merge pull request #142 from balaji-alluru/1.2.0.1
ase-101 Jun 20, 2022
facd207
[MOSIP-20028] added action for tagging
ckm007 Jul 18, 2022
ca914e3
Updated Pom versions for release changes
ckm007 Sep 29, 2022
fda38df
Update README.md
ckm007 Sep 30, 2022
42a79eb
Merge pull request #149 from mosip/release-branch
ckm007 Sep 30, 2022
e23d3be
Update README.md (#184)
ckm007 Jun 21, 2023
aa7dc77
[MOSIP-28488] Update README.md (#205)
Rakshithb1 Jul 17, 2023
fdba0cd
[MOSIP-29162] Updated workflows as per reusable workflow format (#220)
syedsalman3753 Sep 22, 2023
2951422
MOSIP-23752 : Added required field for location details
GOKULRAJ136 Nov 27, 2023
96747aa
Update create.component.html
GOKULRAJ136 Nov 27, 2023
dc5d651
MOSIP-30449 : Added Required Fields & Changed the Upload File Format
GOKULRAJ136 Nov 29, 2023
9fd5a3c
Resolve Reliability Bugs on Admin-UI
GOKULRAJ136 Dec 13, 2023
5813dc2
Removed Data Table
GOKULRAJ136 Dec 14, 2023
1aaa50b
Merge branch 'release-1.2.0.1' into sonar-1.2.0.1
aranaravi Dec 22, 2023
7f8889a
Merge branch 'release-1.2.0.1' into patch-2
aranaravi Jan 5, 2024
2dfc935
Update push-trigger.yml
GOKULRAJ136 Jan 8, 2024
d996f6c
Merge pull request #259 from GOKULRAJ136/patch-5
aranaravi Jan 8, 2024
dfac780
Merge pull request #254 from GOKULRAJ136/sonar-1.2.0.1
aranaravi Jan 9, 2024
afda1c5
Merge branch 'release-1.2.0.1' into patch-2
aranaravi Jan 9, 2024
718aabc
Merge pull request #237 from GOKULRAJ136/patch-1
aranaravi Jan 9, 2024
68e121c
Merge pull request #240 from GOKULRAJ136/patch-2
aranaravi Jan 9, 2024
24e428e
[DSD-4285] (#262)
bhumi46 Jan 22, 2024
a24c0ae
[MOSIP-31353]Update create.component.ts
balaji-alluru Feb 1, 2024
01fe3e5
Merge pull request #268 from balaji-alluru/release1-1.2.0.1
aranaravi Feb 1, 2024
4f6a6c7
MOSIP-31484
Feb 6, 2024
de9048f
MOSIP-31484
Feb 8, 2024
d08c3b2
Merge pull request #273 from jayesh12234/release-1.2.0.1
aranaravi Feb 8, 2024
b6969e6
[MOSIP-31031] Added method to fetch docker hash ID
syedsalman3753 Feb 8, 2024
31b85ad
Merge pull request #274 from syedsalman3753/release-1.2.0.1
ckm007 Feb 12, 2024
cf5c04d
MOSIP-31550
Feb 12, 2024
4042f79
Merge pull request #276 from jayesh12234/release-1.2.0.1
aranaravi Feb 12, 2024
c3284d2
[MOSIP-31766] & [MOSIP-31899] Updated pom version for admin-ui (#287)
dhanendra06 Mar 5, 2024
64b0761
Updated Pom versions for release changes (#288)
ckm007 Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
109 changes: 0 additions & 109 deletions .github/workflows/build.yml

This file was deleted.

174 changes: 174 additions & 0 deletions .github/workflows/push-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
name: admin-ui build upon a push

on:
release:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
message:
description: 'Message for manually triggering'
required: false
default: 'Triggered for Updates'
type: string
push:
branches:
- '!release-branch'
- develop
- release-*
- master
- 1.*
- MOSIP*

jobs:
build-admin-ui:
uses: mosip/kattu/.github/workflows/npm-build.yml@master
with:
SERVICE_LOCATION: ./admin-ui
BUILD_ARTIFACT: admin-ui
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-docker-admin-ui:
needs: build-admin-ui
strategy:
matrix:
include:
- SERVICE_LOCATION: './admin-ui'
SERVICE_NAME: 'admin-ui'
NPM_BUILD: true
BUILD_ARTIFACT: 'admin-ui'
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 }}
NPM_BUILD: ${{ matrix.NPM_BUILD }}
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:
needs: build-admin-ui
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/npm-sonar-analysis.yml@master
with:
SERVICE_LOCATION: admin-ui
SONAR_URL: 'https://sonarcloud.io'
PROJECT_KEY: 'mosip_${{ github.event.repository.name }}'
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
ORG_KEY: ${{ secrets.ORG_KEY }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

build-maven-admintest:
uses: mosip/kattu/.github/workflows/maven-build.yml@master
with:
SERVICE_LOCATION: ./admintest
BUILD_ARTIFACT: admintest
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-admintest-local:
needs: build-maven-admintest
runs-on: ubuntu-latest
env:
NAMESPACE: ${{ secrets.dev_namespace_docker_hub }}
SERVICE_NAME: admintest
SERVICE_LOCATION: admintest
BUILD_ARTIFACT: admintest-local
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
ref: ${{ github.ref }}
java-version: 11
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: Setup the settings file for ossrh server
run: echo "<settings> <servers> <server> <id>ossrh</id> <username>${{secrets.ossrh_user}}</username> <password>${{secrets.ossrh_secret}}</password> </server> </servers> <profiles> <profile> <id>ossrh</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <gpg.executable>gpg2</gpg.executable> <gpg.passphrase>${{secrets.gpg_secret}}</gpg.passphrase> </properties> </profile> <profile> <id>allow-snapshots</id> <activation><activeByDefault>true</activeByDefault></activation> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases><enabled>false</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> <repository> <id>releases-repo</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>false</enabled></snapshots> </repository> </repositories> </profile> <profile> <id>sonar</id> <properties> <sonar.sources>.</sonar.sources> <sonar.host.url>https://sonarcloud.io</sonar.host.url> </properties> <activation> <activeByDefault>false</activeByDefault> </activation> </profile> </profiles> </settings>" > $GITHUB_WORKSPACE/settings.xml

- name: Build residentuitests with Maven
run: |
cd ${{ env.SERVICE_LOCATION}}
mvn -U -B package -Dmaven.wagon.http.retryHandler.count=2 --file pom.xml -s $GITHUB_WORKSPACE/settings.xml


- name: Ready the springboot artifacts
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
run: |
## FIND JARS & COPY ONLY EXECUTABLE JARs STORED UNDER TARGET DIRECTORY
find ${{ env.SERVICE_LOCATION }} -path '*/target/*' -name '*.jar' -type f -exec zip ${{ env.BUILD_ARTIFACT }}.zip {} +

- name: Upload the springboot jars
if: ${{ !contains(github.ref, 'master') || !contains(github.ref, 'main') }}
uses: actions/upload-artifact@v3
with:
name: ${{ env.BUILD_ARTIFACT }}
path: ${{ env.BUILD_ARTIFACT }}.zip

- uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,author,commit,workflow,job # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: failure() # Pick up events even if the job fails or is canceled.


build-docker-admintest:
needs: build-admintest-local
strategy:
matrix:
include:
- SERVICE_LOCATION: 'admintest'
SERVICE_NAME: 'admintest'
BUILD_ARTIFACT: 'admintest-local'
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-admintest:
needs: build-admintest-local
if: "${{ github.event_name != 'pull_request' }}"
uses: mosip/kattu/.github/workflows/maven-sonar-analysis.yml@master
with:
SERVICE_LOCATION: admintest
SONAR_URL: 'https://sonarcloud.io'
PROJECT_KEY: 'mosip_admintest'
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 }}
Loading
Loading