-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
358ce5c
commit cfa3440
Showing
53 changed files
with
140 additions
and
175 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
...le-in-assembly-gets-overwritten/jkube-generated-layer-final-artifact/maven/test-0.1.0.jar
This file was deleted.
Oops, something went wrong.
Empty file modified
0
jkube-kit/build/service/buildpacks/src/test/resources/invalid-pack
100755 → 100644
Empty file.
Empty file modified
0
jkube-kit/build/service/buildpacks/src/test/resources/invalid-pack.bat
100755 → 100644
Empty file.
Empty file.
Empty file modified
0
jkube-kit/build/service/buildpacks/src/test/resources/pack.bat
100755 → 100644
Empty file.
Empty file modified
0
...service/docker/src/main/java/org/eclipse/jkube/kit/build/service/docker/WatchService.java
100755 → 100644
Empty file.
58 changes: 29 additions & 29 deletions
58
jkube-kit/common/src/test/java/org/eclipse/jkube/kit/common/util/Base64UtilTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
/* | ||
* Copyright (c) 2019 Red Hat, Inc. | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at: | ||
* | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package org.eclipse.jkube.kit.common.util; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
class Base64UtilTest { | ||
|
||
@Test | ||
void testBase64EncodeAndDecode() { | ||
String raw = "Send reinforcements"; | ||
String encode = "U2VuZCByZWluZm9yY2VtZW50cw=="; | ||
assertThat(Base64Util.encodeToString(raw)).isEqualTo(encode); | ||
assertThat(Base64Util.decodeToString(encode)).isEqualTo(raw); | ||
} | ||
} | ||
/* | ||
* Copyright (c) 2019 Red Hat, Inc. | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at: | ||
* | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package org.eclipse.jkube.kit.common.util; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
class Base64UtilTest { | ||
|
||
@Test | ||
void testBase64EncodeAndDecode() { | ||
String raw = "Send reinforcements"; | ||
String encode = "U2VuZCByZWluZm9yY2VtZW50cw=="; | ||
assertThat(Base64Util.encodeToString(raw)).isEqualTo(encode); | ||
assertThat(Base64Util.decodeToString(encode)).isEqualTo(raw); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
68 changes: 34 additions & 34 deletions
68
kubernetes-maven-plugin/it/src/it/secret-config/src/main/java/hello/Application.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
/* | ||
* Copyright (c) 2019 Red Hat, Inc. | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at: | ||
* | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package hello; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@SpringBootApplication | ||
@RestController | ||
public class Application { | ||
|
||
@RequestMapping("/") | ||
public String home() { | ||
return "Hello World"; | ||
} | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(Application.class, args); | ||
} | ||
|
||
} | ||
/* | ||
* Copyright (c) 2019 Red Hat, Inc. | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at: | ||
* | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package hello; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@SpringBootApplication | ||
@RestController | ||
public class Application { | ||
|
||
@RequestMapping("/") | ||
public String home() { | ||
return "Hello World"; | ||
} | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(Application.class, args); | ||
} | ||
|
||
} |
42 changes: 21 additions & 21 deletions
42
kubernetes-maven-plugin/it/src/it/secret-config/src/main/jkube/docker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mydockerkey | ||
namespace: default | ||
annotations: | ||
jkube.eclipse.org/dockerServerId: docker.io | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mydockerkey | ||
namespace: default | ||
annotations: | ||
jkube.eclipse.org/dockerServerId: docker.io | ||
type: kubernetes.io/dockercfg |
68 changes: 34 additions & 34 deletions
68
openshift-maven-plugin/it/src/it/secret-config/src/main/java/hello/Application.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
/* | ||
* Copyright (c) 2019 Red Hat, Inc. | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at: | ||
* | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package hello; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@SpringBootApplication | ||
@RestController | ||
public class Application { | ||
|
||
@RequestMapping("/") | ||
public String home() { | ||
return "Hello World"; | ||
} | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(Application.class, args); | ||
} | ||
|
||
} | ||
/* | ||
* Copyright (c) 2019 Red Hat, Inc. | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at: | ||
* | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat, Inc. - initial API and implementation | ||
*/ | ||
package hello; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@SpringBootApplication | ||
@RestController | ||
public class Application { | ||
|
||
@RequestMapping("/") | ||
public String home() { | ||
return "Hello World"; | ||
} | ||
|
||
public static void main(String[] args) { | ||
SpringApplication.run(Application.class, args); | ||
} | ||
|
||
} |
44 changes: 22 additions & 22 deletions
44
openshift-maven-plugin/it/src/it/secret-config/src/main/jkube/docker.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mydockerkey | ||
namespace: default | ||
annotations: | ||
jkube.eclipse.org/dockerServerId: docker.io | ||
type: kubernetes.io/dockercfg | ||
# | ||
# Copyright (c) 2019 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at: | ||
# | ||
# https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
|
||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mydockerkey | ||
namespace: default | ||
annotations: | ||
jkube.eclipse.org/dockerServerId: docker.io | ||
type: kubernetes.io/dockercfg |
Empty file modified
0
quickstarts/gradle/docker-file-provided-context-and-assembly/gradlew
100755 → 100644
Empty file.
Empty file modified
0
quickstarts/gradle/docker-file-provided-context-and-file/gradlew
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
16 changes: 0 additions & 16 deletions
16
quickstarts/maven/spring-boot-with-jib/src/main/deployments/bin/test.sh
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
quickstarts/maven/spring-boot/src/main/deployments/bin/test.sh
This file was deleted.
Oops, something went wrong.
Empty file modified
0
quickstarts/maven/tomee/src/main/tomee/conf/logging.properties
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.