Skip to content
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

Support submodule cloning option #106

Open
emakryo opened this issue Sep 15, 2022 · 2 comments
Open

Support submodule cloning option #106

emakryo opened this issue Sep 15, 2022 · 2 comments

Comments

@emakryo
Copy link

emakryo commented Sep 15, 2022

Currently, there is no way to set gitSumobuleConfigOverride in this action.
https://docs.aws.amazon.com/codebuild/latest/APIReference/API_StartBuild.html#CodeBuild-StartBuild-request-gitSubmodulesConfigOverride

This would be helpful when the repository is private.

@pshiko
Copy link

pshiko commented Sep 19, 2022

I've tried creating a fork repository with gitSumobuleConfigOverride set and tried fetching submodules, but submodules fetching private repositories didn't work due to permission error.

https://github.com/pshiko/aws-codebuild-run-build

Does codebuild not support submodule fetching of private repositories?

@taoyong-ty
Copy link
Contributor

Could you check if the access token you provided to CodeBuild has the required permission to download the submodule? https://docs.aws.amazon.com/codebuild/latest/userguide/access-tokens.html

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

No branches or pull requests

3 participants