All Projects → sirech → example-concourse-pipeline

sirech / example-concourse-pipeline

Licence: MIT License
Sample pipeline for Concourse CI

Programming Languages

shell
77523 projects
Jsonnet
166 projects
ruby
36898 projects - #4 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to example-concourse-pipeline

edge
EDGE: Elastic Dockerfile Generating Environment
Stars: ✭ 18 (+0%)
Mutual labels:  serverspec
concourse-ci-kube
Concoures CI Kube Deploment
Stars: ✭ 16 (-11.11%)
Mutual labels:  concourse-ci
concourse-git-bitbucket-pr-resource
🚀 Concourse CI resource for tracking git branches of Bitbucket pull-requests
Stars: ✭ 29 (+61.11%)
Mutual labels:  concourse-ci
bender
A Concourse resource that can trigger and pass parameters to jobs using slack
Stars: ✭ 32 (+77.78%)
Mutual labels:  concourse-ci
terraform-aws-concourse
Terraform Module for a distributed concourse cluster on AWS
Stars: ✭ 12 (-33.33%)
Mutual labels:  concourse-ci
keyval-resource
a resource that passes key values between jobs
Stars: ✭ 39 (+116.67%)
Mutual labels:  concourse-ci
puppet-magnum
rubygems.org/gems/puppet-magnum
Stars: ✭ 31 (+72.22%)
Mutual labels:  serverspec
ofcourse
A Concourse resource generator
Stars: ✭ 41 (+127.78%)
Mutual labels:  concourse-ci
concourse-build-resource
A Concourse resource for observing Concourse builds
Stars: ✭ 16 (-11.11%)
Mutual labels:  concourse-ci
serverspec-extended-types
A set of extended types for ServerSpec 2.x
Stars: ✭ 28 (+55.56%)
Mutual labels:  serverspec
concourse-fly-resource
A Concourse resource for manipulating fly
Stars: ✭ 16 (-11.11%)
Mutual labels:  concourse-ci
ansible-concourse
An ansible role to manage Concourse CI
Stars: ✭ 22 (+22.22%)
Mutual labels:  concourse-ci
ami-spec
Acceptance testing your AMIs
Stars: ✭ 47 (+161.11%)
Mutual labels:  serverspec

Example Concourse Pipeline

This is an example for a pipeline for Concourse CI. It is intended to be used as a base to build high quality pipelines.

It is using a sample JavaScript project, but it can be easily adapted to serve any other language.

Running a local concourse

Inspired by this, I've added a script to run an instance of Concourse locally for testing purposes. Just do:

./concourse/run

It is available under localhost:8080 (test/test for auth)

Adding the pipeline to the local installation

A local docker registry is running so that the development image can be stored. Add the pipeline to the local installation with

./go update-pipeline

Changing the pipeline

Note that the pipeline is generated dynamically by using jsonnet. See this blog post for more context about it.

Running things

There is a go script that is the entrypoint of all the tasks. Simply run it without arguments to get a list of available targets.

Requirements

  • node (last tested with v13.6.0)
  • yarn (last tested with 1.21.1)
  • ruby (last tested with 2.6.3)

ServerSpec

ServerSpec allows you to run unit tests for infrastructure. You can use it to test that your containers, both build and production, are being created correctly.

Running it in a pipeline is notoriously difficult, and you end up running in the Docker in Docker issue. This repository contains some ready-to-use blocks that can make your life easier.

In order to run these tests, you need:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].