-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use hanu-reference template as standard user site template #30
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,9 +30,24 @@ spec: | |
|
||
cd ${CONTRACT_ID} | ||
echo -n ${TOKEN} | gh secret set API_TOKEN_GITHUB | ||
|
||
git clone https://$(echo -n $TOKEN)@github.com/openinfradev/tks-user-site-template | ||
|
||
# Use hanu-reference template as default 'template-std' | ||
git clone https://github.com/openinfradev/decapod-site | ||
cp -r decapod-site/hanu-reference tks-user-site-template/template-std | ||
|
||
cd tks-user-site-template | ||
# Remove unnecessary app_group directory before commit. | ||
# If these kinds of apps increases, then they might be defined as black list | ||
# and then removed by FOR loop iteration. | ||
# For now, this hardcoding seems enough. | ||
rm -rf template-std/openstack template-std/decapod-controller | ||
|
||
git config --global user.email "[email protected]" | ||
git config --global user.name "SKTelecom TACO" | ||
git add . | ||
git commit -m "new contract: ${CONTRACT_ID}" | ||
|
||
git remote add new_contract https://$(echo -n $TOKEN)@github.com/tks-management/${CONTRACT_ID} | ||
git push new_contract main:main | ||
cd .. | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지워야할 템플릿의 위치가
template-std/openstack
,template-std/decapod-controller
가 아닌template-std/hanu-reference/openstack
,template-std/hanu-reference/decapod-controller
입니다.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아~ openinfradev/dep-tks-user-site-template@7d23127 이 먼저 머지되어야 제대로 동작하네요. (openinfradev/dep-tks-user-site-template#6 중 하나의 커밋입니다)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jaesang 요거 지금은 동작할 테니 resolve 부탁드립니다. 이 PR까지 머지되고 나면 최종 테스트 한번 더 해볼 예정입니다.