Skip to content

Upgrade Golang Dependencies #2468

Upgrade Golang Dependencies

Upgrade Golang Dependencies #2468

Workflow file for this run

# MIT License
#
# Copyright (c) 2021 Mert Bora Alper and EASE lab
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
name: Invoker Tests
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GOOS: linux
GO111MODULE: on
jobs:
integration-tests:
name: Invoker Integration Tests
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
version: "23.4"
- name: Build invoker
working-directory: tools/invoker
run: |
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
chmod +x $(go env GOPATH)/bin/*
export PATH="$PATH:$(go env GOPATH)/bin"
make invoker
- name: docker-compose up
working-directory: benchmarks/chained-function-serving
run: |
set -x
docker-compose -f ./compose_yamls/docker-compose.yml up &> log_file &
sleep 15
- name: Invoke
working-directory: tools/invoker
run: |
set -x
echo '[ { "hostname": "localhost" } ]' > endpoints.json
./invoker -port 3031 -dbg
cat rps*lat.csv
- name: Show docker-compose log
run: cat benchmarks/chained-function-serving/log_file