Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/igr/airfog
Airfog
https://github.com/igr/airfog
Last synced: 24 days ago
JSON representation
Airfog
- Host: GitHub
- URL: https://github.com/igr/airfog
- Owner: igr
- License: bsd-3-clause
- Created: 2022-07-04T19:14:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-21T11:14:27.000Z (over 2 years ago)
- Last Synced: 2024-05-02T05:53:00.893Z (6 months ago)
- Language: Go
- Size: 216 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AirFog 🌁
Common [AirFlow](https://airflow.apache.org) tasks.
## Setup
Create `airfog.json`:
```json
{
"host": "airflow.k8s.foursquare.com",
"scheme": "https",
"username": "ispasic",
"password": "..."
}
```## Usage
### `clear-ti` Clear Task Instances
+ Clears Task instances that are _not_ in the `success` state for given `dagID` and latest run.
+ Optionally, `dagRunID` may be used to specify the specific run.
+ Parent DAGs of failed task instances are cleared, too.
+ After the cleanup, the DagRun is re-started, so all cleared tasks will run again.[Airflow API](https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/post_clear_task_instances)
```shell
airfog clear-ti --dag=shapes_biweekly_geocode_build
```### `run-all-tag` Run all DAGs with given tag
+ Run all DAGs with given tag name.
```shell
airfog run-all-tag --tag ELMER
```