mirror of
https://github.com/valitydev/wb-list-manager.git
synced 2024-11-06 01:35:17 +00:00
bump actions (#29)
This commit is contained in:
parent
e9b6d5b7be
commit
e32e78ca1b
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Build Artifact
|
||||
name: Maven Build Artifact
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@ -7,13 +7,4 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout GitHub Action Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run Build Java
|
||||
uses: valitydev/action-jdk-build@v0.0.7
|
||||
uses: valitydev/java-workflow/.github/workflows/maven-service-build.yml@v1
|
||||
|
37
.github/workflows/deploy.yml
vendored
37
.github/workflows/deploy.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Deploy Docker Image
|
||||
name: Maven Deploy Artifact
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -6,34 +6,9 @@ on:
|
||||
- 'master'
|
||||
- 'main'
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout GitHub Action JDK Build Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Checkout GitHub Action Deploy Docker Repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: valitydev/action-deploy-docker
|
||||
ref: v1.0.16
|
||||
path: .github/actions/action-deploy-docker
|
||||
|
||||
- name: Run Build Java
|
||||
uses: valitydev/action-jdk-build@v0.0.7
|
||||
|
||||
- name: Deploy image
|
||||
uses: ./.github/actions/action-deploy-docker
|
||||
with:
|
||||
registry-username: ${{ github.actor }}
|
||||
registry-access-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
|
||||
deploy:
|
||||
uses: valitydev/java-workflow/.github/workflows/maven-service-deploy.yml@v1
|
||||
secrets:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
mm-webhook-url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
|
||||
|
24
pom.xml
24
pom.xml
@ -21,8 +21,6 @@
|
||||
<server.port>8022</server.port>
|
||||
<management.port>8023</management.port>
|
||||
<exposed.ports>${server.port} ${management.port}</exposed.ports>
|
||||
<dockerfile.base.service.tag>c0612d6052ac049496b72a23a04acb142035f249</dockerfile.base.service.tag>
|
||||
<dockerfile.registry>dr2.rbkmoney.com</dockerfile.registry>
|
||||
<shared.resources.version>0.3.7</shared.resources.version>
|
||||
<wb.list.proto.version>1.44-5dbd6d4</wb.list.proto.version>
|
||||
<testcontainers.annotations.version>1.4.3</testcontainers.annotations.version>
|
||||
@ -154,12 +152,12 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-remote-resources-plugin</artifactId>
|
||||
<version>1.6.0</version>
|
||||
<version>3.0.0</version>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.shared</groupId>
|
||||
<artifactId>maven-filtering</artifactId>
|
||||
<version>1.3</version>
|
||||
<version>3.3.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<configuration>
|
||||
@ -177,24 +175,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- Sonar-JaCoCo integration plugin -->
|
||||
<plugin>
|
||||
<groupId>org.jacoco</groupId>
|
||||
<artifactId>jacoco-maven-plugin</artifactId>
|
||||
<version>0.8.7</version>
|
||||
<configuration>
|
||||
<destFile>${sonar.jacoco.reportPath}</destFile>
|
||||
<append>true</append>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>agent</id>
|
||||
<goals>
|
||||
<goal>prepare-agent</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
@ -1,20 +1,36 @@
|
||||
info:
|
||||
version: '@project.version@'
|
||||
stage: dev
|
||||
|
||||
server:
|
||||
port: '@server.port@'
|
||||
rest:
|
||||
port: '@server.rest.port@'
|
||||
endpoint: ch-manager
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: '@project.name@'
|
||||
output:
|
||||
ansi:
|
||||
enabled: always
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
kafka:
|
||||
bootstrap-servers: "localhost:29092"
|
||||
streams:
|
||||
application-id: wb-list
|
||||
client-id: wb-list-client
|
||||
|
||||
management:
|
||||
security:
|
||||
flag: false
|
||||
server:
|
||||
port: '@management.port@'
|
||||
metrics:
|
||||
export:
|
||||
statsd:
|
||||
flavor: etsy
|
||||
enabled: false
|
||||
prometheus:
|
||||
enabled: false
|
||||
tags:
|
||||
application: wb-list-manager
|
||||
endpoint:
|
||||
health:
|
||||
show-details: always
|
||||
@ -26,17 +42,7 @@ management:
|
||||
web:
|
||||
exposure:
|
||||
include: health,info,prometheus
|
||||
spring:
|
||||
application:
|
||||
name: '@project.name@'
|
||||
output:
|
||||
ansi:
|
||||
enabled: always
|
||||
kafka:
|
||||
bootstrap-servers: "localhost:29092"
|
||||
streams:
|
||||
application-id: wb-list
|
||||
client-id: wb-list-client
|
||||
|
||||
riak-config:
|
||||
address: localhost
|
||||
port: 8087
|
||||
|
Loading…
Reference in New Issue
Block a user