juliacloud / awsbatch.jl Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Currently the AWSBatch interface is somewhere in between a high-level Julia interface and a low-level AWS API interface. We should do some iterating on this design to find something that that allows us to easily update with AWS API changes and new features while keeping things easy to use on the Julia side. Eventually we want the high-level Julia interface to look something like:
job = @batch memory=2048 begin
using AWSClusterManagers
addprocs(AWSBatchManager(5))
...
end
For inspiration look at AWSLambda.jl which has a @lambda
and @lambda_eval
for executing Julia code on Lambda.
Keeping this in mind I think we should adjust the current AWSBatch in the following way:
Make the BatchJob
only keep track of the job_id. This would result in an interface change something like:
submit(; kwargs...) -> BatchJob
wait(::BatchJob) -> Bool
status(::BatchJob) -> JobState
describe(::BatchJob)
Applying these kind of changes to the job definition and other types would result in:
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
We often override enviroment variables.
In particular
--container-overrides environment="[{name=RUN_SCRIPT,value=$backrun_script_s3path}]"
but runbach
does not currently take an enviroment kwarg (it takes kwarg for other things we can override)
AWSSDK has enormous amounts of code and is known to increase compile/load time. AWSCore or a dedicated service package (e.g., AWSTools or AWSS3 for S3) should be used instead.
Attempted to do so in #2 , setup the Deploy Key and Secret, doesn't to ever write.
Instead of using the command-line git
in the tests we should switch to Git_jll as the command-line git
may not be installed. The command would look something like:
using Git_jll
git() do git_path
read(`$git_path ls-remote --tags https://github.com/JuliaLang/julia`, String)
end
Unfortunately there seems to be an issues at the moment:
Currently this package uses AWSCore.jl and AWSSDK.jl, we should really migrate this to using AWS.jl.
We could possibly even drop the dependency on AWSTools.jl as well.
Instances of usage:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.