diff --git a/.github/workflows/cdbg_build.yml b/.github/workflows/cdbg_build.yml index 1058d13850..9ea05864d7 100644 --- a/.github/workflows/cdbg_build.yml +++ b/.github/workflows/cdbg_build.yml @@ -78,4 +78,4 @@ jobs: run: ./bash/export.sh - name: Upload - run: python3 -m dcpy.connectors.edm.publishing upload --product db-cdbg --acl public-read + run: dcpy lifecycle builds artifacts builds upload --product db-cdbg --acl public-read diff --git a/.github/workflows/ceqr_build.yml b/.github/workflows/ceqr_build.yml index 81b67c29bc..6e470012c6 100644 --- a/.github/workflows/ceqr_build.yml +++ b/.github/workflows/ceqr_build.yml @@ -83,5 +83,4 @@ jobs: python3 -m build_scripts.export - name: Upload - run: | - python3 -m dcpy.connectors.edm.publishing upload --product db-ceqr --acl public-read + run: dcpy lifecycle builds artifacts builds upload --product db-ceqr --acl public-read diff --git a/.github/workflows/cpdb_build.yml b/.github/workflows/cpdb_build.yml index b373d36221..cbd5cae24d 100644 --- a/.github/workflows/cpdb_build.yml +++ b/.github/workflows/cpdb_build.yml @@ -74,4 +74,4 @@ jobs: - name: Upload run: | - python3 -m dcpy.connectors.edm.publishing upload --product db-cpdb --acl private --max_files 200 + dcpy lifecycle builds artifacts builds upload --product db-cpdb --acl private --max_files 200 diff --git a/.github/workflows/cscl_build.yml b/.github/workflows/cscl_build.yml index 09c93079c8..de10a7a69b 100644 --- a/.github/workflows/cscl_build.yml +++ b/.github/workflows/cscl_build.yml @@ -79,4 +79,4 @@ jobs: run: ./bash/validate.sh - name: Upload - run: python3 -m dcpy.connectors.edm.publishing upload --product db-cscl --acl public-read + run: dcpy lifecycle builds artifacts builds upload --product db-cscl --acl public-read diff --git a/.github/workflows/developments_build.yml b/.github/workflows/developments_build.yml index 8e71e2f5e6..af8aeefb35 100644 --- a/.github/workflows/developments_build.yml +++ b/.github/workflows/developments_build.yml @@ -84,4 +84,4 @@ jobs: run: ./bash/05_export.sh - name: Upload - run: python -m dcpy.connectors.edm.publishing upload -p db-developments -a public-read + run: dcpy lifecycle builds artifacts builds upload --product db-developments --a cl public-read diff --git a/.github/workflows/green_fast_track_build.yml b/.github/workflows/green_fast_track_build.yml index f3063f2631..be290ec128 100644 --- a/.github/workflows/green_fast_track_build.yml +++ b/.github/workflows/green_fast_track_build.yml @@ -71,4 +71,4 @@ jobs: run: ./bash/export.sh - name: Upload - run: python3 -m dcpy.connectors.edm.publishing upload --product db-green-fast-track --acl public-read + run: dcpy lifecycle builds artifacts builds upload --product db-green-fast-track --acl public-read diff --git a/.github/workflows/promote_to_draft.yml b/.github/workflows/promote_to_draft.yml index 216103a644..bed2d68842 100644 --- a/.github/workflows/promote_to_draft.yml +++ b/.github/workflows/promote_to_draft.yml @@ -107,7 +107,7 @@ jobs: - name: Promote Build to Draft run: | - python3 -m dcpy.connectors.edm.publishing promote_to_draft \ + dcpy lifecycle builds artifacts builds promote_to_draft \ --product ${{ inputs.product }} \ --build ${{ inputs.build }} \ ${{ (inputs.draft_summary != '' && format('--draft-summary {0}', inputs.draft_summary)) || ''}} \ diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 60fdef5c72..6d76d3955d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -88,7 +88,7 @@ jobs: - name: Publish run: | - python3 -m dcpy.connectors.edm.publishing publish \ + dcpy lifecycle builds artifacts drafts publish \ --product ${{ inputs.product }} \ --version ${{ inputs.version }} \ ${{ (inputs.draft_revision_num != '' && format('--draft-number {0}', inputs.draft_revision_num)) || ''}} \ diff --git a/products/cbbr/04_export.sh b/products/cbbr/04_export.sh index 702ad3ca3e..f08dd4d2fe 100755 --- a/products/cbbr/04_export.sh +++ b/products/cbbr/04_export.sh @@ -35,6 +35,6 @@ cd .. echo "Upload Output to DigitalOcean" -python3 -m dcpy.connectors.edm.publishing upload -p db-cbbr -a public-read +dcpy lifecycle builds artifacts builds upload -p db-cbbr -a public-read echo "Done!" diff --git a/products/colp/colp.sh b/products/colp/colp.sh index c769a641f0..a1769b734a 100755 --- a/products/colp/colp.sh +++ b/products/colp/colp.sh @@ -5,7 +5,7 @@ case $1 in build ) ./bash/02_build.sh ;; qaqc ) ./bash/03_qaqc.sh ;; export ) ./bash/04_export.sh ;; - upload ) python3 -m dcpy.connectors.edm.publishing upload -p db-colp -a public-read ;; + upload ) dcpy lifecycle builds artifacts builds upload -p db-colp -a public-read ;; sql) sql $@ ;; * ) echo "COMMAND \"$1\" is not found. (valid commands: dataloading|build|export|upload)" ;; esac diff --git a/products/facilities/facdb.sh b/products/facilities/facdb.sh index 433953fae1..da891f3752 100755 --- a/products/facilities/facdb.sh +++ b/products/facilities/facdb.sh @@ -9,7 +9,7 @@ max_bg_procs 5 case $1 in init) init ;; - upload) python3 -m dcpy.connectors.edm.publishing upload -p db-facilities -a public-read ;; + upload) dcpy lifecycle builds artifacts builds upload -p db-facilities -a public-read ;; export) ./facdb/bash/export.sh ;; *) facdb_execute $@ ;; esac diff --git a/products/green_fast_track/README.md b/products/green_fast_track/README.md index ee279ecf5f..4d04a9bded 100644 --- a/products/green_fast_track/README.md +++ b/products/green_fast_track/README.md @@ -106,5 +106,5 @@ Then run the export script ### Upload ```bash -python3 -m dcpy.connectors.edm.publishing upload --product db-green-fast-track --acl public-read +dcpy lifecycle builds artifacts builds upload --product db-green-fast-track --acl public-read ``` diff --git a/products/pluto/pluto_build/06_export.sh b/products/pluto/pluto_build/06_export.sh index 6b228a5a72..bfad10a2d6 100755 --- a/products/pluto/pluto_build/06_export.sh +++ b/products/pluto/pluto_build/06_export.sh @@ -77,4 +77,4 @@ mkdir -p qaqc && ( wait cd .. -python3 -m dcpy.connectors.edm.publishing upload -p db-pluto -a public-read +dcpy lifecycle builds artifacts builds upload -p db-pluto -a public-read diff --git a/products/zoningtaxlots/bash/export.sh b/products/zoningtaxlots/bash/export.sh index d6ce00af4a..5c47ed8595 100755 --- a/products/zoningtaxlots/bash/export.sh +++ b/products/zoningtaxlots/bash/export.sh @@ -25,4 +25,4 @@ rm -rf output && mkdir -p output ) echo "Upload outputs ..." -python3 -m dcpy.connectors.edm.publishing upload -p db-zoningtaxlots -a public-read +dcpy lifecycle builds artifacts builds upload -p db-zoningtaxlots -a public-read