forked from loafle/openapi-generator-original
Cleanup Shippable CI config and file (#14145)
* clean up shippable ci related config and files * comment out closeAndReleaseRepository * Revert "comment out closeAndReleaseRepository" This reverts commit 5a76e403b1419950b229e14199970b2e858da017. * remove closeAndReleaseRepository
This commit is contained in:
parent
792d44d797
commit
77e06466db
@ -160,8 +160,6 @@ after_success:
|
||||
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
|
||||
pushd .;
|
||||
cd modules/openapi-generator-gradle-plugin;
|
||||
./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/sec.gpg" -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" publishPluginMavenPublicationToSonatypeRepository closeAndReleaseRepository;
|
||||
echo "Finished ./gradlew publishPluginMavenPublicationToSonatypeRepository closeAndReleaseRepository";
|
||||
popd;
|
||||
elif [ -z $TRAVIS_TAG ] && [[ "$TRAVIS_BRANCH" =~ ^[0-9]+\.[0-9]+\.x$ ]]; then
|
||||
echo "Publishing from branch $TRAVIS_BRANCH";
|
||||
@ -169,8 +167,6 @@ after_success:
|
||||
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
|
||||
pushd .;
|
||||
cd modules/openapi-generator-gradle-plugin;
|
||||
./gradlew -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" publishPluginMavenPublicationToSonatypeRepository closeAndReleaseRepository;
|
||||
echo "Finished ./gradlew publishPluginMavenPublicationToSonatypeRepository closeAndReleaseRepository";
|
||||
popd;
|
||||
fi;
|
||||
if [ -n $TRAVIS_TAG ] && [[ "$TRAVIS_TAG" =~ ^[v][0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
|
18
pom.xml
18
pom.xml
@ -1300,24 +1300,6 @@
|
||||
<module>samples/client/petstore/java-micronaut-client</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<!-- test with JDK9 in Shippable CI -->
|
||||
<profile>
|
||||
<id>samples.shippable</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>env</name>
|
||||
<value>samples.shippable</value>
|
||||
</property>
|
||||
</activation>
|
||||
<modules>
|
||||
<!-- clients -->
|
||||
<module>samples/openapi3/client/elm</module>
|
||||
<!--<module>samples/client/petstore/elixir</module>-->
|
||||
<module>samples/client/petstore/erlang-client</module>
|
||||
<module>samples/client/petstore/erlang-proper</module>
|
||||
<!--<module>samples/server/petstore/erlang-server</module>-->
|
||||
</modules>
|
||||
</profile>
|
||||
<!-- test with Haskell -->
|
||||
<profile>
|
||||
<id>samples.misc</id>
|
||||
|
@ -1,50 +0,0 @@
|
||||
language: java
|
||||
|
||||
jdk:
|
||||
- openjdk11
|
||||
|
||||
build:
|
||||
cache: true
|
||||
cache_dir_list:
|
||||
- $HOME/.m2
|
||||
- $HOME/.stack
|
||||
- $SHIPPABLE_REPO_DIR/samples/client/petstore/elixir/deps
|
||||
ci:
|
||||
# fix shippable apt-get errors
|
||||
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 23E7166788B63E1E 6A030B21BA07F4FB 4B8EC3BAABDC4346 EB3E94ADBE1229CF 960B2B2623A0BD5D 6B05F25D762E3157
|
||||
#- rm /etc/apt/sources.list.d/jonathonf-ubuntu-backports-xenial.list
|
||||
- rm /etc/apt/sources.list.d/basho_riak.list
|
||||
# install Gradle 7.6
|
||||
- wget https://services.gradle.org/distributions/gradle-7.6-bin.zip
|
||||
- sudo mkdir /opt/gradle
|
||||
- unzip -d /opt/gradle gradle-7.6-bin.zip
|
||||
- export PATH=/opt/gradle/gradle-7.6/bin:$PATH
|
||||
- gradle -v
|
||||
- java -version
|
||||
# ensure all modifications created by 'mature' generators are in the git repo
|
||||
# below move to CircleCI ./bin/utils/ensure-up-to-date
|
||||
# prepare environment for tests
|
||||
#- sudo apt-get update -qq
|
||||
# install stack
|
||||
#- curl -sSL https://get.haskellstack.org/ | sh
|
||||
#- stack upgrade
|
||||
#- stack --version
|
||||
# install elixir
|
||||
#- sudo apt-get install erlang
|
||||
- wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install elixir
|
||||
# install elm
|
||||
- curl -SL https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz | zcat > /usr/local/bin/elm
|
||||
- chmod +x /usr/local/bin/elm
|
||||
# install rebar3
|
||||
- wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3 && cp rebar3 /usr/bin
|
||||
# install php
|
||||
#- apt-get install php
|
||||
# show version
|
||||
#- php -v
|
||||
- rebar3 -v
|
||||
- elixir --version
|
||||
- mix --version
|
||||
# test samples defined in pom.xml
|
||||
- mvn --no-snapshot-updates --quiet verify -P samples.shippable -Dmaven.javadoc.skip=true
|
Loading…
x
Reference in New Issue
Block a user