From 33b77ea9c6aadee11e3ba3b7d2683d0b0550f0e4 Mon Sep 17 00:00:00 2001 From: Nandhukumar Date: Thu, 29 Sep 2022 10:00:41 +0530 Subject: [PATCH 1/4] change db queries for masterdata --- automationtests/src/main/java/io/mosip/dbaccess/DBManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java b/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java index 9f2dc1ff543..9b7bd262998 100644 --- a/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java +++ b/automationtests/src/main/java/io/mosip/dbaccess/DBManager.java @@ -211,6 +211,7 @@ public void execute(Connection connection) throws SQLException { statement.addBatch("delete from master.template where template_typ_code IN(select code from master.template_type where code='Test-info-Template-auto')"); statement.addBatch( "update master.template set is_active='true', is_deleted='false' where id='1101'"); + statement.addBatch("delete from master.template where template_typ_code IN(select code from master.template_type where code='Test-info-Template-auto')"); statement.addBatch("delete from master.template_type where code='Test-info-Template-auto'"); statement.addBatch( "update master.location set is_active='true', is_deleted='false' where code='10114'"); From a3081bfc531d6db72315be8d2fd332761461ea73 Mon Sep 17 00:00:00 2001 From: Keshav Mishra Date: Fri, 7 Oct 2022 11:42:16 +0530 Subject: [PATCH 2/4] Update README.md From 9ce99ad20eaa4c56d4570aa1619edd73cb8f2b2b Mon Sep 17 00:00:00 2001 From: Mohan E Date: Fri, 14 Apr 2023 18:03:01 +0530 Subject: [PATCH 3/4] [DSD-2478]Updated the github workflow files. (#751) * [DSD-2478]Updated the github workflow files. * Delete release_trigger.yml --------- Co-authored-by: Keshav Mishra --- .github/workflows/release_changes.yml | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/release_changes.yml diff --git a/.github/workflows/release_changes.yml b/.github/workflows/release_changes.yml new file mode 100644 index 00000000000..976a7b6a530 --- /dev/null +++ b/.github/workflows/release_changes.yml @@ -0,0 +1,54 @@ +name: Release/pre-release Preparation. + +on: + workflow_dispatch: + inputs: + message: + description: 'Triggered for release or pe-release' + required: false + default: 'Release Preparation' + releaseTags: + description: 'tag to update' + required: true + snapshotTags: + description: 'tag to be replaced' + required: true + base: + description: 'base branch for PR' + required: true +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup branch and env + run: | + # Strip git ref prefix from version + echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV + echo "GPG_TTY=$(tty)" >> $GITHUB_ENV + - name: Mannualy changing the pom versions + run: find . -type f -name "*pom.xml" -print0 | xargs -0 sed -i "s/${{ github.event.inputs.snapshotTags }}/${{ github.event.inputs.releaseTags }}/g" + + - name: Updating the Release URL in POM + run: | + cd .github/workflows + sed -i 's/OSSRH_SNAPSHOT_URL/RELEASE_URL/g' push_trigger.yml + - name: Updating libs-snapshot-local to libs-release local for artifactory URL's. + run: find . -type f -name "*Dockerfile" -print0 | xargs -0 sed -i "s/libs-snapshot-local/libs-release-local/g" + + - name: removing -DskipTests + run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-DskipTests"//g" + + # - name: removing --Dgpg.skip + # run: find . -type f -name "*push_trigger.yml" -print0 | xargs -0 sed -i "s/"-Dgpg.skip"//g" + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + with: + token: ${{ secrets.ACTION_PAT }} + commit-message: Updated Pom versions for release changes + title: Release changes + body: Automated PR for ${{ github.event.inputs.releaseTags }} release. + branch: release-branch + delete-branch: true + base: ${{ github.event.inputs.base }} \ No newline at end of file From f4544740e9347fa50bc48213689e23bcc078ec9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 14 Apr 2023 12:33:25 +0000 Subject: [PATCH 4/4] Bump zip4j from 1.3.2 to 2.11.3 in /automationtests Bumps [zip4j](https://github.com/srikanth-lingala/zip4j) from 1.3.2 to 2.11.3. - [Release notes](https://github.com/srikanth-lingala/zip4j/releases) - [Commits](https://github.com/srikanth-lingala/zip4j/commits/v2.11.3) --- updated-dependencies: - dependency-name: net.lingala.zip4j:zip4j dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- automationtests/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automationtests/pom.xml b/automationtests/pom.xml index 16a3583f8c8..65caa007356 100644 --- a/automationtests/pom.xml +++ b/automationtests/pom.xml @@ -355,7 +355,7 @@ net.lingala.zip4j zip4j - 1.3.2 + 2.11.3 com.ibm.icu