-
Notifications
You must be signed in to change notification settings - Fork 369
ci: fix oss and ee release process and add ee-dryrun release process #10249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WIP Fix ee release and ee dryrun release processes
Add release-ee-dryrun
…in goreleaser files
✅ Deploy Preview for determined-ui canceled.
|
maxrussell
left a comment
There was a problem hiding this 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.
agent/.goreleaser_ee_dryrun.yml
Outdated
| #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" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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/
There was a problem hiding this comment.
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.
…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

Description
ee-dryrunrelease processTest Plan
CircleCI workflows
release,release-dryrun,release-ee, andrelease-ee-dryrunare green.Checklist
docs/release-notes/See Release Note for details.