diff --git a/kokoro/continuous.bat b/kokoro/continuous.bat deleted file mode 100755 index 0ece5b9d..00000000 --- a/kokoro/continuous.bat +++ /dev/null @@ -1,17 +0,0 @@ -@echo on - -REM Java 9 does not work with Mockito mockmaker. -set JAVA_HOME=c:\program files\java\jdk1.8.0_152 -set PATH=%JAVA_HOME%\bin;%PATH% - -cd github/skaffold-java - -REM Stops any left-over containers. -REM FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker rm -vf %%i - -REM TODO: Enable integration tests once docker works (b/73345382). -cd skaffold-plugins-core && call gradlew.bat clean build --info --stacktrace && ^ -cd ../skaffold-maven-plugin && call mvnw.cmd clean install -B -U -X && ^ -cd ../skaffold-gradle-plugin && call gradlew.bat clean build --info --stacktrace - -exit /b %ERRORLEVEL% diff --git a/kokoro/continuous.sh b/kokoro/continuous.sh deleted file mode 100755 index 4dbbaa12..00000000 --- a/kokoro/continuous.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -set -e - -# This project uses the same testing project as Jib. -echo ${JIB_INTEGRATION_TESTING_KEY} > ./keyfile.json - -set -x - -gcloud components install docker-credential-gcr - -# For macOS to find docker-credential-gcr -export PATH=$PATH:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/ - -# docker-credential-gcr uses GOOGLE_APPLICATION_CREDENTIALS as the credentials key file -export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/keyfile.json -docker-credential-gcr configure-docker - -# Stops any left-over containers. -docker stop $(docker container ls --quiet) || true - -(cd github/skaffold-java/skaffold-plugins-core; ./gradlew clean build integrationTest --info --stacktrace) -(cd github/skaffold-java/skaffold-maven-plugin; ./mvnw clean install -P integration-tests -B -U -X) -(cd github/skaffold-java/skaffold-gradle-plugin; ./gradlew clean build integrationTest --info --stacktrace) diff --git a/kokoro/presubmit.bat b/kokoro/presubmit.bat deleted file mode 100755 index 0ece5b9d..00000000 --- a/kokoro/presubmit.bat +++ /dev/null @@ -1,17 +0,0 @@ -@echo on - -REM Java 9 does not work with Mockito mockmaker. -set JAVA_HOME=c:\program files\java\jdk1.8.0_152 -set PATH=%JAVA_HOME%\bin;%PATH% - -cd github/skaffold-java - -REM Stops any left-over containers. -REM FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker rm -vf %%i - -REM TODO: Enable integration tests once docker works (b/73345382). -cd skaffold-plugins-core && call gradlew.bat clean build --info --stacktrace && ^ -cd ../skaffold-maven-plugin && call mvnw.cmd clean install -B -U -X && ^ -cd ../skaffold-gradle-plugin && call gradlew.bat clean build --info --stacktrace - -exit /b %ERRORLEVEL% diff --git a/kokoro/presubmit.sh b/kokoro/presubmit.sh deleted file mode 100755 index 0c9ba842..00000000 --- a/kokoro/presubmit.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -set -e -set -x - -gcloud components install docker-credential-gcr -export PATH=$PATH:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/ - -# Stops any left-over containers. -docker stop $(docker container ls --quiet) || true - -cd github/skaffold-java - -(cd skaffold-plugins-core; ./gradlew clean build integrationTest --info --stacktrace) -(cd skaffold-maven-plugin; ./mvnw clean install -B -U -X) -(cd skaffold-gradle-plugin; ./gradlew clean build --info --stacktrace)