Skip to content

Commit

Permalink
Merge pull request #3 from pegasystems/updatelibs
Browse files Browse the repository at this point in the history
update dependencies
  • Loading branch information
malmanzor authored May 3, 2023
2 parents 3d88e5f + abc1aa9 commit 98a0d99
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 32 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Deploy

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

env:
IMAGE_NAME: pegasystems/mock-grpc-service:0.0.1


jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Build the library
run: ./gradlew installDist
- name: Build the Docker image
run: docker build -t $IMAGE_NAME .
- name: Login To Docker Hub
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'pegasystems/docker-mock-grpc-service' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push to DockerHub
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'pegasystems/docker-mock-grpc-service' }}
run: docker push $IMAGE_NAME

26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jre-alpine
FROM eclipse-temurin:8u372-b07-jre

EXPOSE 8980

Expand All @@ -7,7 +7,7 @@ ADD scripts/server /server

ADD build /build

RUN GRPC_HEALTH_PROBE_VERSION=v0.3.1 && \
RUN GRPC_HEALTH_PROBE_VERSION=v0.4.18 && \
wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 && \
chmod +x /bin/grpc_health_probe

8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!

// Feel free to delete the comment at the next line. It is just for safely
// updating the version in our release process.
def grpcVersion = '1.30.1' // CURRENT_GRPC_VERSION
def protobufVersion = '3.12.0'
def grpcVersion = '1.54.1' // CURRENT_GRPC_VERSION
def protobufVersion = '3.22.3'
def protocVersion = protobufVersion

dependencies {
Expand Down

0 comments on commit 98a0d99

Please sign in to comment.