Skip to content

Commit

Permalink
Merge pull request #25 from Cray-HPE/casm-2670
Browse files Browse the repository at this point in the history
Perge chart
  • Loading branch information
nieuwsma authored Nov 19, 2021
2 parents 99e0c9d + 4195348 commit 514a445
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 118 deletions.
10 changes: 0 additions & 10 deletions Jenkinsfile.github
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ pipeline {
VERSION = getDockerBuildVersion(isStable: env.IS_STABLE)
DOCKER_ARGS = getDockerBuildArgs(name: "hms-hbtd", description: env.DESCRIPTION, version: env.VERSION)
NO_CACHE = "--no-cache"
CHART_NAME = "cray-hms-hbtd"
CHART_VERSION = getChartVersion(version: env.VERSION)
TEST_NAME = "hms-hbtd-ct-test"
TEST_SPEC_FILE = "hms-hbtd-ct-test.spec"
BUILD_METADATA = getRpmRevision(isStable: env.IS_STABLE)
Expand All @@ -31,13 +29,6 @@ pipeline {
}
}

stage("Chart") {
steps {
updateCsmHelmChartAppVersion(chartPath: "${WORKSPACE}/kubernetes/${CHART_NAME}", appVersion: env.VERSION)
sh "make chart"
}
}

stage("Run Unit Tests") {
steps {
sh "make test"
Expand All @@ -56,7 +47,6 @@ pipeline {
steps {
script {
publishCsmDockerImage(image: env.NAME, tag: env.VERSION, isStable: env.IS_STABLE)
publishCsmHelmCharts(component: env.CHART_NAME, chartsPath: "${WORKSPACE}/kubernetes/.packaged", isStable: env.IS_STABLE)
publishCsmRpms(component: env.TEST_NAME, pattern: "dist/hbtd-ct-test-rpmbuild/RPMS/x86_64/*.rpm", arch: "x86_64", isStable: env.IS_STABLE)
publishCsmRpms(component: env.TEST_NAME, pattern: "dist/hbtd-ct-test-rpmbuild/SRPMS/*.rpm", arch: "src", isStable: env.IS_STABLE)
}
Expand Down
12 changes: 1 addition & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ NAME ?= hms-hmi-service
export VERSION ?= $(shell cat .version)-local
DOCKER_IMAGE ?= ${NAME}:${VERSION}

# Helm Chart
CHART_PATH ?= kubernetes
CHART_NAME ?= cray-hms-hbtd
CHART_VERSION ?= $(shell cat .version)

# Common RPM variable
BUILD_METADATA ?= "1~development~$(shell git rev-parse --short HEAD)"

Expand All @@ -41,16 +36,11 @@ TEST_SOURCE_NAME ?= ${TEST_SPEC_NAME}-${TEST_RPM_VERSION}
TEST_BUILD_DIR ?= $(PWD)/dist/hbtd-ct-test-rpmbuild
TEST_SOURCE_PATH := ${TEST_BUILD_DIR}/SOURCES/${TEST_SOURCE_NAME}.tar.bz2

all: image chart test test_rpm
all: image test test_rpm

image:
docker build ${NO_CACHE} --rm --no-cache ${DOCKER_ARGS} --tag '${NAME}:${VERSION}' .

chart:
helm repo add cray-algol60 https://artifactory.algol60.net/artifactory/csm-helm-charts
helm dep up ${CHART_PATH}/${CHART_NAME}
helm package ${CHART_PATH}/${CHART_NAME} -d ${CHART_PATH}/.packaged --version ${CHART_VERSION}

test:
./runUnitTest.sh

Expand Down
4 changes: 0 additions & 4 deletions kubernetes/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions kubernetes/cray-hms-hbtd/Chart.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions kubernetes/cray-hms-hbtd/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions kubernetes/cray-hms-hbtd/requirements.lock

This file was deleted.

4 changes: 0 additions & 4 deletions kubernetes/cray-hms-hbtd/requirements.yaml

This file was deleted.

1 change: 0 additions & 1 deletion kubernetes/cray-hms-hbtd/templates/NOTES.txt

This file was deleted.

3 changes: 0 additions & 3 deletions kubernetes/cray-hms-hbtd/templates/_helpers.tpl

This file was deleted.

71 changes: 0 additions & 71 deletions kubernetes/cray-hms-hbtd/values.yaml

This file was deleted.

0 comments on commit 514a445

Please sign in to comment.