#!/bin/bash
set -e

source ./config.sh
echo "Using project: ${PROJECT_ID} in region: ${REGION}"
# Run in sequence
#echo "Step 1: Setting up GCP resources..."
#./1-initial-setup.sh

echo "Step 2: Building and pushing container..."
./2-build-push-container.sh

echo "Step 3: Creating Cloud Run job..."
./3-create-cloud-run-job.sh

echo "Step 4: Creating test app"
./4-test.sh

echo "Step 5: Viewing test logs"
./5-logs.sh
