Skip to content

Commit

Permalink
Merge pull request #3550 from GSA-TTS/main
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm authored Mar 22, 2024
2 parents 453bfe2 + 336286f commit 5837c30
Show file tree
Hide file tree
Showing 64 changed files with 92,025 additions and 213 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/materialize-views.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Run the Materialize Views Django Function
on:
workflow_dispatch:
inputs:
environment:
required: true
type: choice
description: The environment the workflow should run on.
options:
- dev
- staging
- preview
- production

jobs:
dispatch-materialize-views:
if: ${{ github.event.inputs.environment != '' }}
name: Run Materialize Views on ${{ inputs.environment }}
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
env:
space: ${{ inputs.environment }}
steps:
- name: Run Command
uses: cloud-gov/cg-cli-tools@main
with:
cf_username: ${{ secrets.CF_USERNAME }}
cf_password: ${{ secrets.CF_PASSWORD }}
cf_org: gsa-tts-oros-fac
cf_space: ${{ env.space }}
command: cf run-task gsa-fac -k 2G -m 2G --name dispatch_create_materialized_views --command "python manage.py materialized_views --create"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 5837c30

Please sign in to comment.