Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cloudquery/setup-cloudquery
Setup CloudQuery CLI in GitHub Actions workflows
https://github.com/cloudquery/setup-cloudquery
Last synced: about 2 months ago
JSON representation
Setup CloudQuery CLI in GitHub Actions workflows
- Host: GitHub
- URL: https://github.com/cloudquery/setup-cloudquery
- Owner: cloudquery
- License: mpl-2.0
- Created: 2021-11-05T12:45:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-09T13:21:10.000Z (3 months ago)
- Last Synced: 2024-10-14T13:02:20.178Z (3 months ago)
- Language: TypeScript
- Size: 1.77 MB
- Stars: 9
- Watchers: 8
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# setup-cloudquery
A GitHub action to download the CloudQuery CLI so it can be used in other steps.
## Prerequisites
- We only support Linux or MacOS runners. Contributions welcomed to add Windows support 🪟
- CloudQuery source and destination configuration files. See [CloudQuery docs](https://www.cloudquery.io/docs/quickstart) for more information.## Setup
Example usage:
Create a `.github/workflows/cloudquery.yml` file with the content of:
```yaml
name: CloudQuery
on:
schedule:
# Run daily at 03:00 (3am)
- cron: '0 3 * * *'jobs:
cloudquery:
runs-on: ubuntu-latest
steps:
# Checkout a git repository with a pre-existing CloudQuery configuration files
- uses: actions/checkout@v4# Setup AWS credentials (example)
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume:
aws-region:- uses: cloudquery/setup-cloudquery@v3
name: Setup CloudQuery
with:
# Required. Must be a valid SemVer version
version: 'v5.12.1'- name: Sync with CloudQuery
run: cloudquery sync [file or directories...] --log-console
```