Skip to content

infracloudio/aws-c7n-codecollection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join Slack

Open in GitHub Codespaces

codecollection-template

A hello-world-style template for codecollection authors to get started writing codebundles. This template contains the minimum file structure expected by the RunWhen platform.

Build

Getting Started

Looking to be a contributor for CodeCollections or start your own? We'd love to collaborate! Head on over to our public docs to get started.

File Structure overview of devcontainer:

-/app/
    |- auth/ #store secrets here, it should already be properly gitignored for you
    |- codecollection/
    |   |- codebundles/ # stores codebundles that can be run
    |   |- libraries/ # stores python keyword libraries used by codebundles
    |- dev_facade/ # provides interfaces equivalent to those used on the platform, but just dry runs the keywords to assist with development
    ...

The included script ro wraps the robot RobotFramework binary, and includes some extra functionality to write logs to a consistent location for viewing in a HTTP server at http://localhost:3000/ that is always running as part of the devcontainer.

Quickstart

Navigate to the codebundle directory cd codecollection/codebundles/hello_world/

Run the codebundle ro sli.robot

About

A CodeCollection that supports using Cloud Custodian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • RobotFramework 52.8%
  • Python 33.5%
  • HCL 10.7%
  • Dockerfile 3.0%