Commit Graph

35 Commits

Author SHA1 Message Date
Jim Schubert
1ac0f141a6
[feature] Default CI log level for slf4j-simple to error to prevent noise (#5118)
* [feature] Log "debounce" filter to remove spam.

* [log] slf4j-simple should be optional

This also sets the default log level to ERROR during CI builds for many
mvn invocations. This should reduce noise in the logs.

* [log] Rely only on mvn loglevel=error for now

* [cli] Clean up unused dependency

* [log] Change level to error/warn in more CI
2020-01-29 16:28:42 +08:00
Jeremie Bresson
7756bb5b74 CircleCI change 'machine' configuration 2019-10-16 10:05:17 +02:00
William Cheng
3fbd59b95a switch to machine enable is true 2019-10-16 11:41:20 +08:00
William Cheng
9d606804be disable docker_layer_caching: true 2019-10-16 11:33:16 +08:00
William Cheng
3ba6d8226e
[R] Add petstore integration tests to CI (#2354)
* add r petstore test

* run test in node 1

* fix r bash test

* fix typo

* fix permission error

* fix r installation error

* use diff r repo

* install latest r

* install curl

* use sudo for apt-get

* add no manual

* add sudo install

* better caching

* export env

* update lib location

* create lib dir

* update r lib dir
2019-03-11 20:56:11 +08:00
William Cheng
a36319185b
Add Haskell Servant build to Travis CI (#2196)
Add Haskell Servant build to Shippable CI
2019-02-24 11:19:09 +08:00
Jérémie Bresson
f95dfbef75
Move "ensure-up-to-date" execution to CircleCI (#944) 2018-08-31 09:16:41 +02:00
William Cheng
1b2d12286f
CircleCI: run Java8, Java7 tests in parallel (#608)
* run circle jobs in parallel

* fix circleci file

* disable parallel run

* fix build type

* fix circleci config parse error

* move mvn install to circle.yml

* revise circleci tests

* trigger test failures

* remove failure trigger
2018-07-20 18:45:14 +08:00
William Cheng
d17bdd2658
Improve CircleCI caching (#539)
* show ivy2 cache

* fix typo

* list dir before saving cache

* list dir before saving cache

* cache .git

* replace tab with space

* remove ls

* restore tests
2018-07-12 13:16:33 +08:00
Raphael Ochsenbein
be68ef502e Inject basepath through configuration in generated service for angular, create test cases for angular 6 (#367) 2018-07-03 17:55:26 +08:00
William Cheng
7c49bdd953
CircleCI migration from 1.0 to 2.0 (#333)
* migration to circleci 2.0 config

* install docker compose

* add setup remote docker

* comment out docker compose

* using public petstore for testing

* use only one working_directory

* use openapitools/openapi-petstore instead

* disable auth in petstore server

* run petstore server locally via mvn jetty

* fix typo

* test go first

* test pet server at port 8080

* remove docker compose command

* wait for server to start up

* sleep longer

* test mvn jetty again

* use machine executor

* comment out docker

* comment out restore cache

* sleep for 30s

* change petstore port

* restore petstore docker

* fix docker run command

* restore cache, clean up comments
2018-06-17 14:52:37 +08:00
William Cheng
6c996a7d1a
Various improvement to CI (#326)
* Various improvement to CI

* trigger a failure

* disable ensure up-to-date script

* move ensure-up-to-date under bin/utils, pipe update to /dev/null
2018-06-15 16:18:31 +08:00
William Cheng
806330ac43 Fix ivy2 cache directory in CI config file (#161) 2018-05-27 15:44:26 -04:00
Ben Mordue
866dc03f4f Reduce CI logging (#119) 2018-05-21 23:15:51 +08:00
William Cheng
4f88c1bc41
Push images to DockerHub (#32)
* test docker push

* test openapi-generator-online push

* fix environment variable

* remove maven central for the time being

* only push openapi-generator-cli

* skip mvn test

* uncomment mvn install

* fix echo

* fix openapi-generator-online docker push

* better password passing

* reenable mvn verify, only push to docker for master
2018-05-14 10:53:27 +08:00
William Cheng
7d75c66180
Various updates (#419)
* various updates

* update pom.xml

* update ci config with new location

* Change "swagger-codegen" to "openapi-generator" in a comment

* fix pom.xml for bash client

* minor fix to github ID

* fix pom for ios
2018-05-11 15:28:32 +08:00
Jérémie Bresson
9247cd01e7 Changes for Docker (#400) 2018-05-11 11:41:42 +08:00
Jeremie Bresson
53597764c3 Add OpenAPI spec 3.0 support (beta)
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2018-04-17 09:19:10 +02:00
wing328
4b428e89b6 resume docker build for swagger codegen cli 2018-01-30 11:46:11 +08:00
wing328
2178abe472 resume docker build for swagger generator 2018-01-30 11:24:39 +08:00
William Cheng
174b14ba1e
Merge pull request #7426 from swagger-api/2.4.0
Merge 2.4.0 into master
2018-01-21 23:01:21 +08:00
wing328
6b7b8771cf comment out update to docker image 2018-01-21 21:52:24 +08:00
William Cheng
389344726e
Split CircleCI test into JDK7, JDK8 specified tests (#7405)
* split out circleci pom for jdk7, jdk8

* update circle config to use jdk7 pom
2018-01-15 16:46:33 +08:00
wing328
e798c2b30e update ci config to install codegen locally 2017-12-22 11:59:40 +08:00
William Cheng
372f16d28b
Revert "Docker image tags" (#6973)
* Revert "[csharp] clean boolean additional properties 6784 (#6899)"

This reverts commit 2c9f98ce38.

* Revert "[Swift4] Add throw to reserved words (#6952)"

This reverts commit 970de01bdf.

* Revert "add a docker build tag for pushing docker image instead of just latest (#6837)"

This reverts commit 4e482eef17.
2017-11-16 14:33:30 +08:00
James Ebentier
4e482eef17 add a docker build tag for pushing docker image instead of just latest (#6837) 2017-11-15 21:37:26 +08:00
wing328
ecf924e78f [Spring] Adds feature useOptional (#5968)
* Adds Valid annotation for request body (#4847)

If useBeanValidation is active, this change will add Valid annotation to ReqeustBody

* Adds generated samples for bean vaildation in spring boot (#4847)

* Adds feature option (#3819)

When you enable the feature useOptional the JavaSpring generator will use type Optional for non required parameters.

* Adds generated sample for #3819

* Adds generated sample for #3819

* Reverts commit for bean validation

* Adds generated sample for #3819

* Reverts commit for bean validation

* Fix alignment

* update spring samples

* update pom.xml to include spring use optional samples

* update artifactId to "spring-boot-beanvalidation"

* rpelace tab with 4-space

* check mvn task result
2017-07-03 17:40:00 +08:00
wing328
691c14fa1a add --rm=false to circleci docker build commands 2017-06-07 23:09:08 +08:00
wing328
544b7b77ac comment out docker update while we're working on the issue 2017-06-07 20:03:48 +08:00
wing328
2bef56c7bd add env variables for circleci 2017-06-07 18:01:36 +08:00
wing328
bbe019a3ce move docker tasks from travis to circleci 2017-06-05 17:54:25 +08:00
wing328
faf082589d Enable Travis CI tests for Swift, ObjC clients and move some tests to CircleCI (#5687)
* enable travis CI tests for swift, objc, move some tests to circleci

* fix comment in xml file

* use xcode8.3

* use ruby 2.2.5

* fix objc core data pom.xml

* use cocoapods 1.2.1

* use xcpretty for clearer test results

* fix pom with relative path to script

* comment out objc test

* fix xcpretty exit code

* add && exit ${PIPESTATUS[0]} for swift3 xcodebuild script

* use xcode 8.2

* update promisekit version for swift 2x, 3x

* add pod repo update

* remove Pods directory

* update swift dependencies to the latest version

* update podfile.lock

* rollback Alamofire to 4.0 for swift3

* fix swift3 rxswift api cliiet

* fix testDeletePet test in Swift3 rxswift petstore

* update clojure petstore

* comment out clojure test in travis (already covered in circleci)

* run pestore server locally

* use wing328/swagger-samples to run petstore

* run petstore server in the background

* test ruby petstore client

* add /Users/travis/.cocoapods/repos/master to cache

* add back ruby test, use public pestore server

* add back bash client test

* add npm config set registry to avoid time out

* use docker branch in swagger samples

* remove bash test

* show go version, reorder

* debug go petstore client

* reinstall go

* comment out pod repo update

* uncomment pod repo update

* test go in circleci

* remove go from travis test

* brew install sbt
2017-06-05 15:43:20 +08:00
wing328
89464cbe5f Update pom.xml for CircleCI to test java-related projects only (#5477)
Update pom.xml for CircleCI to test java-related projects only
2017-04-27 00:49:03 +08:00
wing328
5a36f7435d better circleci configuration (#5456) 2017-04-23 15:59:16 +08:00
wing328
f4fb79822f Add CircleCI configuration in preparation for CI test migration (#4367)
* add codeship yml

* rename ci config

* show rvm version

* use ruby-2.1.0

* check ruby version

* use rvm default

* fix host name

* set node version

* test mvn clean install

* use -q for mvn

* set memory limit

* add export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"

* run test only

* update MaxPermSize to 256mb

* run mvn verify

* remove -q

* add comment

* add more comment

* restore ruby model order
2016-12-12 17:42:08 +08:00