-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updating document * Fix: remove yarn * feat: removing yarn from husky
- Loading branch information
1 parent
5c4e133
commit f12150b
Showing
45 changed files
with
12,011 additions
and
13,748 deletions.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
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
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
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
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 |
---|---|---|
|
@@ -3,15 +3,15 @@ id: accessing-internal-repositories | |
title: Accessing interal repositories | ||
--- | ||
|
||
If you're trying to run huskyCI inside your internal remote and has been facing some dificulties along the way, this section will guide you on how to overcome it. | ||
If you're trying to run HuskyCI inside your internal remote and has been facing some dificulties along the way, this section will guide you on how to overcome it. | ||
|
||
## GoSec | ||
|
||
If the project you're trying to analyze has internal dependencies, is written in GoLang and does not have a `Vendor` folder, you might face an `Error Cloning` error. | ||
|
||
This error is caused due to the way GoSec fetches it's dependencies through the `go get` command, which, by default, uses HTTPS for cloning. | ||
|
||
In order to overcome this issue, huskyCI has 2 environment variables to "force" `go get` to do it's cloning through SSH with the user's key. It's important to notice that no extra key is needed, only the one provided to huskyCI's API (the key must have access to the desired repository and should already have been set). | ||
In order to overcome this issue, HuskyCI has 2 environment variables to "force" `go get` to do it's cloning through SSH with the user's key. It's important to notice that no extra key is needed, only the one provided to HuskyCI's API (the key must have access to the desired repository and should already have been set). | ||
|
||
An example on how the environment variables should be set is as follows: | ||
|
||
|
@@ -20,6 +20,6 @@ [email protected] | |
HUSKYCI_API_GIT_URL_TO_SUBSTITUTE=https://gitlab.example.com/ | ||
``` | ||
|
||
**Note**: If one of the environment variables is filled but the other is not, being left empty or not set, both will be set by huskyCI as being empty. | ||
**Note**: If one of the environment variables is filled but the other is not, being left empty or not set, both will be set by HuskyCI as being empty. | ||
|
||
Now, you should be able to run huskyCI with the internal remote you desire. | ||
Now, you should be able to run HuskyCI with the internal remote you desire. |
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
Oops, something went wrong.