Skip to content

didx-xyz/workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIDx Reusable GitHub Workflows

License: MIT

A collection of reusable GitHub workflows for the DIDx Organization focused on keeping things DRY (Don't Repeat Yourself).

Overview

This repository contains a set of standardized GitHub Actions workflows that can be reused across multiple DIDx repositories. By centralizing common CI/CD processes, we ensure consistency, reduce duplication, and simplify maintenance across our projects.

Why Reusable Workflows?

  • Consistency: Enforce standardized processes across all repositories
  • Maintainability: Update workflows in a single place rather than in each repository
  • Efficiency: Reduce duplication and save time setting up new repositories
  • Best Practices: Implement organizational best practices by default

Available Workflows

Below is a list of the reusable workflows available in this repository:

  • connect-eks: Connect to Tailscale VPN, assume AWS role, and update KubeConfig to connect to and EKS cluster

How to Use

To use these workflows in your repository, reference them in your workflow YAML files using the uses keyword with the workflow path.

Example:

name: CI

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  test:
    name: Run tests on EKS
    runs-on: ubuntu-latest
    steps:
      - name: Connect to EKS
        uses: didx-xyz/workflows/connect-eks@master
        with:
          aws-region: af-south-1
          aws-role-arn: arn:aws:iam::123456789012:role/eks-connect
          aws-role-session-name: github
          cluster-name: my-eks-cluster
          tailscale-authkey: ${{ secrets.TAILSCALE_AUTHKEY }}

Workflow Inputs

Each workflow accepts specific inputs to customize behavior. Refer to individual workflow files for detailed documentation on available inputs and their usage.

Contributing

We welcome contributions to improve these workflows! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-workflow)
  3. Commit your changes (git commit -m ':construction_worker: Add some amazing workflow')
  4. Push to the branch (git push origin feature/amazing-workflow)
  5. Open a Pull Request

Development Guidelines

  • Add proper documentation and examples for any new workflow
  • Test workflows thoroughly before submitting
  • Follow the established patterns for consistency
  • Include appropriate input validation

Related Projects

  • DIDx ACA-Py Cloud: Cloud based deployment for Self-Sovereign Identity (SSI) applications

About DIDx

DIDx is dedicated to building the future of Self-Sovereign Identity (SSI). We focus on creating tools and infrastructure for decentralized identity applications and services.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Reusable Github Workflows in an attempt to keep things DRY

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •