Skip to content

Commit

Permalink
Merge pull request #1247 from GSA/scale
Browse files Browse the repository at this point in the history
auto scale catalog web
  • Loading branch information
FuhuXia committed Feb 7, 2024
2 parents 807d521 + 8aa7ab1 commit fb671f9
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/scale_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,14 @@ name: 7 - Scale catalog-web

on:
workflow_dispatch:
inputs:
environ:
description: 'Environment:'
required: true
type: choice
options:
- development
- staging
- prod
schedule:
- cron: '*/5 * * * *'

jobs:
scale-catalog-web:
name: scale ${{inputs.environ}} catalog-web
uses: gsa/data.gov/.github/workflows/app-restart-template.yml@scale
scale-prod-web:
name: scale prod catalog-web
uses: gsa/data.gov/.github/workflows/scale-web-template.yml@main
with:
environ: ${{inputs.environ}}
environ: prod
app_names: "{\"include\":[{\"app\":\"catalog-web\"},]}"
secrets: inherit

0 comments on commit fb671f9

Please sign in to comment.