Skip to content

Fix. replace repository path ( sktelecom -> openinfradev ) #12

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

Merged
merged 26 commits into from
Sep 2, 2021

Conversation

ktkfree
Copy link
Contributor

@ktkfree ktkfree commented Sep 2, 2021

repository 명을 변경합니다. ( sktelecom -> openinfradev )
본 PR이 merge 되면, tks-info, lcm, client 변경을 진행합니다.

go.mod 구조상 선행 관계가 있는것 같네요.

@zugwan
Copy link
Contributor

zugwan commented Sep 2, 2021

action 중에 lint 부분이 실패하는데 tks-proto가 private으로 변경되면서 인증 정보가 없기 때문인듯 합니다.

Running [/home/runner/golangci-lint-1.29.0-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: github.com/openinfradev/[email protected]: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/runner/go/pkg/mod/cache/vcs/fe3bec6fbc8bc7066796b5b178b3053a56472c166835a4007a5a1ab3a03e181e: exit status 128:\n\tfatal: could not read Username for 'https://github.com': terminal prompts disabled\n"

@ktkfree
Copy link
Contributor Author

ktkfree commented Sep 2, 2021

action 중에 lint 부분이 실패하는데 tks-proto가 private으로 변경되면서 인증 정보가 없기 때문인듯 합니다.

Running [/home/runner/golangci-lint-1.29.0-linux-amd64/golangci-lint run --out-format=github-actions] in [] ...
level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: github.com/openinfradev/[email protected]: invalid version: git fetch -f origin refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/runner/go/pkg/mod/cache/vcs/fe3bec6fbc8bc7066796b5b178b3053a56472c166835a4007a5a1ab3a03e181e: exit status 128:\n\tfatal: could not read Username for 'https://github.com': terminal prompts disabled\n"

혹시 ${{ secrets.GITHUB_TOKEN }}의 권한에 private repo( tks시리즈 ) 권한을 추가하려면 어떻게 해야 할까요? 관리자만 할 수 있을것 같아요.

@ktkfree
Copy link
Contributor Author

ktkfree commented Sep 2, 2021

다른 tks project 를 import 할때 GITHUB 의 token 으로 접근이 안되고 있습니다. private repo 로 변경되었기 때문인데, 생각보다 해결이 쉽지 않습니다.
. 관련 아티클 : actions/setup-node#49

로컬에서는 잘 되는데, github action 에서는 계속 실패하네요...
임시로 Personal Access Token 을 생성하여 해당 값을 직접 넣는 방식으로 commit 하였고 정상 동작은 확인했습니다.
시간이 너무 오래 걸려 일단 이렇게 넘기고, 다시 한번 천천히 봐야할 것 같습니다.
위 커밋 로그 보시면, 치열한 전투를 벌었는데 졌습니다...

@ktkfree ktkfree merged commit 1328197 into main Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants