在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):MarcialRosales/maven-concourse-pipeline开源软件地址(OpenSource Url):https://github.com/MarcialRosales/maven-concourse-pipeline开源编程语言(OpenSource Language):开源软件介绍(OpenSource Introduction):maven-concourse-pipelineThe goal of this project is to build a Reference Concourse Pipeline for Java applications. Creditshttps://github.com/starkandwayne/concourse-tutorial. TutorialWe have built a step by step tutorial on how to build a standard Continuous Integration pipeline to build java applications. We will dedicate a branch to perform each step. This branch, the master, is dedicated to the chapter 00 where we set up Concourse and a git repository for the application we will build using the pipeline. The current project contains concourse artifacts, i.e. pipeline, tasks and script files. It does not build any specific project. If you want to follow this tutorial you will need the following directory layout:
00 - Set up repository for our sample application
00 - Set up ConcourseLaunch Concourse with Docker-compose
Access the folder Make sure you have Docker and Docker compose installed. To launch concourse we run Note: Running via docker-machine : If you are running concourse via docker-machine (not natively) make sure you set up the environment variable CONCOURSE_EXTERNAL_URL before running
We can open the Download fly Once we have Concourse running, we need to download a command line utility called fly from the main page of our Concourse. Login to Concourse Before we operate with Concourse through fly we need to login and remember that login attempt with an alias. Every command we subsequently invoke must refer to that alias. Let's login to Concourse running under
It is very likely that fly warns us with a message similar to this one:
All we have to do is run the suggested command: Now, we are all set to continue. Next chaptersCompile & Verify01 -
Use corporate Maven Repository02 -
Release Versioned Artifacts03 -
Install Built Artifact to Maven Repo04 -
Deploy, Verify and Promote Release candidate05 -
Deploy Surefire Reports06 -
Next InstallmentsFeature branches and automatic branch trackingProvision services (required by the application)Push to production if acceptance tests passProvision the PCF runtime where to push our applicationsBefore we can push our application, we need to provision the necessary infrastructure. We need a PCF foundation identified by an URL, we also need an organization, a space and a user. That space/organization must be configured with certain physical prerequisites like amount of RAM, disk, etc. This type of provisioning occurs before any application attempts to deploy itself. Furthermore, it is very likely that several applications will be deployed on the same runtime environment. To be more specifics, in terms of PCF, a runtime environment is a space within an organization within a PCF foundation. And we can go even further and assume that we could have many runtime environments for different line of business; we could have all the front-office applications running in one runtime environment and all the back-office apps in separate runtime environment. Some people use the term ecosystem to refer to a runtime environment. Sounds like a good name to me too. To summarize, applications are deployed to ecosystems which must be previously provisioned by someone... |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论