mansueto-institute / cloudtile

Converting geospatial file formats to vectortile files
GNU General Public License v3.0
2 stars 2 forks source link

feat: run the CLI on ECS #14

Closed manmartgarc closed 1 year ago

manmartgarc commented 1 year ago

This PR adds functionality relating to what this package is all about; converting vector files to pmtile files in the cloud. With this PR, the option to run a conversion job on AWS via an ECS container. Right now all of the CLI functionality is supported except of course uploading and downloading, since that wouldn't work on a remote container.

github-actions[bot] commented 1 year ago

Coverage

Coverage Report
FileStmtsMissCoverMissing
/opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/cloudtile
   __init__.py00100% 
   __main__.py0870%2, 11–15, 17–18, 20, 23, 28–29, 33, 39, 43, 45, 48–50, 52, 57–61, 64–68, 70–73, 75–77, 82, 84, 87, 91–98, 101, 106–107, 117, 122–124, 126–128, 132, 134–136, 140–141, 146, 152–154, 158, 160–162, 165–166, 171, 178, 183–184, 194, 199, 201–203, 207, 217, 221–222
   converter.py0430%2, 11, 13, 16–17, 28–30, 32–33, 35–36, 40, 42–46, 48, 54–55, 57–58, 60–62, 64–65, 82–84, 86, 88–90, 92, 94–96, 98–100, 102
   ecs.py0450%2, 11–13, 15, 18–19, 43–45, 47–49, 51, 62, 72–74, 76, 78–81, 83, 85, 98, 100–102, 106–107, 109, 111–113, 120–121, 123–124, 126–128, 138–139, 141
   geofile.py01300%2, 12, 14–20, 22, 24, 26, 29–30, 35–37, 39–44, 46–47, 54, 56–57, 65, 69–70, 74, 78, 80–81, 91–96, 99–100, 106, 108–111, 114–115, 117–119, 127–130, 133, 136–137, 142–143, 145–146, 153, 155–160, 162–163, 170, 172–177, 179, 187–188, 190–192, 194, 197–199, 209–212, 214, 222–224, 227, 229–230, 238–239, 241–245, 247–248, 259–262, 264–265, 268–269, 274–275, 278, 284–288, 291–292, 297–298
   s3.py01980%68–69, 71, 74, 76–78, 81, 83, 89, 96–102, 104, 131
/opt/hostedtoolcache/Python/3.9.15/x64/lib/python3.9/site-packages/cloudtile/cdk
   __init__.py00100% 
   cloudtile_stack.py0210%2, 11, 13–19, 22, 27–28, 30, 41, 47, 49, 52, 54, 62–63, 65
TOTAL42434518% 

Tests Skipped Failures Errors Time
16 0 :zzz: 0 :x: 0 :fire: 3.190s :stopwatch: