Skip to content

Bump the pip group across 6 directories with 2 updates #61

Bump the pip group across 6 directories with 2 updates

Bump the pip group across 6 directories with 2 updates #61

name: scrape_task_producer
on:
push:
paths:
- bases/bot_detector/scrape_task_producer/**
- components/bot_detector/database/**
- components/bot_detector/kafka/**
- components/bot_detector/structs/**
- components/bot_detector/logfmt/**
- projects/scrape_task_producer/**
workflow_dispatch:
inputs:
environment:
description: "Deploy environment"
required: true
default: "test"
type: choice
options:
- test
- deploy to prd
jobs:
common:
uses: ./.github/workflows/_common.yml
with:
project_dir: projects/scrape_task_producer
build:
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'deploy to prd' }}
uses: ./.github/workflows/_build.yml
needs: common
with:
registry: quay.io/bot_detector/scrape_task_producer
environment: ${{ (github.event.inputs.environment == 'deploy to prd' && 'prd') }}
BUILD_ARGS: "--target=production"
DOCKERFILE: ./projects/scrape_task_producer/Dockerfile
secrets:
QUAY_REGISTERY_PASSWORD: ${{ secrets.QUAY_REGISTERY_PASSWORD }}
deploy:
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'deploy to prd' }}
uses: ./.github/workflows/_deploy.yml
needs: build
with:
registry: quay.io/bot_detector/scrape_task_producer
value_file: scrape-task-producer/deployment.yaml
secrets:
HETZNER_ACTIONS_RUNNER_TOKEN: ${{ secrets.HETZNER_ACTIONS_RUNNER_TOKEN }}