Skip to content

Commit 06774a4

Browse files
authored
Remove readme-generator call for upstream PR (#4549)
Since upstream now run the readme generator as an action when PR is created. Signed-off-by: Michael Nelson <[email protected]>
1 parent 126dc22 commit 06774a4

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ jobs:
773773
# This token is passed as a GITHUB_TOKEN env var via CircleCI
774774
name: Run the chart_sync script
775775
command: |
776-
./script/chart_sync.sh << pipeline.parameters.CI_BOT_USERNAME >> << pipeline.parameters.CI_BOT_EMAIL >> << pipeline.parameters.CI_BOT_GPG >> << pipeline.parameters.CHARTS_REPO_ORIGINAL >> << pipeline.parameters.BRANCH_CHARTS_REPO_ORIGINAL >> << pipeline.parameters.CHARTS_REPO_FORKED >> << pipeline.parameters.BRANCH_CHARTS_REPO_FORKED >> << pipeline.parameters.README_GENERATOR_REPO >>
776+
./script/chart_sync.sh << pipeline.parameters.CI_BOT_USERNAME >> << pipeline.parameters.CI_BOT_EMAIL >> << pipeline.parameters.CI_BOT_GPG >> << pipeline.parameters.CHARTS_REPO_ORIGINAL >> << pipeline.parameters.BRANCH_CHARTS_REPO_ORIGINAL >> << pipeline.parameters.CHARTS_REPO_FORKED >> << pipeline.parameters.BRANCH_CHARTS_REPO_FORKED >>
777777
sync_chart_from_bitnami:
778778
environment:
779779
<<: *common_envars

script/chart_sync.sh

-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ CHARTS_REPO_ORIGINAL=${4:?Missing base chart repository}
1616
BRANCH_CHARTS_REPO_ORIGINAL=${5:?Missing base chart repository branch}
1717
CHARTS_REPO_FORKED=${6:?Missing forked chart repository}
1818
BRANCH_CHARTS_REPO_FORKED=${7:?Missing forked chart repository branch}
19-
README_GENERATOR_REPO=${8:?Missing readme generator repository}
2019

2120
currentVersion=$(grep -oP '(?<=^version: ).*' <"${KUBEAPPS_CHART_DIR}/Chart.yaml")
2221
externalVersion=$(curl -s "https://raw.githubusercontent.com/${CHARTS_REPO_ORIGINAL}/${BRANCH_CHARTS_REPO_ORIGINAL}/${CHART_REPO_PATH}/Chart.yaml" | grep -oP '(?<=^version: ).*')
@@ -36,7 +35,6 @@ if [[ ${semverCompare} -gt 0 ]]; then
3635
prBranchName="kubeapps-bump-${currentVersion}"
3736

3837
updateRepoWithLocalChanges "${TMP_DIR}" "${latestVersion}" "${CHARTS_REPO_ORIGINAL}" "${BRANCH_CHARTS_REPO_ORIGINAL}" "${BRANCH_CHARTS_REPO_FORKED}"
39-
generateReadme "${README_GENERATOR_REPO}" "${TMP_DIR}/${CHART_REPO_PATH}"
4038
commitAndSendExternalPR "${TMP_DIR}" "${prBranchName}" "${currentVersion}" "${CHARTS_REPO_ORIGINAL}" "${BRANCH_CHARTS_REPO_ORIGINAL}"
4139
elif [[ ${semverCompare} -lt 0 ]]; then
4240
echo "Skipping Chart sync. WARNING Current chart version (${currentVersion}) is less than the chart external version (${externalVersion})"

0 commit comments

Comments
 (0)