Skip to content

Commit a25c1ca

Browse files
authored
Initializes project - all set for development. (#1)
1 parent 7639abc commit a25c1ca

46 files changed

Lines changed: 2471 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!-- Thanks for filing an issue! Please use this template to provide more context for the issue . -->
2+
3+
**Description of the issue**:
4+
5+
**Expected behavior**:
6+
7+
**Steps to reproduce**: <!-- Please provide a minimal and precise series of steps -->
8+
9+
**Environment**: <!-- OS, Maven, and other relevant environment information -->
10+
11+
**`skaffold-maven-plugin` Configuration:**
12+
```xml
13+
PASTE YOUR pom.xml CONFIGURATION HERE
14+
```
15+
16+
--- OR ---
17+
18+
**`skaffold-gradle-plugin` Configuration:**
19+
```xml
20+
PASTE YOUR build.gradle CONFIGURATION HERE
21+
```
22+
23+
**Log output**: <!-- If applicable, provide relevant log output -->
24+
25+
**Additional Information**: <!-- Any additional information that may be helpful -->
26+
27+
28+
<!-- Thanks for contributing! -->

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
build
2+
target
3+
out
4+
*.iml
5+
*.ipr
6+
*.iws
7+
.idea
8+
.gradle
9+
/.settings
10+
/.classpath
11+
/.project

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
These docs generate [googlecontainertools.github.io/skaffold-tools-for-java](https://googlecontainertools.github.io/skaffold-tools-for-java).

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
theme: jekyll-theme-slate

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Documentation goes here

kokoro/continuous.bat

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@echo on
2+
3+
REM Java 9 does not work with Mockito mockmaker.
4+
set JAVA_HOME=c:\program files\java\jdk1.8.0_152
5+
set PATH=%JAVA_HOME%\bin;%PATH%
6+
7+
cd github/skaffold-java
8+
9+
REM Stops any left-over containers.
10+
REM FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker rm -vf %%i
11+
12+
REM TODO: Enable integration tests once docker works (b/73345382).
13+
cd skaffold-plugins-core && call gradlew.bat clean build --info --stacktrace && ^
14+
cd ../skaffold-maven-plugin && call mvnw.cmd clean install -B -U -X && ^
15+
cd ../skaffold-gradle-plugin && call gradlew.bat clean build --info --stacktrace
16+
17+
exit /b %ERRORLEVEL%

kokoro/continuous.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# This project uses the same testing project as Jib.
6+
echo ${JIB_INTEGRATION_TESTING_KEY} > ./keyfile.json
7+
8+
set -x
9+
10+
gcloud components install docker-credential-gcr
11+
12+
# For macOS to find docker-credential-gcr
13+
export PATH=$PATH:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/
14+
15+
# docker-credential-gcr uses GOOGLE_APPLICATION_CREDENTIALS as the credentials key file
16+
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/keyfile.json
17+
docker-credential-gcr configure-docker
18+
19+
# Stops any left-over containers.
20+
docker stop $(docker container ls --quiet) || true
21+
22+
(cd github/skaffold-java/skaffold-plugins-core; ./gradlew clean build integrationTest --info --stacktrace)
23+
(cd github/skaffold-java/skaffold-maven-plugin; ./mvnw clean install -P integration-tests -B -U -X)
24+
(cd github/skaffold-java/skaffold-gradle-plugin; ./gradlew clean build integrationTest --info --stacktrace)

kokoro/presubmit.bat

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
@echo on
2+
3+
REM Java 9 does not work with Mockito mockmaker.
4+
set JAVA_HOME=c:\program files\java\jdk1.8.0_152
5+
set PATH=%JAVA_HOME%\bin;%PATH%
6+
7+
cd github/skaffold-java
8+
9+
REM Stops any left-over containers.
10+
REM FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker rm -vf %%i
11+
12+
REM TODO: Enable integration tests once docker works (b/73345382).
13+
cd skaffold-plugins-core && call gradlew.bat clean build --info --stacktrace && ^
14+
cd ../skaffold-maven-plugin && call mvnw.cmd clean install -B -U -X && ^
15+
cd ../skaffold-gradle-plugin && call gradlew.bat clean build --info --stacktrace
16+
17+
exit /b %ERRORLEVEL%

kokoro/presubmit.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
set -e
4+
set -x
5+
6+
gcloud components install docker-credential-gcr
7+
export PATH=$PATH:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin/
8+
9+
# Stops any left-over containers.
10+
docker stop $(docker container ls --quiet) || true
11+
12+
cd github/skaffold-java
13+
14+
(cd skaffold-plugins-core; ./gradlew clean build integrationTest --info --stacktrace)
15+
(cd skaffold-maven-plugin; ./mvnw clean install -B -U -X)
16+
(cd skaffold-gradle-plugin; ./gradlew clean build --info --stacktrace)

proposals/README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Design Documents and Proposals
2+
3+
This directory holds the approved design documents and proposals for changes and new features to the Skaffold-Java tools.
4+
5+
## Contribute
6+
7+
### Submit a Proposal
8+
9+
Submit a proposal by filing a pull request that adds a `<proposal_name>.md` file to this directory.
10+
11+
Follow the general layout of existing proposals. In general, make sure to include:
12+
13+
- Description of the problem
14+
- Goals to achieve
15+
- Proposed solution to the problem
16+
17+
Proposals are approved upon merge.
18+
19+
### Review a Proposal
20+
21+
Review pending proposals by commenting on [their pull requests](/../../pulls?q=is%3Aopen+is%3Apr+label%3Aproposal). Proposals in review are labelled with `proposal`.
22+
23+
For approved proposals, you may open revision pull requests with your suggestions for revision, or provide your comments in a new [issue](/../../issues/new?body=&lt;!--%20Please%20provide%20the%20link%20to%20the%20approved%20proposal%20you%20are%20commenting%20on.%20--&gt;) or messaging the [community](/../../#community).
24+
25+
### Implementing a Proposal
26+
27+
Pull requests should reference the proposal that they are implementing. Implemented proposals should be moved to `archives/` and marked with the version they will/have been released in.

0 commit comments

Comments
 (0)