Thor
aws-codedeploy-agent
Thor | aws-codedeploy-agent | |
---|---|---|
10 | 20 | |
5,087 | 323 | |
0.2% | 0.6% | |
6.9 | 6.1 | |
about 1 month ago | 24 days ago | |
Ruby | Ruby | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Thor
-
CLI tools at Aha!
Ruby has always been a great general-purpose scripting language and is often used to create command-line utilities. Many of these use the excellent Thor gem to parse command-line options, but there's no escaping one fact: command-line utilities just aren't interesting. Never have been, never will be.
-
How to Build Your Own Rails Generator
All public methods in the generator will be called one after the other. Private methods will not be called but are available in your public methods like regular Ruby classes.
-
Any opinionated tool / framework for creating binary CLI tools?
ruby: http://whatisthor.com
-
Seeking recommendations or suggestions for learning Ruby to maintain the home directory?
I will add that if you want to develop a CLI tool that gives you various commands that you can run, I would have a look at something like thor to keep it organised and documented. But this is completely unnecessary as a first step - you can simply create a Ruby file that does a thing you want and invoke it directly.
- A more ruby-ish command line parsing - design idea
-
Bootstrapping with Ruby on Rails Generators and Templates
Not to be confused with generator functions (which you might be familiar with from Python or Javascript), Rails generators are custom Thor commands that focus on, well, generating things.
- Don't make me think, or why I switched to Rails from JavaScript SPAs
-
Building a Dot Matrix Animator
I wanted to provide a command-line interface for the user that was easy to use, and I also wanted to provide the flexibility with the options used to render the animation. After looking around online I found that Thor was a good tool to utilize. It allowed me to easily create a number of options that make this program much more versatile. An example below shows how a user can select which folder the source images are in, as well as what the background and foreground colors should be:
-
Move over Rake, Thor is the new King
I've used Thor a lot, but it's kind of terrible. It uses a custom non-POSIX-compliant option parser (ex: method_option :list, type: :array -> --list one two three, where as the POSIX way is --list one,two,three or --item one -- item two --item three) and will not error on unknown options or exit with -1 when not enough args are given. If you want a better CLI library, checkout dry-rb, command_kit, or cmdparse.
-
Ruby for replacing Unix shell scripts? (eg. a better Perl)
And Thor might be worth looking at if you have complex scripts: https://github.com/erikhuda/thor
aws-codedeploy-agent
-
Passing the AWS Certified DevOps Engineer - Professional exam
AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, serverless Lambda functions, or Amazon ECS services. A compute platform is a platform on which CodeDeploy deploys an application. There are three compute platforms:
-
CLI tools at Aha!
When we deploy code at Aha! we kick off a number of AWS CodeDeploy tasks running in parallel. Here's some code to simulate deployment:
-
The best approach to deploy an Application to EC2 on Windows?
AWS has a service named CodeDeploy for this. It does exactly what you describe.
-
Continuous Integration and Deployment on AWS - and a wishlist for CI/CD Tools on AWS
AWS CodeDeploy is a fully managed deployment service that automates software deployments to various compute services, such as Amazon Elastic Compute Cloud (EC2), Amazon Elastic Container Service (ECS), AWS Lambda, and your on-premises servers.
-
Automatic AWS CloudFormation rollbacks upon a test failure in your CI pipelines
AWS's developer suite of products includes the AWS CodeDeploy offering, which can help developers deploy AWS Lambda functions and other compute-related services.
-
AWS CodeDeploy Cheat Sheet
Documentation
-
Learnings on Testing & Deployments of UI and BFF in CICD Pipelines for AWS
AWS? Dude, use CodeDeploy green blue with hooks.
-
Top 10 Software Deployment Tools for 2022
AWS CodeDeploy is a service from Amazon Web Services that automates deployments to any instance. It works with any language, platform, or application. AWS CodeDeploy makes it easier to release new features quickly, avoid downtime during application deployment, and handle the complexity of updating applications. Users can also test and track deployments so they're not left guessing or digging through logs when something goes wrong. Our integration with AWS CodeDeploy can be integrated directly into your CI/CD pipeline to improve your AWS DevOps security.
-
The REGAL Architecture
If you have a BFF, that means you have a front-end. If you have a front-end, you gotta host it somewhere. Amplify is an AWS managed service built for hosting Single Page Applications. It abstracts away all the existing serverless tech you’d traditionally use on AWS into a single place, automating most of it. S3 static asses, cache busting on deploy, and it even abstracts it’s own build pipeline using CodeDeploy sourced right from your code repository. Like AppSync, it creates a CloudFront distribution for you, and optionally provides automatic Route53 creation if you want at full URL.
-
DEVOPS AS A SERVICE
Once a fresh build passes via CodePipeline, CodeDeploy distributes the functioning package to each instance based on your predefined settings. This makes it easy to coordinate builds and upgrade or patch simultaneously. CodeDeploy is code-agnostic and includes typical old code with ease. Every deployment instance can be readily monitored using the AWS Management Console, and any mistakes or issues may be rolled back through the graphical user interface.
What are some alternatives?
TTY - Toolkit for developing sleek command line apps.
aws-cloudformation-coverage-roadmap - The AWS CloudFormation Public Coverage Roadmap
Rake - A make-like build utility for Ruby.
aws-codebuild-docker-images - Official AWS CodeBuild repository for managed Docker images http://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref.html
GLI - Make awesome command-line applications the easy way
elastic-beanstalk-roadmap - AWS Elastic Beanstalk roadmap
Commander - The complete solution for Ruby command-line executables
vsaq - VSAQ is an interactive questionnaire application to assess the security programs of third parties.
dry-cli - General purpose Command Line Interface (CLI) framework for Ruby
Jenkins - Jenkins automation server
Trollop - Optimist is a commandline option parser for Ruby that just gets out of your way.
vite - Next generation frontend tooling. It's fast!