-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating Dataset functionality with job scheduling and Docker image for ngen worker container #148
Merged
hellkite500
merged 24 commits into
NOAA-OWP:master
from
robertbartel:launch_jobs/forcings_5
Mar 17, 2022
Merged
Integrating Dataset functionality with job scheduling and Docker image for ngen worker container #148
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
facd6e8
Add minio package as a project requirement.
robertbartel bdce172
Remove TODO comment for completed task.
robertbartel aedc112
Creating dmod.core package for core types.
robertbartel f5e34ea
Update ngen-deps Dockerfile with testing deps.
robertbartel 68c5ef2
Update ngen-deps Dockerfile with s3fs-fuse deps.
robertbartel e63285a
Update ngen Dockerfile from noah-mp to noah-owp.
robertbartel 8c1806e
Combine layers in ngen Dockerfile.
robertbartel a8d1f4b
Update ngen Dockerfile to create datasource dirs.
robertbartel 7273f02
Update ngen entrypoint script for datasets.
robertbartel 6eff182
Add secrets, env vars to DockerServiceParameters.
robertbartel aca457d
Update create_service() for service param updates.
robertbartel 1de2f4d
Add Launcher helper functions for Docker CMD args.
robertbartel 739da7e
Adjust service creation in Launcher.
robertbartel 97166c7
Update create_service params for object store use.
robertbartel e91587c
Bump dmod-scheduler version, reflecting elsewhere.
robertbartel c0a7bc7
Add CONFIG DataCategory value.
robertbartel ea25296
Add simple NGEN_OUTPUT DataFormat value.
robertbartel 134cb3e
Turn off secure in object store client.
robertbartel 71390bd
Fix type hint problem with Job in scheduler.py.
robertbartel 2980850
Consistent name of minio proxy service.
robertbartel 5e54315
Ensure worker entrypoint uses minio proxy.
robertbartel 1768905
Fix inverted boolean test condition.
robertbartel 6ce35f2
Remove unnecessary env var add to workers.
robertbartel 91600f6
Fix sytax problem after env_var removal.
robertbartel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# About | ||
Python package for core types depended upon by multiple other DMOD Python packages, which must be located in an isolated "core" package to avoid circular dependencies. |
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,3 @@ | ||
from ._version import __version__ | ||
|
||
name = 'core' |
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 @@ | ||
__version__ = '0.5.0' |
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,19 @@ | ||
from setuptools import setup, find_namespace_packages | ||
|
||
with open('README.md', 'r') as readme: | ||
long_description = readme.read() | ||
|
||
exec(open('dmod/core/_version.py').read()) | ||
|
||
setup( | ||
name='dmod-core', | ||
version=__version__, | ||
description='', | ||
long_description=long_description, | ||
author='', | ||
author_email='', | ||
url='', | ||
license='', | ||
install_requires=[], | ||
packages=find_namespace_packages(exclude=('tests', 'schemas', 'ssl', 'src')) | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '0.4.1' | ||
__version__ = '0.5.0' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I see what is going on here??? But not 💯 sure...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, not sure why exactly I was doing things the way I was planning, and then seemingly temporarily not doing them that way ...
I've cleaned this up a bit, but the _URL is based on the proxy hostname. I also fixed a problem (i.e., just now) where the proxy hostname and service name hadn't been consistent with this in the HA config.