Skip to content

spring-cloud/spring-cloud-github-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Cloud GitHub Actions

Shared GitHub Actions workflows and composite actions for Spring Cloud projects. This repository provides reusable automation for building, testing, and deploying Spring Cloud repositories with consistent branch and JDK version handling.

Contents

  • Workflows — Reusable workflows callable from other repositories
  • Actions — Composite actions used by those workflows (and optionally by callers)
  • Config — Centralized configuration (e.g. branches and JDK versions per project)
  • Examples — Example caller workflows you can copy into your project

Workflows

Workflow Description Documentation
deploy.yml Build and deploy Spring Cloud projects with matrix builds (branch × JDK). Uses centralized config to decide what to build and deploy. Deploy workflow README

Actions

Action Description Documentation
determine-matrix Reads config/projects.json and produces a build matrix (branches × JDK versions) for the current repo and event. Supports OSS/commercial, scheduled vs single-branch, and comma-separated branch overrides. Determine Matrix README

Configuration

  • config/projects.json — Defines, per project, which branches to build (e.g. for scheduled runs) and which JDK versions to use per branch. Includes separate oss and commercial sections and a defaults fallback. The determine-matrix action reads this file to build the matrix used by the deploy workflow.

Quick start

  1. In your Spring Cloud project, add a workflow that calls the deploy workflow (see examples/deploy.yml).
  2. Configure the required secrets in your repository (ARTIFACTORY_*, DOCKERHUB_*; add COMMERCIAL_* for commercial repos).
  3. Trigger via push, schedule, and/or workflow_dispatch. The deploy workflow will use this repo’s config and actions to decide what to build and deploy.

For full details on inputs, secrets, and behavior, see the Deploy workflow README and the Determine Matrix action README.

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published