Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myui/digdag-plugin-ecs
Amazon ECS plugin for Digdag
https://github.com/myui/digdag-plugin-ecs
digdag ecs
Last synced: 6 days ago
JSON representation
Amazon ECS plugin for Digdag
- Host: GitHub
- URL: https://github.com/myui/digdag-plugin-ecs
- Owner: myui
- License: apache-2.0
- Created: 2019-02-08T07:46:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-03T11:02:02.000Z (over 5 years ago)
- Last Synced: 2024-10-31T16:07:58.644Z (about 2 months ago)
- Topics: digdag, ecs
- Language: Java
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# digdag-plugin-ecs
[![Jitpack](https://jitpack.io/v/myui/digdag-plugin-ecs.svg)](https://jitpack.io/#myui/digdag-plugin-ecs) [![Digdag](https://img.shields.io/badge/digdag-v0.9.28-brightgreen.svg)](https://github.com/treasure-data/digdag/releases/tag/v0.9.28)# Task execution using local repository
## 1) build
```sh
./gradlew clean publish
```Artifacts are build on local repos: `./build/repo`.
aws --profile engineering logs create-log-group --log-group-name /myui/digdag-ecs-plugin-test --region us-east-1
## 2) run an example
```sh
digdag selfupdatedigdag secrets --local --set aws.profile
digdag secrets --local --set aws.access_key_id
digdag secrets --local --set aws.secret_access_key
digdag secrets --local --set aws.regiondigdag secrets --local --set aws.execution_role_arn
digdag secrets --local --set aws.vpc.subnets
digdag secrets --local --set aws.vpc.security_groupsrm -rf .digdag/plugins
digdag run --project sample plugin.dig -p repos=`pwd`/build/repo --rerunexport execution_role_arn=xxx
export subnets=xxx
export security_groups=xxx
digdag run --project sample plugin.dig --rerun \
-p repos=`pwd`/build/repo \
-p aws.execution_role_arn=$execution_role_arn \
-p aws.vpc.subnets=$subnets \
-p aws.vpc.security_groups=$security_groups
```# Publishing your plugin using Github and Jitpack
[Jitpack](https://jitpack.io/) is useful for publishing your github repository as a maven repository.
```sh
git tag v0.1.3
git push origin v0.1.3
```https://jitpack.io/#myui/digdag-plugin-example/v0.1.3
Now, you can load the artifact from a github repository in [a dig file](https://github.com/myui/digdag-plugin-example/blob/master/sample/plugin.dig) as follows:
```
_export:
plugin:
repositories:
# - file://${repos}
- https://jitpack.io
dependencies:
# - io.digdag.plugin:digdag-plugin-ecs:0.1.3
- com.github.myui:digdag-plugin-ecs:v0.1.3
```