From e8c2f606989fb9ea3038fac5987df4104d0392af Mon Sep 17 00:00:00 2001 From: guillermo Date: Fri, 17 Dec 2021 16:20:51 +0000 Subject: [PATCH 1/2] fix: Updates version number reference --- build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml b/build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml index 86660150..245d536f 100644 --- a/build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml +++ b/build/azDevOps/azure/azure-pipelines-javaspring-k8s.yml @@ -90,6 +90,8 @@ variables: value: 0 - name: version_patch value: 0 + - name: version_number + value: $(version_major).$(version_minor).$(version_patch) # PR / Branch vars - name: source_branch_ref @@ -813,8 +815,8 @@ stages: script: | git config user.name "BuildService" git config user.email "builder@${COMPANY}.com" - git tag -a v${BUILD_BUILDNUMBER} -m "Release created by Azure DevOps" - git push origin v${BUILD_BUILDNUMBER} + git tag -a v${VERSION_NUMBER} -m "Release created by Azure DevOps" + git push origin v${VERSION_NUMBER} env: COMPANY: $(company) @@ -824,4 +826,4 @@ stages: inputs: gitHubConnection: $(github_release_service_connection) repositoryName: $(github_org)/$(self_repo) - tag: $(Build.BuildNumber) + tag: $(version_number) From 3e0bde3ad5e8f73cc05b702db69459c84236e4c9 Mon Sep 17 00:00:00 2001 From: guillermo Date: Fri, 17 Dec 2021 16:26:03 +0000 Subject: [PATCH 2/2] add .snyk ignore files to all projects --- api-tests-karate/.snyk | 15 +++++++++++++++ api-tests/.snyk | 15 +++++++++++++++ java/.snyk | 15 +++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 api-tests-karate/.snyk create mode 100644 api-tests/.snyk create mode 100644 java/.snyk diff --git a/api-tests-karate/.snyk b/api-tests-karate/.snyk new file mode 100644 index 00000000..7d6f94f3 --- /dev/null +++ b/api-tests-karate/.snyk @@ -0,0 +1,15 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.0 +ignore: + snyk:lic:maven:ch.qos.logback:logback-classic:EPL-1.0_OR_LGPL-2.1: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' + snyk:lic:maven:ch.qos.logback:logback-core:EPL-1.0_OR_LGPL-2.1: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' + SNYK:LIC:MAVEN:JUNIT:JUNIT:EPL-1.0: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' \ No newline at end of file diff --git a/api-tests/.snyk b/api-tests/.snyk new file mode 100644 index 00000000..7d6f94f3 --- /dev/null +++ b/api-tests/.snyk @@ -0,0 +1,15 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.0 +ignore: + snyk:lic:maven:ch.qos.logback:logback-classic:EPL-1.0_OR_LGPL-2.1: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' + snyk:lic:maven:ch.qos.logback:logback-core:EPL-1.0_OR_LGPL-2.1: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' + SNYK:LIC:MAVEN:JUNIT:JUNIT:EPL-1.0: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' \ No newline at end of file diff --git a/java/.snyk b/java/.snyk new file mode 100644 index 00000000..7d6f94f3 --- /dev/null +++ b/java/.snyk @@ -0,0 +1,15 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.14.0 +ignore: + snyk:lic:maven:ch.qos.logback:logback-classic:EPL-1.0_OR_LGPL-2.1: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' + snyk:lic:maven:ch.qos.logback:logback-core:EPL-1.0_OR_LGPL-2.1: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' + SNYK:LIC:MAVEN:JUNIT:JUNIT:EPL-1.0: + - '*': + reason: Use of the library is consistent with commercial use as we are not making changes, only consuming it as part of commercial work. + expires: '2030-01-01T00:00:00.000Z' \ No newline at end of file