Skip to content

Commit

Permalink
Merge pull request #57 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 6a2d0ba + 9be4a33 commit 81130cb
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 147 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-capmc", description: env.DESCRIPTION, version: env.VERSION)
NO_CACHE = "--no-cache"
CHART_NAME = "cray-hms-capmc"
CHART_VERSION = getChartVersion(version: env.VERSION)
TEST_NAME = "hms-capmc-ct-test"
TEST_SPEC_FILE = "hms-capmc-ct-test.spec"
BUILD_METADATA = getRpmRevision(isStable: env.IS_STABLE)
Expand All @@ -43,13 +41,6 @@ pipeline {
}
}

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

stage("Test Rpm") {
steps {
echo "RPM build metadata is: ${env.BUILD_METADATA}"
Expand All @@ -62,7 +53,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/capmc-ct-test-rpmbuild/RPMS/x86_64/*.rpm", arch: "x86_64", isStable: env.IS_STABLE)
publishCsmRpms(component: env.TEST_NAME, pattern: "dist/capmc-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 @@ -24,11 +24,6 @@
NAME ?= cray-capmc
VERSION ?= $(shell cat .version)

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

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

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

all : image chart unittest integration test_rpm
all : image unittest integration test_rpm

image:
docker build ${NO_CACHE} --pull ${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}

unittest:
./runUnitTest.sh

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

This file was deleted.

2 changes: 0 additions & 2 deletions kubernetes/cray-hms-capmc/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions kubernetes/cray-hms-capmc/Chart.yaml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

17 changes: 0 additions & 17 deletions kubernetes/cray-hms-capmc/templates/configmap.yaml

This file was deleted.

81 changes: 0 additions & 81 deletions kubernetes/cray-hms-capmc/values.yaml

This file was deleted.

0 comments on commit 81130cb

Please sign in to comment.