Skip to content

Commit

Permalink
swtich to earthly
Browse files Browse the repository at this point in the history
  • Loading branch information
idodod committed Nov 25, 2023
1 parent 075b661 commit bf9308e
Show file tree
Hide file tree
Showing 8 changed files with 296 additions and 349 deletions.
22 changes: 22 additions & 0 deletions .arg
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
DOCKER_REPO=namely
LATEST=false
DEBIAN_VERSION=bullseye
GO_VERSION=1.19
GRPC_VERSION=1.51
GRPC_JAVA_VERSION=1.51
PROTOBUF_JS_VERSION=v3.21.2
UBER_PROTOTOOL_VERSION=1.10.0
GRPC_WEB_VERSION=1.4.2
GRPC_GATEWAY_VERSION=v2.0.1
SCALA_PB_VERSION=0.11.0
MYPY_VERSION=3.4.0
NODE_VERSION=18
NODE_GRPC_TOOLS_NODE_PROTOC_TS_VERSION=5.3.2
NODE_GRPC_TOOLS_VERSION=1.12.3
NODE_PROTOC_GEN_GRPC_WEB_VERSION=1.4.1
TS_PROTO_VERSION=1.138.0
GO_ENVOYPROXY_PGV_VERSION=0.9.1
GO_MWITKOW_GPV_VERSION=0.3.2
GO_PROTOC_GEN_GO_VERSION=v1.28.1
GO_PROTOC_GEN_GO_GRPC_VERSION=v1.2.0
BUILD_VERSION=local
24 changes: 6 additions & 18 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,19 @@ jobs:

- uses: nelonoel/[email protected]

- name: Docker Login
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
run: docker login --username "$DOCKERHUB_USERNAME" --password "$DOCKERHUB_TOKEN"

- name: Create Short Commit Sha
id: sha_short
if: success()
run: echo ::set-output name=SHA_SHORT::$(git rev-parse --short HEAD)

- uses: earthly/actions/setup-earthly@v1
with:
version: v0.7.21

- name: Build
if: success()
env:
VERSION: ${{ steps.sha_short.outputs.SHA_SHORT }}
run: make build
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }}
run: earthly --org earthly-technologies --sat ido-sat --no-output --ci +all --VERSION=$VERSION

- name: Test
if: success()
env:
CONTAINER: docker.io/namely/protoc-all:${{ steps.sha_short.outputs.SHA_SHORT }}
run: make test

- name: Test Gateway
if: success()
env:
CONTAINER: docker.io/namely/gen-grpc-gateway:${{ steps.sha_short.outputs.SHA_SHORT }}
run: make test-gwy
225 changes: 0 additions & 225 deletions Dockerfile

This file was deleted.

Loading

0 comments on commit bf9308e

Please sign in to comment.