Skip to content

Commit

Permalink
ADM-926-fix:[frontend] fix: add mapping in generate config file
Browse files Browse the repository at this point in the history
  • Loading branch information
yulongcai committed Apr 29, 2024
1 parent 8760abf commit 095820c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/scripts/generate-config-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ sed -i -e "s/<E2E_TOKEN_JIRA>/${E2E_TOKEN_JIRA/%????/1234}/g" "${import_file_nam
sed -i -e "s/<E2E_TOKEN_BUILD_KITE>/${E2E_TOKEN_BUILD_KITE/%????/1234}/g" "${import_file_name}"
sed -i -e "s/<E2E_TOKEN_GITHUB>/${E2E_TOKEN_GITHUB/%????/1234}/g" "${import_file_name}"
echo "Successfully generate ${import_file_name}"

import_file_name='./e2e/fixtures/input-files/charting-unhappy-path-config-file.json'
echo "Start to generate ${import_file_name}"
cat ./e2e/fixtures/input-files/charting-unhappy-path-config-file.template.json > "${import_file_name}"
sed -i -e "s/<E2E_TOKEN_JIRA>/${E2E_TOKEN_JIRA}/g" "${import_file_name}"
sed -i -e "s/<E2E_TOKEN_BUILD_KITE>/${E2E_TOKEN_BUILD_KITE}/g" "${import_file_name}"
sed -i -e "s/<E2E_TOKEN_GITHUB>/${E2E_TOKEN_GITHUB}/g" "${import_file_name}"
echo "Successfully generate ${import_file_name}"

0 comments on commit 095820c

Please sign in to comment.