Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update CDK * Upgrade CDK * Add Dockerfile for ECS Agent * Add base bakery stack to deploy a cluster with 1 ECS agent running * Add instructions on creating RUNNER TOKEN secret pre-deployment * Upgrade prefect, add example flow * Refactor out permissions for ecs tasks into a specific role * Add ECS Run as we need to specify the image ECS users * Begin to add DaskExecutor to Flow - Need to build a image with Dask deps * Split out agent and worker docker images * Import container from ecr repository that is pre-populated * Migrate ECSRun to use dynamic task definition ref PrefectHQ/prefect/issues/4243 * Install dev deps via make due to pipenv locking bugs. Temporary hack. * Include dask-cloudprovider dependencies in worker image. * Stack role and export updates to support a DaskExecutor in test Flow. * Inclued agent label environment variable for deployment. * Initial test flow to validate DaskExecutor functionality. * Add additional bucket for processing cache and target output. * Add full zarr transform flow and move test flows to flow_test directory. * Include deps for transform_flow to avoid pipenv locking issue. * Add necessary dependencies for transform_flow execution by Dask workers. * Move test flows to flow_test. * Include local path for importing Flow tasks. * Fix linting issues. * Consolidate stack output value retrieval. * Move dev dependencies into Pipfile. * Propagate stack and flow tags to dynamically created ECS tasks. * Pin version of Github Actions ubuntu to support pipenv install. * Update directory paths for linting. * isort linting fixes. * Black formatting fixes. * Pin dependencies used by test flows. * Include detailed descriptions of new environment variables. * Update ids and stack exports to correctly use identifier in formatting. * Remove legacy comments from test flows and flow utils. * Add pre-commit hooks for linting and direct fixes. * Linting and formatting fixes to conform to pre-commit specs. Co-authored-by: Ciaran Evans <ciaran@developmentseed.org>
- Loading branch information
1 parent
b9a3f26
commit 0a8596f
Showing
8 changed files
with
182 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
default_stages: [commit] | ||
exclude: ^cdk.out/ | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: trailing-whitespace-fixer | ||
name: trailing-whitespace-fixer | ||
entry: pipenv run trailing-whitespace-fixer | ||
language: system | ||
|
||
- id: end-of-file-fixer | ||
name: end-of-file-fixer | ||
entry: pipenv run end-of-file-fixer | ||
language: system | ||
|
||
- id: check-docstring-first | ||
name: check-docstring-first | ||
entry: pipenv run check-docstring-first | ||
types: [python] | ||
language: system | ||
|
||
- id: check-json | ||
name: check-json | ||
entry: pipenv run check-json | ||
types: [json] | ||
language: system | ||
|
||
- id: check-yaml | ||
name: check-yaml | ||
entry: pipenv run check-yaml | ||
types: [yaml] | ||
language: system | ||
|
||
- id: isort | ||
name: isort | ||
language: system | ||
entry: pipenv run isort | ||
types: [python] | ||
args: ["--check-only", "--profile", "black", "cdk/", "flow_test/"] | ||
|
||
- id: black | ||
name: black | ||
language: system | ||
entry: pipenv run black | ||
types: [python] | ||
args: ["--check", "cdk/", "flow_test/", "--line-length", "100"] | ||
|
||
- id: flake8 | ||
name: flake8 | ||
language: system | ||
entry: pipenv run flake8 | ||
types: [python] | ||
args: ["--max-line-length", "100", "cdk/", "flow_test/"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters