jkube
jkube copied to clipboard
Quickstart using Jitpack as plugin repository
Description
Testing the newly implemented features of Eclipse JKube prior to a release is critical to deliver a great product.
For users reporting bugs, it might be helpful to validate that an issue was effectively fixed by being able to use the latest SNAPSHOT from the main/master branch.
Since we don't provide nightly builds (Jitpack seems like a much more powerful option), we need to provide better instructions to use Jitpack instead.
What to do
Provide a Maven quickstart that uses Jitpack as repository and pluginRepository using the quickstarts/maven/zero-config as reference.
Changes:
Change | |
---|---|
location | quickstarts/maven/zero-config-jitpack |
artifactId | jkube-maven-sample-zero-config-jitpack |
name | Eclipse JKube :: Quickstarts :: Maven :: Zero-Config (Jitpack) |
description | How to use Eclipse JKube from Jitpack |
Add the following to the pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</pluginRepository>
</pluginRepositories>
Replace the plugin references:
From:
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<version>${jkube.version}</version>
</plugin>
<! -- ... -->
<plugin>
<groupId>org.eclipse.jkube</groupId>
<artifactId>openshift-maven-plugin</artifactId>
<version>${jkube.version}</version>
</plugin>
To:
<plugin>
<groupId>com.github.eclipse.jkube</groupId>
<artifactId>kubernetes-maven-plugin</artifactId>
<version>master-SNAPSHOT</version>
</plugin>
<! -- ... -->
<plugin>
<groupId>com.github.eclipse.jkube</groupId>
<artifactId>openshift-maven-plugin</artifactId>
<version>master-SNAPSHOT</version>
</plugin>
How to manually test my changes
Kubernetes
If you don't have a real Kubernetes cluster available (most probably), you can use Minikube or Kind to test with a local cluster.
- Minikube get started guide
- Kind (Requires Docker) quick start
OpenShift
If you don't have a real OpenShift cluster available (most probably), you can use Red Hat's developer Sandbox for Red Hat OpenShift. The only requirement is to have a Red Hat account.
Once you have your Sandbox environment, you'll need to download the oc tool from the cluster console.
(Press the ?
icon and from the context menu select Command line tools
, you'll be redirected to https://$subdomain.openshiftapps.com/command-lines-tools where you'll be able to download the CLI for your platform)
I can help with this!
I'll assign to you. Let us know if you need assistance.
Polite ping, are you still working on this issue?
@manusa @rohanKanojia Is the issue available?
I guess that after 2 weeks of silence you can work on this @theexplorist, thx!
Is this issue still available @manusa ?
Is this issue still available @manusa ?
Working on it, you can see its assigned
Hey is this issue still open to work on?? I want to work on this if no one is working.
Hey @theexplorist are you still working on this?
hey @manusa is the issue still available? I would like to help!
Hi, there is already an open PR #1293 for this. However, I'm unsure if it works (we need to review).
Given the difficult setup, I'm reconsidering the option to provide nightly SNAPSHOT builds in the standard Sonatype repo. We followed this approach for the Fabric8 Kubernetes Client, and it's giving good results. So removing the complex setup friction point seems like a good idea (at the user's expense of consuming non-deterministic SNAPSHOT versions).
@manusa hey i am beginner in open source can you suggest me some beginner friendly issues to contribute to