agnostiqhq / covalent-aws-plugins Goto Github PK
View Code? Open in Web Editor NEWExecutor plugins interfacing Covalent with various AWS compute platforms
Home Page: https://covalent.xyz
License: Apache License 2.0
Executor plugins interfacing Covalent with various AWS compute platforms
Home Page: https://covalent.xyz
License: Apache License 2.0
AWSExecutor
class as per Design Details
AWSExecutor
classAWSExecutor
classAWSExecutor
class)The AWSExecutor
is a type of remote executor, so it inherits from RemoteExecutor
. This class contains authentication handling.
region
— Region in which the task will runs3_bucket_name
— An alias for the super-class’s remote_cache
profile
— IAM profile used to run the taskexecution_role
— Name of an IAM role assumed by a task (optional)log_group_name
— Name of the log group in Amazon CloudWatch
(optional)_validate_credentials
— Validate user credentials (sometimes called _get_aws_account
currently) using aws sts get-caller-identity
In the end, we want to put this class, as well as all AWS plugins, inside a repository called covalent-aws-plugins
(i.e. the AWS plugin monorepo). Each plugin should remain individually installable as well.
Acceptance criteria:
Acceptance criteria:
Acceptance criteria:
covalent-aws-batch
for example, it requires covalent-aws-plugins
and should NOT install each of the other executors.Backend logic:
# covalent-awsbatch-plugin/requirements.txt
covalent-aws-plugins[batch]==[version_num]
In covalent-aws-plugins's extras_require={"batch": "covalent-awsbatch-plugin==ver"}
AWSExecutor
is created results in a few problems when interacting with covalent self hostedAWS_PROFILE
env variable is set, the client side configuration file gets rendered with profile=<AWS_PROFILE>
value. When a user then dispatches a workflow to self-hosted the executor will get populated with the profile information parsed from the configuration file which eventually will cause an error on the self-hosted side as there will be no values for the profile.tests
workflow is passing in developRefer to this run for details on error:
https://github.com/AgnostiqHQ/covalent-aws-plugins/actions/runs/3991490209
The version pin on boto3 is incompatible with the braket
extras in main Covalent, which requires boto3>=1.28.5
.
There are currently no tests for the exec.py
file. Since it's a crucial file for this plugin and almost all the AWS plugins rely on it, we should have tests, and subsequently code coverage for it.
Input variables should include:
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.