Skip to content

Conversation

@jgongd
Copy link
Contributor

@jgongd jgongd commented Mar 7, 2025

Description

  • add an ee-dryrun release process
  • Correct the usage of .Env.VERSION_DOCKER, .ENV.VERSION and .VERSION in the goreleaser yml files.
  • fix a qemu error in docker build arm images

Test Plan

CircleCI workflows release, release-dryrun, release-ee, and release-ee-dryrun are green.

Checklist

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

@jgongd jgongd requested a review from maxrussell March 7, 2025 18:34
@jgongd jgongd requested review from a team as code owners March 7, 2025 18:34
@jgongd jgongd requested review from gt2345 and mackrorysd March 7, 2025 18:35
@cla-bot cla-bot bot added the cla-signed label Mar 7, 2025
@netlify
Copy link

netlify bot commented Mar 7, 2025

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 6160416
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/67cb739e21ae91000821699b

Copy link
Contributor

@maxrussell maxrussell left a comment

Choose a reason for hiding this comment

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

Just that nit about the comment. LGTM either way.

Comment on lines 27 to 60
#brews:
# - name: determined-agent
# tap:
# owner: determined-ai
# name: homebrew-determined
# url_template: "https://github.com/determined-ai/determined/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
# caveats: |
# Determined agent config is located at #{etc}/determined/agent.yaml
# homepage: "https://github.com/determined-ai/determined"
# license: "Apache-2.0"
# folder: Formula
# install: |
# bin.install "determined-agent"
#
# doc.install "LICENSE"
#
# (var/"log/determined").mkpath
#
# (etc/"determined").mkpath
# inreplace "etc/determined/agent.yaml" do |s|
# s.gsub! "# master_host: 0.0.0.0", "master_host: 127.0.0.1"
# s.gsub! "# master_port: 80", "master_port: 8080"
# end
#
# Pathname("etc/determined/agent.yaml").append_lines <<~EOS
# container_master_host: host.docker.internal
# EOS
#
# etc.install "etc/determined/agent.yaml" => "determined/agent.yaml"
# service: |
# run [opt_bin/"determined-agent", "--config-file", etc/"determined/agent.yaml"]
# keep_alive false
# error_log_path var/"log/determined/agent-stderr.log"
# log_path var/"log/determined/agent-stdout.log"
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: maybe we should just cut this comment, since we're extremely unlikely to ever uncomment this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cut

name_template: "hpe-mlde-helm-chart_{{ .VERSION }}.tgz"

# be sure to keep this in sync between agent/master/helm
# the "include" functionality is only in the pro version
Copy link
Contributor

Choose a reason for hiding this comment

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

the "include" functionality is only in the pro version

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, "include" helps reduce duplication https://goreleaser.com/customization/includes/

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I'm just doing that glare at them about making that feature only available in the pro version.

@jgongd jgongd merged commit 93c0c2a into main Mar 10, 2025
78 of 90 checks passed
@jgongd jgongd deleted the jgong/fix-ee-release-2 branch March 10, 2025 18:40
jgongd added a commit that referenced this pull request Mar 12, 2025
…10249)

* add an ee-dryrun release process
* Correct the usage of .Env.VERSION_DOCKER, .ENV.VERSION and .VERSION in the goreleaser yml files.
* fix a qemu error in docker build arm images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants