Continuous Integration resources for Steeltoe
Перейти к файлу
Chris Cheetham d8bd8706f8 remove Jenkins jobs 2019-06-05 11:14:36 -04:00
gradle/wrapper Add test harness to test DSL 2019-02-17 10:45:52 -05:00
jobs remove Jenkins jobs 2019-06-05 11:14:36 -04:00
scripts - use branch name instead of tag presence to determine symbol inclusion 2018-03-21 19:22:16 -05:00
src/test/groovy Add test harness to test DSL 2019-02-17 10:45:52 -05:00
.appveyor-template.yml new GitHub token 2018-03-21 17:38:23 -05:00
.gitignore Ignore IntelliJ state 2019-02-17 10:47:38 -05:00
.travis-template.yml updated ci scripts and templates 2018-03-21 14:53:31 -05:00
CONTRIBUTING.md remove unused files, updated readme [#153640396] 2018-03-21 15:37:48 -05:00
README.md add a description of what's in the repo to the readme 2018-03-21 16:56:35 -05:00
build.gradle setup nested views 2019-02-19 10:28:21 -05:00
gradle.properties setup nested views 2019-02-19 10:28:21 -05:00
gradlew Add test harness to test DSL 2019-02-17 10:45:52 -05:00
gradlew.bat Add test harness to test DSL 2019-02-17 10:45:52 -05:00

README.md

Steeltoe Continuous Integration

This repository contains templates for creating build configurations on both AppVeyor and Travis CI, along with PowerShell and Bash scripts for running builds on both tools. These scripts can be used on a developer's workstation as well, though some environment configuration is required. A script is provided to assist in populating variables used in the AppVeyor build.

Workflow Overview

Pushing changes to any Steeltoe repository on GitHub will trigger CI builds on both AppVeyor (Windows) and Travis CI (Linux and OSX). All NuGet packages are built in AppVeyor. Travis CI is used for cross-platform compatibility testing only.

Work out of (or PR into) dev branch, packages deploy to myget/dev

Successful AppVeyor builds from the dev branch publish pre-release NuGet packages to the Steeltoe Dev feed with a suffix of -dev-{build number}

Stable code merged to master branch, packages deploy to myget/master

Once deemed stable, code is merged into the master branch. Successful AppVeyor builds from the master branch will publish pre-release NuGet packages to the Steeltoe Master feed with a suffix of -master-{build number}

Complete Steeltoe Releases - Publish to myget/staging then to nuget.org

When its time for a full release of Steeltoe, the Steeltoe Universe PowerShell script will be run on AppVeyor. The package version is derived from the AppVeyor build configuration. The script will clone all repositories from GitHub into a temporary local workspace, update all Steeltoe versions in .props files to the version that passed in as a parameter, build packages, (optionally) run unit tests, and publish to the Steeltoe Staging feed. Once the team is confident in the release, AppVeyor is used to push all packages to nuget.org via Environment deployments (click Deploy from the AppVeyor build)

Universe Script Options:

  • -BuildDebug - using this switch causes the script to pull the default branch instead of master
  • $env:SteeltoeRepositoryList - a space separated list of repositories; cloned and built in order specified. The default/complete list is maintained inside the Universe script
  • $env:RunUnitTests: false (default)

Patch releases

When patching is required: Create a branch named update{MajorMinor}x (eg: update20x for patches on the 2.0 release) if it does not already exist. Note: numbering of the branch does not affect build/deploy processes, the scripts only look for a starting value of update in the branch name. Package versioning is controlled in appveyor.yml. Successful AppVeyor builds from update branches publish nuget packages to the Steeltoe Staging feed on myget.org with with no pre-release suffix unless the branch name includes one. For example: a branch named “update20x-rc1” will produce pre-release packages with the suffix -rc1, while “update20x” will produce packages with no suffix.