Skip to content

Commit

Permalink
Clean unused code (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
josephca committed Feb 27, 2024
1 parent b7529a0 commit 41d9f3d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .ibm/pipelines/openshift-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,7 @@ main() {

add_helm_repos

GIT_PR_RESPONSE=$(curl -s "https://api.github.com/repos/${GITHUB_ORG_NAME}/${GITHUB_REPOSITORY_NAME}/pulls/${GIT_PR_NUMBER}")
LONG_SHA=$(echo "$GIT_PR_RESPONSE" | jq -r '.head.sha')
SHORT_SHA=$(git rev-parse --short ${LONG_SHA})

echo "Tag name with short SHA: ${TAG_NAME}"
echo "Tag name : ${TAG_NAME}"

helm upgrade -i ${RELEASE_NAME} -n ${NAME_SPACE} rhdh-chart/backstage --version ${CHART_VERSION} -f $DIR/value_files/${HELM_CHART_VALUE_FILE_NAME} --set global.clusterRouterBase=${K8S_CLUSTER_ROUTER_BASE} --set upstream.backstage.image.tag=${TAG_NAME}

Expand Down

0 comments on commit 41d9f3d

Please sign in to comment.