pulumi-eks icon indicating copy to clipboard operation
pulumi-eks copied to clipboard

Please release 0.4.x series to Maven Central

Open t0yv0 opened this issue 2 years ago • 1 comments

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Currently https://mvnrepository.com/artifact/com.pulumi/eks only contains 0.37.1 as the latest released version. As a result I cannot follow instructions https://stackoverflow.com/questions/72473455/is-there-a-way-to-solve-kubeconfig-user-entry-is-using-deprecated-api-version/72474110#72474110 and currently getting:

  kubernetes:core/v1:ConfigMap (my-cluster-nodeAccess):
    error: failed to initialize discovery client: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

When trying to provision eks-minimal Java example updated in https://github.com/pulumi/examples/pull/1281

Affected area/feature

t0yv0 avatar Sep 13 '22 20:09 t0yv0

@t0yv0 there hasn’t been an eks release of a full version since we merged in Java to this repo

the next release will go out this week and be 0.42.0 and include it

stack72 avatar Sep 13 '22 21:09 stack72

I still see only 0.37.1 in Maven Central, but 0.42.1 is in PyPI, so it does appear there is still a problem with Maven publishing here?

lukehoban avatar Oct 06 '22 16:10 lukehoban

According to the last release (v0.42.1) the Java publish step succeeded without errors but the version has not appeared in Maven Central.

@t0yv0 any additional insight here would be great!

danielrbradley avatar Oct 12 '22 11:10 danielrbradley

https://github.com/pulumi/pulumi-eks/actions/runs/3185345571/jobs/5195371963#step:14:35 PACKAGE_VERSION env var is set to empty, could this be the problem?

t0yv0 avatar Oct 12 '22 14:10 t0yv0

Could troubleshoot locally using these steps:

  1. Get env vars from https://github.com/pulumi/home/wiki/Producing-Java-SDKs

  2. Run this with the proper env vars:

PACKAGE_VERSION=1.2.3
SIGNING_KEY=...
SINGING_PASSWORD=...
PUBLISH_REPO_USERNAME=..
PUBLISH_REPO_PASSWORD=..

cd sdk/java && gradle publishToSonatype closeAndReleaseSonatypeStagingRepository
  1. Monitor in Gradle Nexus portal UI (login instructions on the same wikipage)

t0yv0 avatar Oct 12 '22 14:10 t0yv0

That's great thanks! Yes, it looks like we were trying to use pulumictl to set the version before we'd installed pulumictl. Will get this merged and test cutting a new release

danielrbradley avatar Oct 13 '22 13:10 danielrbradley