All Projects → anna-money → workflow-tools

anna-money / workflow-tools

Licence: Apache-2.0 license
CLI tools for GitHub Actions

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to workflow-tools

Cml
♾️ CML - Continuous Machine Learning | CI/CD for ML
Stars: ✭ 2,843 (+9703.45%)
Mutual labels:  ci-cd, github-actions
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+2427.59%)
Mutual labels:  ci-cd, github-actions
actions
Our Library of GitHub Actions
Stars: ✭ 49 (+68.97%)
Mutual labels:  ci-cd, github-actions
universe2021
All things GitHub Universe 2021!
Stars: ✭ 112 (+286.21%)
Mutual labels:  ci-cd, github-actions
prettier
🔨 Native, blazingly-fast Prettier CLI on Github Actions
Stars: ✭ 19 (-34.48%)
Mutual labels:  ci-cd, github-actions
react-enterprise-starter-kit
Highly Scalable Awesome React Starter Kit for an enterprise application with a very easy maintainable codebase. 🔥
Stars: ✭ 55 (+89.66%)
Mutual labels:  ci-cd, github-workflows
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+131.03%)
Mutual labels:  ci-cd, github-actions
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (+27.59%)
Mutual labels:  ci-cd, github-actions
chart-testing-action
A GitHub Action to lint and test Helm charts
Stars: ✭ 139 (+379.31%)
Mutual labels:  ci-cd, github-actions
wordpress-skeleton
A base repository structure for rtCamp's WordPress sites, pre-configured to use Github Actions
Stars: ✭ 32 (+10.34%)
Mutual labels:  ci-cd, github-actions
minesweeper
💣Minesweeper game written with React
Stars: ✭ 18 (-37.93%)
Mutual labels:  ci-cd, github-actions
AndroidFastlaneCICD
📱A sample repository to demonstrate the Automate publishing🚀 app to the Google Play Store with GitHub Actions⚡+ Fastlane🏃.
Stars: ✭ 82 (+182.76%)
Mutual labels:  ci-cd, github-actions
action-github-workflow-sync
Github Action To Sync Github Action's Workflow Files Across Repositories
Stars: ✭ 51 (+75.86%)
Mutual labels:  github-actions, github-workflows
branch-names
Github action to retrieve branch or tag names with support for all events.
Stars: ✭ 99 (+241.38%)
Mutual labels:  ci-cd, github-actions
release-downloader
Github action to download release assets from private or public repositories
Stars: ✭ 33 (+13.79%)
Mutual labels:  ci-cd, github-actions
godot-ci
Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
Stars: ✭ 316 (+989.66%)
Mutual labels:  ci-cd, github-actions
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+113.79%)
Mutual labels:  github-actions
jacoco-report
Github action that publishes the JaCoCo report as a comment in the Pull Request
Stars: ✭ 31 (+6.9%)
Mutual labels:  github-actions
kubecrypt
Helper for dealing with secrets in kubernetes.
Stars: ✭ 23 (-20.69%)
Mutual labels:  ci-cd
bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (-17.24%)
Mutual labels:  github-actions

workflow-tools

Build Black Formatter GitHub License

CLI tools for GitHub Actions.

  • Automate writing GitHub workflow configs with a generator tool
  • Automate setting GitHub secrets for repositories
  • Integrate the tools into your pipeline for setting up new microservices

Rationale

Microservice architecture may have dozens and dozens of lookalikes services that require similar CI/CD workflows. With infrastructure as code approach taken by the GitHub Actions, why not using workflows generation? Setting up a new microservice repository may also be automated. This is where workflow-tools come in handy.

Examples

Let's set GitHub Secrets for a repository. First, get a personal access token in GitHub settings. Then set up a secret using workflow-tools:

workflow_secret --owner=anna-money --repo=workflow-tools \
  --token="YOUR-PERSONAL-ACCESS-TOKEN" \
  update --key=MY_SECRET_KEY --value=MY_VALUE

Now let's use a fragment of Jinja2 template for a GitHub Actions workflow to generate resulting config:

WORKFLOW_RUNNER_VERSION=ubuntu-18.04 WORKFLOW_PYTHON27=2.7 WORKFLOW_PYTHON37=3.7 \
workflow_generator
# Press Enter to start pasting Jinja2 workflow template into stdin
jobs:
  test:
    runs-on: [[ workflow.runner_version ]]
    strategy:
      matrix:
        python:
          - [[ workflow.python27 ]]
          - [[ workflow.python37 ]]
# Press Ctrl+D to render resulting workflow
# For real workflow templates use reading/writing from/to a file, load variables from envfile
jobs:
  test:
    runs-on: ubuntu-18.04
    strategy:
      matrix:
        python:
          - 2.7
          - 3.7

Help

See documentation for more details. Use --help flag for each tool in the package.

Installation

Just run:

pip install -U workflow-tools

Contributing

See CONTRIBUTING.rst.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].