File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CEQR - Schools
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ dataset :
6+ description : " Dataset to build"
7+ type : choice
8+ required : true
9+ options :
10+ - sca_capacity_projects
11+ - sca_e_projections_by_boro
12+ - sca_e_projections_by_sd
13+ - ceqr_school_buildings
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-22.04
18+ defaults :
19+ run :
20+ shell : bash
21+ working-directory : products/ceqr/ceqr_app
22+ container :
23+ image : nycplanning/build-geosupport:${{ inputs.image_tag || 'latest' }}
24+ steps :
25+ - uses : actions/checkout@v4
26+
27+ - name : Load Secrets
28+ uses : 1password/load-secrets-action@v1
29+ with :
30+ export-env : true
31+ env :
32+ OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
33+ BUILD_ENGINE_SERVER : " op://Data Engineering/EDM_DATA/server_url"
34+ AWS_S3_ENDPOINT : " op://Data Engineering/DO_keys/AWS_S3_ENDPOINT"
35+ AWS_SECRET_ACCESS_KEY : " op://Data Engineering/DO_keys/AWS_SECRET_ACCESS_KEY"
36+ AWS_ACCESS_KEY_ID : " op://Data Engineering/DO_keys/AWS_ACCESS_KEY_ID"
37+
38+ - name : Setup build environment
39+ working-directory : ./
40+ run : ./bash/docker_container_setup.sh
41+
42+ - name : Run recipe
43+ run : |
44+ export RECIPE_EGNINE=$BUILD_ENGINE_SERVER/recipe
45+ export EDM_DATA=$BUILD_ENGINE_SERVER/defaultdb
46+ ./ceqr run recipe ${{ inputs.dataset }}
You can’t perform that action at this time.
0 commit comments