Modify password cracking #1801
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
- uses: actions/checkout@v2 | |
- name: Pull docker images for cache | |
run: | | |
docker pull ${{ matrix.docker_base_image }} | |
docker pull us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-api-server-dev:latest | |
docker pull us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-server-dev:latest | |
docker pull us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker-dev:latest | |
- name: Build Turbinia API server Docker image | |
run: docker build --cache-from=${{ matrix.docker_base_image }},us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-api-server-dev:latest -t turbinia-api-server-dev -f docker/api_server/Dockerfile . | |
- name: Build Turbinia server Docker image | |
run: docker build --cache-from=${{ matrix.docker_base_image }},us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-server-dev:latest -t turbinia-server-dev -f docker/server/Dockerfile . | |
- name: Build Turbinia worker Docker image | |
run: docker build --build-arg PPA_TRACK=${{ matrix.gift_ppa_track }} --cache-from=${{ matrix.docker_base_image }},us-docker.pkg.dev/osdfir-registry/turbinia/release/turbinia-worker-dev:latest -t turbinia-worker-dev -f docker/worker/Dockerfile . | |
- 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 |