Skip to content

add workaround for pinfo warning output (#1418) #215

add workaround for pinfo warning output (#1418)

add workaround for pinfo warning output (#1418) #215

Workflow file for this run

name: Turbinia E2E Test
on: [push, pull_request]
jobs:
e2e-test:
name: Run local stack e2e test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- docker_base_image: "ubuntu:22.04"
gift_ppa_track: "staging"
- docker_base_image: "ubuntu:22.04"
gift_ppa_track: "stable"
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Turbinia API server Docker image
uses: docker/build-push-action@v5
with:
file: docker/api_server/Dockerfile
context: .
load: true
tags: turbinia-api-server-dev
cache-from: type=gha,scope=api-server
cache-to: type=gha,mode=max,scope=api-server
- name: Build Turbinia Server Docker image
uses: docker/build-push-action@v5
with:
file: docker/server/Dockerfile
context: .
load: true
tags: turbinia-server-dev
cache-from: type=gha,scope=server
cache-to: type=gha,mode=max,scope=server
- name: Buid Turbinia Worker Docker image
uses: docker/build-push-action@v5
with:
file: docker/worker/Dockerfile
context: .
build-args: |
"PPA_TRACK=${{ matrix.gift_ppa_track }}"
load: true
tags: turbinia-worker-dev
cache-from: type=gha,scope=worker
cache-to: type=gha,mode=max,scope=worker
- name: Prepare Turbinia configuration
run: |
mkdir ./conf
sed -f ./docker/local/local-config.sed ./turbinia/config/turbinia_config_tmpl.py > ./conf/turbinia.conf
- name: Display Turbinia configuration
run: |
cat ./conf/turbinia.conf
- name: Patch docker-compose config to use locally build images
run: |
sed -i -e 's/#image: "t/image: "t/g' -e 's/image: "u/#image: "u/g' ./docker/local/docker-compose.yml
- name: Run E2E test
run: |
chmod +x ./turbinia/e2e/e2e-local.sh
./turbinia/e2e/e2e-local.sh