Remove Circle CI

This commit is contained in:
Gareth Clay
2021-04-19 17:58:38 +01:00
committed by Gareth Clay
parent 1e8aeca6f5
commit 77b7ff1ef7
5 changed files with 0 additions and 105 deletions

View File

@@ -1 +0,0 @@
../ci/config.yml

View File

@@ -1,6 +1,3 @@
image:https://circleci.com/gh/spring-cloud/spring-cloud-app-broker.svg?style=svg["CircleCI", link="https://circleci.com/gh/spring-cloud/spring-cloud-app-broker"]
image:https://api.codacy.com/project/badge/Grade/72dc83489cb84106bcca9d0d20430622["Codacy code quality", link="https://www.codacy.com/app/scottfrederick/spring-cloud-app-broker?utm_source=github.com&utm_medium=referral&utm_content=spring-cloud/spring-cloud-app-broker&utm_campaign=Badge_Grade"]
image:https://codecov.io/gh/spring-cloud/spring-cloud-app-broker/branch/master/graph/badge.svg["Codecov", link="https://codecov.io/gh/spring-cloud/spring-cloud-app-broker/branch/master"]
image:https://img.shields.io/gitter/room/spring-cloud-app-broker/community.svg?style=flat-square["Gitter", link="https://gitter.im/spring-cloud-app-broker/community"]
== Spring Cloud App Broker

View File

@@ -1,19 +1,5 @@
#App Broker CI Pipeline
## Running CI pipeline locally
CircleCI allows pipelines to be run locally, this is very useful development purposes
- Install circle command line tool to run local builds:
```$bash
curl -o /usr/local/bin/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci && \
chmod +x /usr/local/bin/circleci
```
- Run script to execute pipeline
```$bash
ci/scripts/run-local-ci-job.sh
```
## Running the acceptance tests on Cloud Foundry locally
With the following variables set:

View File

@@ -1,61 +0,0 @@
# Java Gradle CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/repo
environment:
# Configure the JVM and Gradle to avoid OOM errors
_JAVA_OPTIONS: "-Xmx3g"
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.workers.max=2"
TERM: dumb
steps:
- checkout
- restore_cache:
key: sc-app-broker-{{ .Branch }}
- run:
name: "Download dependencies"
command: ./gradlew assemble
- save_cache:
paths:
- ~/.gradle
key: sc-app-broker-{{ .Branch }}
- run:
name: "Run unit tests"
command: ./gradlew clean check codeCoverageReport --stacktrace
- run:
name: "Aggregate test results"
when: always
command: |
mkdir -p ~/junit/
find . -type f -regex ".*/build/test-results/.*" -exec cp {} ~/junit/ \;
- run:
name: "Upload tests coverage"
command: bash <(curl -s https://codecov.io/bash)
- store_artifacts:
path: ~/junit/
destination: artifacts
- store_test_results:
path: ~/junit/
destination: testartifacts
workflows:
version: 2
commit:
jobs:
- build

View File

@@ -1,26 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
readonly PROG_DIR=$(readlink -m $(dirname $0))
readonly CI_DIR=$(dirname "${PROG_DIR}")
readonly PROJECT_ROOT=$(dirname "${CI_DIR}")
validate(){
[[ $(type circleci) ]] || (echo "circleci tool not installed" >&2 ; circle_usage ; exit 2)
}
circle_usage() {
cat <<- EOF
Install circle command line tool to run local builds:
"curl -o /usr/local/bin/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci && \
chmod +x /usr/local/bin/circleci"
EOF
}
run_circle_command(){
cd "${PROJECT_ROOT}"
circleci build
}
validate
run_circle_command