Skip to content

Commit

Permalink
Add package target to Makefile (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpirogovski authored Apr 24, 2024
1 parent 5ac45b0 commit ccf4a62
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ help: ## Display available commands
.PHONY: tests
tests: ## Run tests
@./tests/run.sh

.PHONY: package
package: ## Package the application
@./tests/package.sh
2 changes: 1 addition & 1 deletion charts/mlrun-ce/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
version: 0.6.3-rc15
version: 0.6.3-rc16
name: mlrun-ce
description: MLRUn Open Source Stack
home: https://iguazio.com
Expand Down
30 changes: 30 additions & 0 deletions tests/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env bash
# Copyright 2022 Iguazio
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

set -o errexit
set -o nounset
set -o pipefail

dirname=$(dirname $0)

# Install chart dependencies
echo "Installing chart dependencies"
cd "$dirname"/../charts/mlrun-ce
helm dependency update

# Create MLRun CE tarball
helm package .
exit 0

0 comments on commit ccf4a62

Please sign in to comment.