This action initializes a Traffic Vault database in a locally running PostgresQL instance. It creates the traffic_vault
user and database.
exit-code
1 if the database initialized successfully.
jobs: tests: runs-on: ubuntu-latest services: postgres: image: postgres:11.9 env: POSTGRES_USER: traffic_ops POSTGRES_PASSWORD: twelve POSTGRES_DB: traaffic_ops ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - name: Checkout uses: actions/checkout@master - name: ./.github/actions/tvdb-init