Skip to content

Commit

Permalink
chore: fix GitHub URLs for new org eclipse-jkube (#2950)
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Nuri <marc@marcnuri.com>
  • Loading branch information
manusa committed Apr 22, 2024
1 parent 503431c commit a621561
Show file tree
Hide file tree
Showing 44 changed files with 88 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Expand Up @@ -21,7 +21,7 @@ body:
attributes:
value: |
### Creating a new Bug 🐞
🔍 Before opening a new issue please search existing issues at https://github.com/eclipse/jkube/issues
🔍 Before opening a new issue please search existing issues at https://github.com/eclipse-jkube/jkube/issues
🤔 To make it easier for us to help you, please include as much useful information as possible.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Expand Up @@ -21,7 +21,7 @@ contact_links:
url: https://accounts.eclipse.org/mailing-list/jkube-dev
about: Eclipse JKube Developer Discussions
- name: Eclipse JKube GitHub Discussions
url: https://github.com/eclipse/jkube/discussions
url: https://github.com/eclipse-jkube/jkube/discussions
about: Eclipse JKube GitHub Discussions
- name: Stack Overflow
url: https://stackoverflow.com/questions/tagged/jkube
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/enhancement.yml
Expand Up @@ -21,7 +21,7 @@ body:
attributes:
value: |
### Suggesting a new enhancement💡
🔍 Before opening a new issue please search existing issues at https://github.com/eclipse/jkube/issues
🔍 Before opening a new issue please search existing issues at https://github.com/eclipse-jkube/jkube/issues
🤔 To make it easier for us to help you, please include as much useful information as possible.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/task.yml
Expand Up @@ -21,7 +21,7 @@ body:
attributes:
value: |
### Suggesting a new task 🔧
🔍 Before opening a new issue please search existing issues at https://github.com/eclipse/jkube/issues
🔍 Before opening a new issue please search existing issues at https://github.com/eclipse-jkube/jkube/issues
🤔 To make it easier for us to help you, please include as much useful information as possible.
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Expand Up @@ -33,7 +33,7 @@ What types of changes does your code introduce? Put an `x` in all the boxes that
- [ ] I tested my code in OpenShift

<!--
Integration tests (https://github.com/jkubeio/jkube-integration-tests)
Integration tests (https://github.com/eclipse-jkube/jkube-integration-tests)
Please check integration tests and provide/improve tests if necessary.
Open your PR in Draft mode and verify all of the applicable Checklist items before marking your issue as ready
Expand Down
2 changes: 1 addition & 1 deletion .jenkins/pipelines/sonar.Jenkinsfile
Expand Up @@ -16,7 +16,7 @@ pipeline {
steps {
sh 'echo "Building Project and analyzing with Sonar"'
// Required by Sonar to compare coverage info, etc. with master
sh 'git remote add upstream https://github.com/eclipse/jkube.git'
sh 'git remote add upstream https://github.com/eclipse-jkube/jkube.git'
sh 'git fetch upstream'
// Needs install instad of verify since ITs rely on artifacts from previous modules
sh './mvnw -V -B -e -Pjacoco,sonar install ' +
Expand Down
2 changes: 1 addition & 1 deletion BUILDING.md
Expand Up @@ -17,7 +17,7 @@ the source code before generating the documentation in order to spread the
"condensed" javadoc declared in the Lombok affected fields.

## Integration tests
Apart from tests that are available in this repository, there is a separate repository with intergration tests [available here](https://github.com/jkubeio/jkube-integration-tests).
Apart from tests that are available in this repository, there is a separate repository with integration tests [available here](https://github.com/eclipse-jkube/jkube-integration-tests).

## Release process
Release process has to be performed in a project fork.
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Expand Up @@ -13,7 +13,7 @@ After this we will switch probably to real [Semantic Versioning 2.0.0](http://se
## Extracting changelog portions
We provide a script to extract changelog portions and automatic link building to send notifications
(i.e. e-mail) about new releases
([scripts/extract-changelog-for-version.sh](https://github.com/eclipse/jkube/blob/master/scripts/extract-changelog-for-version.sh))
([scripts/extract-changelog-for-version.sh](https://github.com/eclipse-jkube/jkube/blob/master/scripts/extract-changelog-for-version.sh))

Usage:
```
Expand Down Expand Up @@ -480,7 +480,7 @@ Only the set of documented features are available to users.
* Fix #73: Jib Support, Port of fabric8io/fabric8-maven-plugin#1766
* Fix #195: Added MigrateMojo for migrating projects from FMP to JKube
* Fix #238: Watch uses same logic as build to monitor changed assembly files
* Fix #245: Debug goals work on webapp (Tomcat & Jetty) > See https://github.com/jkubeio/jkube-images/releases/tag/v0.0.7
* Fix #245: Debug goals work on webapp (Tomcat & Jetty) > See https://github.com/eclipse-jkube/jkube-images/releases/tag/v0.0.7
* Fix #261: DockerFileBuilder only supports \*nix paths (Dockerfile Linux only), fixed invalid default configs
* Fix #246: Dockerfile custom interpolation is broken
* Fix #259: Cleanup unused properties inside Mojos
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -7,7 +7,7 @@ section at the [Eclipse JKube](https://www.eclipse.dev/jkube/) site.
## Legal

All original contributions to Eclipse JKube are licensed under the
[Eclipse Public License - v2.0.](https://github.com/eclipse/jkube/blob/master/LICENSE)
[Eclipse Public License - v2.0.](https://github.com/eclipse-jkube/jkube/blob/master/LICENSE)

First step before submitting any pull request is signing an
[Eclipse Contributor Agreement](https://accounts.eclipse.org/user/eca).
6 changes: 3 additions & 3 deletions Jenkinsfile
Expand Up @@ -19,8 +19,8 @@ pipeline {
# Setup Git Config
git config --global user.email eclipsejkubebot@eclipse.org
git config --global user.name "Eclipse JKube Bot"
git clone https://eclipse-jkube-bot:$GH_TOKEN@github.com/eclipse/jkube.git && cd jkube
git clone https://eclipse-jkube-bot:$GH_TOKEN@github.com/eclipse-jkube/jkube.git && cd jkube
# Find Project release version
HEAD=$(git log -1 --format=format:%H)
PROJECT_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
Expand All @@ -41,7 +41,7 @@ pipeline {
mvn clean -B
mvn -V -B -e -U install org.sonatype.plugins:nexus-staging-maven-plugin:1.6.7:deploy -P release -DnexusUrl=https://oss.sonatype.org -DserverId=ossrh
# Modify poms back to SNAPSHOT VERSIONS
MAJOR_VERSION=`echo $NEXT_RELEASE_VERSION | cut -d. -f1`
MINOR_VERSION=`echo $NEXT_RELEASE_VERSION | cut -d. -f2`
Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -3,13 +3,13 @@
> Cloud-Native Java Applications without a hassle
[![Circle CI](https://circleci.com/gh/eclipse/jkube/tree/master.svg?style=shield)](https://circleci.com/gh/eclipse/jkube/tree/master)
[![E2E Tests](https://github.com/jkubeio/jkube-integration-tests/actions/workflows/e2e-tests.yml/badge.svg)](https://github.com/jkubeio/jkube-integration-tests/actions/workflows/e2e-tests.yml)
[![E2E Tests](https://github.com/eclipse-jkube/jkube-integration-tests/actions/workflows/e2e-tests.yml/badge.svg)](https://github.com/eclipse-jkube/jkube-integration-tests/actions/workflows/e2e-tests.yml)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=jkubeio_jkube&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=jkubeio_jkube)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=jkubeio_jkube&metric=coverage)](https://sonarcloud.io/dashboard?id=jkubeio_jkube)
[![Gitter](https://badges.gitter.im/eclipse/jkube.svg)](https://gitter.im/eclipse/jkube?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Gitter](https://badges.gitter.im/eclipse-jkube/jkube.svg)](https://gitter.im/eclipse-jkube/jkube?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Twitter](https://img.shields.io/twitter/follow/jkubeio?style=social)](https://twitter.com/jkubeio)

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/eclipse/jkube)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/eclipse-jkube/jkube)

<p align="center">
<a href="https://www.eclipse.dev/jkube/">
Expand Down Expand Up @@ -129,7 +129,7 @@ You can take a look at our quickstarts in [quickstarts](./quickstarts) directory

### Hello World using Eclipse JKube

- Clone repository and move to quickstart [helloworld](https://github.com/eclipse/jkube/tree/master/quickstarts/maven/hello-world) sample, build project and run JKube goals:
- Clone repository and move to quickstart [helloworld](https://github.com/eclipse-jkube/jkube/tree/master/quickstarts/maven/hello-world) sample, build project and run JKube goals:

```shell script
# 1. Clone repository
Expand Down
Expand Up @@ -4,7 +4,7 @@
You can also use an external configuration in form of YAML resource descriptors which are located in the `src/main/jkube` directory. Each resource gets its own file, which contains a skeleton of a resource descriptor. The plugin will pick up the resource, enrich it and then combine all to a single `kubernetes.yml` and `openshift.yml` file. Within these descriptor files you are can freely use any Kubernetes feature.

Let's have a look at an example from
https://github.com/eclipse/jkube/tree/master/quickstarts/gradle/external-resources[quickstarts/gradle/external-resources].
https://github.com/eclipse-jkube/jkube/tree/master/quickstarts/gradle/external-resources[quickstarts/gradle/external-resources].
This is a plain Spring Boot application, whose images are auto generated like in case of no configuration.
The resource fragments are in `src/main/jkube`.

Expand Down
Expand Up @@ -14,7 +14,7 @@ The plugin configuration can be roughly divided into the following sections:
* `resources` defines the resource descriptors for deploying on {cluster} cluster.
* `enricher` configures various aspects of creating and enhancing resource descriptors.

A working example can be found in https://github.com/eclipse/jkube/tree/master/quickstarts/gradle/groovy-dsl-config[`quickstarts/gradle/groovy-dsl-config`] directory.
A working example can be found in https://github.com/eclipse-jkube/jkube/tree/master/quickstarts/gradle/groovy-dsl-config[`quickstarts/gradle/groovy-dsl-config`] directory.

[[groovy-scenario-image]]
=== Configuring Images
Expand Down
Expand Up @@ -54,7 +54,7 @@ public AuthConfig createAuthConfig() {
if (t.getCause() != null) {
log.warn("Caused by: %s", t.getCause().getMessage());
}
log.warn("Please report a bug at https://github.com/eclipse/jkube/issues/new?%s",
log.warn("Please report a bug at https://github.com/eclipse-jkube/jkube/issues/new?%s",
issueTitle == null ? "" : "title=?" + issueTitle);
log.warn("%s", t);
return null;
Expand Down
Expand Up @@ -136,11 +136,11 @@ public static Properties getPropertiesWithSystemOverrides(JavaProject project) {
* <p> In case no artifacts are found or configured, this method returns null.
*
* <p> TODO: https://github.com/eclipse/jkube/issues/817
* <p> TODO: https://github.com/eclipse-jkube/jkube/issues/817
* <br> This method prioritizes artifact inference instead of configuration. This is done to handle case of maven
* where value of artifact varies depending upon the maven phase in which goal was executed.
*
* @see <a href="https://github.com/eclipse/jkube/issues/817">#817</a>
* @see <a href="https://github.com/eclipse-jkube/jkube/issues/817">#817</a>
*
* @param jkubeProject project for which to retrieve the output artifact.
* @return the final output artifact file or null if it doesn't exist.
Expand Down
Expand Up @@ -100,7 +100,7 @@ void propertyTest(String testDesc, String systemKey, String systemValue, String
// Given
try {
System.setProperty(systemKey, systemValue);
// TODO : Replace this when https://github.com/eclipse/jkube/issues/958 gets fixed
// TODO : Replace this when https://github.com/eclipse-jkube/jkube/issues/958 gets fixed
final Properties fallback = new Properties();
fallback.put(fallbackKey, fallbackValue);
// When
Expand Down
Expand Up @@ -293,7 +293,7 @@ void testIsWindowsFalse(){
try {
//Given
System.setProperty("os.name", "random");
// TODO : Replace this when https://github.com/eclipse/jkube/issues/958 gets fixed
// TODO : Replace this when https://github.com/eclipse-jkube/jkube/issues/958 gets fixed
//When
boolean result = EnvUtil.isWindows();
//Then
Expand All @@ -309,7 +309,7 @@ void testIsWindows(){
try {
//Given
System.setProperty("os.name", "windows");
// TODO : Replace this when https://github.com/eclipse/jkube/issues/958 gets fixed
// TODO : Replace this when https://github.com/eclipse-jkube/jkube/issues/958 gets fixed
//When
boolean result = EnvUtil.isWindows();
//Then
Expand Down
Expand Up @@ -83,7 +83,7 @@ void testCreateDirectory() throws IOException {
assertThat(newDirectory).exists();
}

// https://github.com/eclipse/jkube/issues/895
// https://github.com/eclipse-jkube/jkube/issues/895
@Test
void createDirectory_withTrailingSlash_shouldNotFail() throws IOException {
final File toCreate = new File(folder.toPath().resolve("first").resolve("second").toFile(),
Expand Down
Expand Up @@ -191,7 +191,7 @@ void getProperty_whenSystemPropertyPresent_returnsSystemProperty() {
// Given
try {
System.setProperty("jkube.testProperty", "true");
// TODO : Replace this when https://github.com/eclipse/jkube/issues/958 gets fixed
// TODO : Replace this when https://github.com/eclipse-jkube/jkube/issues/958 gets fixed

// When
String result = JKubeProjectUtil.getProperty("jkube.testProperty", project);
Expand Down
Expand Up @@ -43,7 +43,7 @@ class ImageNameORASReferenceTest {
"localhost:5000/hello-world:v2@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
"127.0.0.1:5000/hello-world:v2@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
"[::1]:5000/hello-world:v1",
//"registry.example.com/hello-world:@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", // https://github.com/eclipse/jkube/issues/2545
//"registry.example.com/hello-world:@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", // https://github.com/eclipse-jkube/jkube/issues/2545
})
void validImageNamesCompatibleWithAll(String name) {
// Given + When
Expand All @@ -60,7 +60,7 @@ void validImageNamesCompatibleWithAll(String name) {
"registry.example.com/hello-world:foobar:sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", // Invalid Digest prefix: colon instead of the at sign
"registry.example.com/hello-world@@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", // Invalid Digest prefix: double at sign
"registry.example.com/hello-world @sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9", // Invalid Digest prefix: space
//"registry.example.com/foobar@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde" // https://github.com/eclipse/jkube/issues/2543
//"registry.example.com/foobar@sha256:b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde" // https://github.com/eclipse-jkube/jkube/issues/2543
})
void invalidImageNames(String name) {
assertThatIllegalArgumentException().isThrownBy(() -> new ImageName(name));
Expand Down
2 changes: 1 addition & 1 deletion jkube-kit/doc/ci-docs.sh
Expand Up @@ -18,7 +18,7 @@ echo ============================================

cd doc && \
mvn -Phtml,pdf package && \
git clone -b gh-pages https://rhuss:${GITHUB_TOKEN}@github.com/jkubeio/jkube-kit.git gh-pages && \
git clone -b gh-pages https://rhuss:${GITHUB_TOKEN}@github.com/eclipse-jkube/jkube.git gh-pages && \
git config --global user.email "travis@jkube.io" && \
git config --global user.name "Travis" && \
cp -rv target/generated-docs/* gh-pages/ && \
Expand Down
6 changes: 3 additions & 3 deletions jkube-kit/doc/src/main/asciidoc/inc/_enricher.adoc
Expand Up @@ -287,13 +287,13 @@ endif::[]

_How to write your own enrichers and install them._

It's possible to extend Eclipse JKube's Enricher API to define your own custom Enrichers as per use case. Please refer to the https://github.com/eclipse/jkube/blob/master/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/Enricher.java[Enricher]
It's possible to extend Eclipse JKube's Enricher API to define your own custom Enrichers as per use case. Please refer to the https://github.com/eclipse-jkube/jkube/blob/master/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/api/Enricher.java[Enricher]
Interface; You can create new enrichers by implementing this interface.


ifeval::["{plugin-type}" == "gradle"]
Please check out https://github.com/eclipse/jkube/blob/master/quickstarts/kit/custom-istio-enricher-gradle/istio-enricher/[Custom Istio Enricher Gradle] quickstart for detailed example.
Please check out https://github.com/eclipse-jkube/jkube/blob/master/quickstarts/kit/custom-istio-enricher-gradle/istio-enricher/[Custom Istio Enricher Gradle] quickstart for detailed example.
endif::[]
ifeval::["{plugin-type}" == "maven"]
Please check out https://github.com/eclipse/jkube/blob/master/quickstarts/kit/custom-istio-enricher/istio-enricher/[Custom Istio Enricher Maven] quickstart for detailed example.
Please check out https://github.com/eclipse-jkube/jkube/blob/master/quickstarts/kit/custom-istio-enricher/istio-enricher/[Custom Istio Enricher Maven] quickstart for detailed example.
endif::[]
10 changes: 5 additions & 5 deletions jkube-kit/doc/src/main/asciidoc/inc/_faq.adoc
Expand Up @@ -20,13 +20,13 @@ spec:

The above will generate an environment variable `$FOO` of value `bar`

For a full list of the environments used in java base images, https://github.com/jkubeio/jkube-images#available-imagesk[see this list]
For a full list of the environments used in java base images, https://github.com/eclipse-jkube/jkube-images#available-imagesk[see this list]

=== How do I define a system property?

The simplest way is to add system properties to the `JAVA_OPTIONS` environment variable.

For a full list of the environments used in java base images, https://github.com/jkubeio/jkube-images#available-images[see this list]
For a full list of the environments used in java base images, https://github.com/eclipse-jkube/jkube-images#available-images[see this list]

e.g. add a `src/main/jkube/deployment.yml` file to your project containing something like:

Expand Down Expand Up @@ -80,7 +80,7 @@ spec:
mountPath: /deployments/config
----

Here is https://github.com/eclipse/jkube/tree/master/quickstarts/maven/external-resources[an example quickstart doing this]
Here is https://github.com/eclipse-jkube/jkube/tree/master/quickstarts/maven/external-resources[an example quickstart doing this]

Note that the annotation `configmap.jkube.io/update-on-change` is optional; its used if your application is not capable
of watching for changes in the `/deployments/config/application.properties` file. In this case if you are also running
Expand Down Expand Up @@ -151,7 +151,7 @@ jkube.domain=example.com
endif::[]

ifeval::["{plugin-type}" == "maven"]
You can find an example in our link: https://github.com/eclipse/jkube/tree/master/quickstarts/maven/spring-boot[spring-boot]
You can find an example in our link: https://github.com/eclipse-jkube/jkube/tree/master/quickstarts/maven/spring-boot[spring-boot]
quickstart in `kubernetes-with-ingress` profile.
endif::[]

Expand Down Expand Up @@ -205,7 +205,7 @@ ifeval::["{plugin-type}" == "gradle"]
from = "openjdk:latest"
cmd {
exec = ["java", "-jar", "${project.name}-${project.version}.jar"]
}
}
}
}
}
Expand Down

0 comments on commit a621561

Please sign in to comment.