Skip to content

Conversation

@Bill-Becker
Copy link
Collaborator

  • Migrate the production API to deploy to ponderosa.nrel.gov
  • Migrate the development and staging API to deploy to test-ponderosa.nrel.gov

@Bill-Becker Bill-Becker requested a review from Copilot August 13, 2025 18:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the REopt API deployment infrastructure from the current Kubernetes clusters to Ponderosa infrastructure at NREL, updating both production and development/staging environments to use new cluster endpoints.

  • Updates Kubernetes configuration credentials across all Jenkins pipeline files
  • Migrates development and staging environments to kubeconfig-nrel-reopt-prod4
  • Migrates production environment to kubeconfig-nrel-reopt-prod5
  • Updates CronJob API version from deprecated batch/v1beta1 to stable batch/v1

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Jenkinsfile Updates kubeconfig credentials for dev, staging, and production deployment stages
Jenkinsfile-undeploy-staging Updates staging undeploy pipeline to use new cluster credentials
Jenkinsfile-undeploy-develop Updates development undeploy pipeline to use new cluster credentials
Jenkinsfile-image-cleanup Updates image cleanup pipeline with new credentials for all environments
.helm/templates/ecr-image-pull-secret.yaml Updates CronJob API version to current stable version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

name: {{ .Chart.Name }}-ecr-login-renew-secrets
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
Copy link

Copilot AI Aug 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good practice to update from the deprecated batch/v1beta1 to the stable batch/v1 API version for CronJob resources. This ensures compatibility with newer Kubernetes versions.

Copilot uses AI. Check for mistakes.
@Bill-Becker Bill-Becker merged commit db511f1 into develop Aug 13, 2025
1 check passed
@Bill-Becker Bill-Becker deleted the ponderosa branch August 13, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants