From 2359835ff2a8049e54012ece4c192c09ac26b5bb Mon Sep 17 00:00:00 2001 From: Egor Cherniak Date: Thu, 27 Jan 2022 12:04:40 +0300 Subject: [PATCH] Build impl + renovate --- .github/workflows/build.yml | 10 ++++++++++ .github/workflows/deploy.yml | 16 ++++++++++++++++ .gitmodules | 4 ---- Jenkinsfile | 13 ------------- README.md | 2 -- build_utils | 1 - renovate.json | 18 ++++++++++++++++++ 7 files changed, 44 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/deploy.yml delete mode 100644 .gitmodules delete mode 100644 Jenkinsfile delete mode 160000 build_utils create mode 100644 renovate.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7381159 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,10 @@ +name: Maven Build Artifact + +on: + pull_request: + branches: + - '*' + +jobs: + build: + uses: valitydev/base-workflow/.github/workflows/maven-library-build.yml@v1 \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..df9c2f4 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,16 @@ +name: Maven Deploy Artifact + +on: + push: + branches: + - 'master' + - 'main' + +jobs: + deploy: + uses: valitydev/base-workflow/.github/workflows/maven-library-deploy.yml@v1 + secrets: + server-username: ${{ secrets.OSSRH_USERNAME }} + server-password: ${{ secrets.OSSRH_TOKEN }} + deploy-secret-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} + deploy-secret-key-password: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \ No newline at end of file diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index ca5a761..0000000 --- a/.gitmodules +++ /dev/null @@ -1,4 +0,0 @@ -[submodule "build_utils"] - path = build_utils - url = git@github.com:rbkmoney/build_utils.git - branch = master diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 8051253..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,13 +0,0 @@ -#!groovy -build('sink-common-lib', 'docker-host') { - checkoutRepo() - loadBuildUtils() - - def javaLibPipeline - runStage('load JavaLib pipeline') { - javaLibPipeline = load("build_utils/jenkins_lib/pipeJavaLib.groovy") - } - - def buildImageTag = "fcf116dd775cc2e91bffb6a36835754e3f2d5321" - javaLibPipeline(buildImageTag) -} diff --git a/README.md b/README.md index d10e455..062a242 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # sink-common-lib -[![Build Status](http://ci.rbkmoney.com/buildStatus/icon?job=rbkmoney_private/sink-common-lib/master)](http://ci.rbkmoney.com/job/rbkmoney_private/job/sink-common-lib/job/master/) - Библиотека для переиспользования вздаимодействия с протоколами, обрабатываемые machinegun'ном: - eventsink (hellgate) - sinkievent (machinegun) diff --git a/build_utils b/build_utils deleted file mode 160000 index e89b885..0000000 --- a/build_utils +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e89b885839df8013df804d48ff24dff10c9c451e diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..a125a31 --- /dev/null +++ b/renovate.json @@ -0,0 +1,18 @@ +{ + "extends": [ + "config:base" + ], + "packageRules": [ + { + "matchPackagePatterns": [ + "*" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], + "groupName": "all non-major dependencies", + "groupSlug": "all-minor-patch" + } + ] +}