This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- compile - test Sharing build results does not work that way.
- Loading branch information
1 parent
50bb9d1
commit 61ccb95
Showing
6 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[submodule "bosh-cpi-haskell"] | ||
path = src/bosh-kubernetes-cpi/dependencies/bosh-cpi-haskell | ||
url = git@github.com:SAP/bosh-cpi-haskell.git | ||
url = https://github.com/SAP/bosh-cpi-haskell.git | ||
[submodule "haskell-kubernetes"] | ||
path = src/bosh-kubernetes-cpi/dependencies/haskell-kubernetes | ||
url = git@github.com:loewenstein/haskell-kubernetes.git | ||
url = https://github.com/loewenstein/haskell-kubernetes.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
groups: | ||
- name: bosh-kubernetes-cpi-release | ||
jobs: | ||
- build | ||
# - release | ||
|
||
jobs: | ||
- name: build | ||
serial: true | ||
plan: | ||
- aggregate: | ||
- {trigger: true, get: cpi-src} | ||
|
||
- task: compile | ||
file: cpi-src/ci/tasks/compile.yml | ||
|
||
- task: test-unit | ||
file: cpi-src/ci/tasks/test-unit.yml | ||
|
||
resources: | ||
- name: cpi-src | ||
type: git | ||
source: | ||
uri: https://github.com/sap/bosh-kubernetes-cpi-release.git | ||
branch: master | ||
ignore_paths: | ||
- releases/bosh-kubernetes-cpi/** | ||
- .final_builds/** | ||
- docs/** | ||
- README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
STACK_WORK_OUTPUT=$PWD/stack-work | ||
export STACK_ROOT=/root/.stack | ||
|
||
pushd cpi-src/src/bosh-kubernetes-cpi | ||
stack build | ||
cp -R .stack-work $STACK_WORK_OUTPUT/ | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
platform: linux | ||
|
||
image_resource: | ||
type: docker-image | ||
source: | ||
repository: loewenstein/main-stack | ||
|
||
inputs: | ||
- name: cpi-src | ||
|
||
outputs: | ||
- name: stack-work | ||
|
||
run: | ||
path: cpi-src/ci/tasks/compile.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
STACK_WORK_INPUT=$PWD/stack-work | ||
export STACK_ROOT=/root/.stack | ||
|
||
pushd cpi-src/src/bosh-kubernetes-cpi | ||
cp -R $STACK_WORK_INPUT/.stack-work . | ||
stack test | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
platform: linux | ||
|
||
image_resource: | ||
type: docker-image | ||
source: | ||
repository: loewenstein/main-stack | ||
|
||
inputs: | ||
- name: cpi-src | ||
- name: stack-work | ||
|
||
run: | ||
path: cpi-src/ci/tasks/test-unit.sh |