24 Star 70 Fork 0

Gitee 极速下载 / spring

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/springsource/spring-framework
克隆/下载
README.adoc 2.34 KB
一键复制 编辑 原始数据 按行查看 历史
Stéphane Nicoll 提交于 2024-03-14 15:05 . Merge branch '6.1.x'

Spring Framework Concourse pipeline

Note
CI is being migrated to GitHub Actions.

The Spring Framework uses Concourse for its CI build and other automated tasks. The Spring team has a dedicated Concourse instance available at https://ci.spring.io with a build pipeline for Spring Framework 6.2.x.

Setting up your development environment

If you’re part of the Spring Framework project on GitHub, you can get access to CI management features. First, you need to go to https://ci.spring.io and install the client CLI for your platform (see bottom right of the screen).

You can then login with the instance using:

$ fly -t spring login -n spring-framework -c https://ci.spring.io

Once logged in, you should get something like:

$ fly ts
name                  url                   team                  expiry
spring                https://ci.spring.io  spring-framework      Wed, 25 Mar 2020 17:45:26 UTC

Pipeline configuration and structure

The build pipelines are described in pipeline.yml file.

This file is listing Concourse resources, i.e. build inputs and outputs such as container images, artifact repositories, source repositories, notification services, etc.

It also describes jobs (a job is a sequence of inputs, tasks and outputs); jobs are organized by groups.

The pipeline.yml definition contains parameters which are loaded from the parameters.yml file or from our credhub instance.

You’ll find in this folder the following resources:

  • pipeline.yml the build pipeline

  • parameters.yml the build parameters used for the pipeline

  • images/ holds the container images definitions used in this pipeline

  • scripts/ holds the build scripts that ship within the CI container images

  • tasks contains the task definitions used in the main pipeline.yml

Updating the build pipeline

Updating files on the repository is not enough to update the build pipeline, as changes need to be applied.

The pipeline can be deployed using the following command:

$ fly -t spring set-pipeline -p spring-framework-6.2.x -c ci/pipeline.yml -l ci/parameters.yml
Note
This assumes that you have credhub integration configured with the appropriate secrets.
Java
1
https://gitee.com/mirrors/spring.git
git@gitee.com:mirrors/spring.git
mirrors
spring
spring
main

搜索帮助