Skip to content

Commit 1933de8

Browse files
committed
Add a starter Concourse CI pipeline definition
Add a simple CI configuration using Concourse. It defines the Github resource and the build task using a Gradle JDK 16 image.
1 parent 17fabf4 commit 1933de8

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

ci/build.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
export TERM=${TERM:-dumb}
4+
cd sources
5+
gradle --no-daemon build

ci/build.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
platform: linux
3+
4+
image_resource:
5+
type: docker-image
6+
source: {repository: gradle, tag: 7.0.1-jdk16}
7+
8+
# Cache the Gradle repository directory
9+
caches:
10+
- path: $HOME/.gradle
11+
12+
inputs:
13+
- name: sources
14+
15+
run:
16+
path: sources/ci/build.sh

ci/pipeline.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
resources:
3+
- name: sources
4+
icon: github
5+
type: git
6+
source:
7+
uri: https://github.com/bee-software/kickstart.git
8+
branch: master
9+
10+
jobs:
11+
- name: build
12+
public: true
13+
plan:
14+
- get: sources
15+
trigger: true
16+
- task: run-build
17+
file: sources/ci/build.yml

0 commit comments

Comments
 (0)