mirror of
https://github.com/valitydev/swag-organizations.git
synced 2024-11-06 01:55:22 +00:00
[TD-152] Bump proto
This commit is contained in:
parent
8707f87941
commit
46611b4cb3
10
.github/workflows/build.yml
vendored
Normal file
10
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
name: Maven Build Artifact
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
uses: valitydev/base-workflow/.github/workflows/maven-swag-build.yml@v1
|
18
.github/workflows/deploy.yml
vendored
Normal file
18
.github/workflows/deploy.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Maven Deploy Artifact
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
- 'main'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
uses: valitydev/base-workflow/.github/workflows/maven-swag-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 }}
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
mm-webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
|||||||
[submodule "build-utils"]
|
|
||||||
path = build-utils
|
|
||||||
url = git@github.com:rbkmoney/build_utils
|
|
58
Jenkinsfile
vendored
58
Jenkinsfile
vendored
@ -1,58 +0,0 @@
|
|||||||
#!groovy
|
|
||||||
// -*- mode: groovy -*-
|
|
||||||
|
|
||||||
build('swag-organizations', 'docker-host') {
|
|
||||||
checkoutRepo()
|
|
||||||
loadBuildUtils('build-utils')
|
|
||||||
|
|
||||||
def pipeDefault
|
|
||||||
def withWsCache
|
|
||||||
def gitUtils
|
|
||||||
runStage('load pipeline') {
|
|
||||||
env.JENKINS_LIB = "build-utils/jenkins_lib"
|
|
||||||
pipeDefault = load("${env.JENKINS_LIB}/pipeDefault.groovy")
|
|
||||||
withWsCache = load("${env.JENKINS_LIB}/withWsCache.groovy")
|
|
||||||
gitUtils = load("${env.JENKINS_LIB}/gitUtils.groovy")
|
|
||||||
}
|
|
||||||
|
|
||||||
pipeDefault() {
|
|
||||||
|
|
||||||
runStage('install-deps') {
|
|
||||||
withWsCache("node_modules") {
|
|
||||||
sh 'make wc_install'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
runStage('validate-spec') {
|
|
||||||
sh 'make wc_validate'
|
|
||||||
}
|
|
||||||
|
|
||||||
runStage('bundle') {
|
|
||||||
sh 'make wc_build'
|
|
||||||
}
|
|
||||||
|
|
||||||
// Java
|
|
||||||
runStage('build java client & server') {
|
|
||||||
withCredentials([[$class: 'FileBinding', credentialsId: 'java-maven-settings.xml', variable: 'SETTINGS_XML']]) {
|
|
||||||
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('epic/')) {
|
|
||||||
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.deploy_client'
|
|
||||||
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.deploy_server'
|
|
||||||
} else {
|
|
||||||
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.compile_client'
|
|
||||||
sh 'make SETTINGS_XML=${SETTINGS_XML} BRANCH_NAME=${BRANCH_NAME} java.swag.compile_server'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Release
|
|
||||||
if (env.BRANCH_NAME == 'master' || env.BRANCH_NAME.startsWith('epic/')) {
|
|
||||||
runStage('publish release bundle') {
|
|
||||||
dir("web_deploy") {
|
|
||||||
gitUtils.push(commitMsg: "Generated from commit: $COMMIT_ID \n\non $BRANCH_NAME in $RBK_REPO_URL\n\nChanges:\n$COMMIT_MSG",
|
|
||||||
files: "*", branch: "release/$BRANCH_NAME", orphan: true)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
Subproject commit ccf618949b95590d572157b248289428abeaa2e5
|
|
8
pom.xml
8
pom.xml
@ -5,9 +5,9 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>com.rbkmoney</groupId>
|
<groupId>dev.vality</groupId>
|
||||||
<artifactId>parent</artifactId>
|
<artifactId>library-parent-pom</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.2</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>swag-organizations</artifactId>
|
<artifactId>swag-organizations</artifactId>
|
||||||
@ -19,7 +19,7 @@
|
|||||||
</description>
|
</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<default.package>com.rbkmoney.swag.organizations</default.package>
|
<default.package>dev.vality.swag.organizations</default.package>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven-plugin-version>1.0.0</maven-plugin-version>
|
<maven-plugin-version>1.0.0</maven-plugin-version>
|
||||||
<java.version>11</java.version>
|
<java.version>11</java.version>
|
||||||
|
Loading…
Reference in New Issue
Block a user