Skip to content

Commit

Permalink
chore: stop publishing helm charts to NGC. (#9271)
Browse files Browse the repository at this point in the history
  • Loading branch information
ioga committed Apr 30, 2024
1 parent 2905180 commit a611cf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
28 changes: 3 additions & 25 deletions .circleci/real_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ commands:
steps:
- run: echo "<<parameters.password>>" | docker login <<parameters.repository>> -u "<<parameters.username>>" --password-stdin

login-helm:
steps:
- run: helm repo add determined https://helm.ngc.nvidia.com/isv-ngc-partner/determined --username=$NGC_API_USERNAME --password=$NGC_API_KEY

reinstall-go:
steps:
- run: sudo rm -rf /usr/local/go # Remove system go.
Expand Down Expand Up @@ -1806,18 +1802,6 @@ jobs:
- store_artifacts:
path: /tmp/pkgs

publish-helm:
docker:
- image: <<pipeline.parameters.docker-image>>
steps:
- checkout
- attach_workspace:
at: .
- helm/install-helm-client
- run: helm plugin install https://github.com/chartmuseum/helm-push.git
- login-helm
- run: make -C helm release

publish-helm-gh:
parameters:
ee:
Expand Down Expand Up @@ -2005,7 +1989,7 @@ jobs:
determined: true
install-python: true
executor: <<pipeline.parameters.machine-image>>
- install-protoc
- install-protoc
- when:
condition: << parameters.ee >>
steps:
Expand All @@ -2022,9 +2006,9 @@ jobs:
- wait-for-master:
host: "localhost"
port: "8082"
- run:
- run:
environment:
PW_EE: << parameters.ee >>
PW_EE: << parameters.ee >>
command: npm run e2e --prefix webui/react
- store_artifacts:
path: webui/react/src/e2e/playwright-report
Expand Down Expand Up @@ -5477,12 +5461,6 @@ workflows:
context: determined-production
filters: *release-filters

- publish-helm:
requires:
- build-helm
context: determined-production
filters: *release-and-rc-filters

- publish-helm-gh:
requires:
- build-helm
Expand Down
8 changes: 0 additions & 8 deletions helm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@ fmt:
clean:
rm -rf build/

.PHONY: release
release: export NGC_REPO := https://helm.ngc.nvidia.com/isv-ngc-partner/determined
release: export NGC_API_USERNAME ?=
release: export NGC_API_KEY ?=
release:
helm repo add determined $$NGC_REPO --username $$NGC_API_USERNAME --password $$NGC_API_KEY
helm cm-push -f build/determined-latest.tgz determined

.PHONY: release-gh
release-gh: export GORELEASER_CURRENT_TAG := $(VERSION)
release-gh: export GORELEASER_PREVIOUS_TAG := $(shell git tag --sort=-creatordate | grep -E '^[0-9.]+$$' | grep "$(VERSION)" -A1 | sed -n '2 p')
Expand Down

0 comments on commit a611cf0

Please sign in to comment.