Skip to content

Filter rides to include only those with 'complete' status in videowal… #1502

Filter rides to include only those with 'complete' status in videowal…

Filter rides to include only those with 'complete' status in videowal… #1502

Workflow file for this run

name: Build & Publish Docker Images
on:
push:
branches:
- v2
jobs:
#
# # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # #
api-server:
name: server (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=server" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
- name: List directory
run: ls -la
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-switch:
name: switch (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=switch" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-alerts:
name: sync-alerts (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-alerts" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-facilities:
name: sync-facilities (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-facilities" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-gtfs:
name: sync-gtfs (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-gtfs" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-locations:
name: sync-locations (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-locations" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-metrics:
name: sync-metrics (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-metrics" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-stores:
name: sync-stores (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-stores" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}
# # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # # # # # # # # #
api-sync-vehicles:
name: sync-vehicles (NodeJS)
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set module key
run: |
echo "MODULE_KEY=sync-vehicles" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@main
- name: Cache turbo build setup
uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Login to GitHub Container Registry
uses: docker/login-action@master
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@master
with:
push: true
context: .
file: ./apps/${{ env.MODULE_KEY }}/Dockerfile
tags: ghcr.io/carrismetropolitana/api-${{ env.MODULE_KEY }}:${{ github.ref_name }}