-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from SquirrelCorporation/feat-playbooks-git-sync
Feat playbooks git sync
- Loading branch information
Showing
162 changed files
with
7,352 additions
and
1,197 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
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,50 @@ | ||
import { | ||
DeviconAzure, | ||
DeviconGooglecloud, | ||
FluentMdl2RegistryEditor, | ||
LogoHotIo, | ||
LogosAws, | ||
LogosGitlab, | ||
LogosQuay, | ||
SimpleIconsForgejo, | ||
SimpleIconsGitea, | ||
VaadinCubes, | ||
VscodeIconsFileTypeDocker2, | ||
ZmdiGithub, | ||
} from '@/components/Icons/CustomIcons'; | ||
import React from 'react'; | ||
|
||
type RegistryLogoProps = { | ||
provider: string; | ||
}; | ||
|
||
const RegistryLogo: React.FC<RegistryLogoProps> = (props) => { | ||
switch (props.provider) { | ||
case 'ghcr': | ||
return <ZmdiGithub />; | ||
case 'gcr': | ||
return <DeviconGooglecloud />; | ||
case 'acr': | ||
return <DeviconAzure />; | ||
case 'hotio': | ||
return <LogoHotIo />; | ||
case 'hub': | ||
return <VscodeIconsFileTypeDocker2 />; | ||
case 'ecr': | ||
return <LogosAws />; | ||
case 'quay': | ||
return <LogosQuay />; | ||
case 'forgejo': | ||
return <SimpleIconsForgejo />; | ||
case 'gitea': | ||
return <SimpleIconsGitea />; | ||
case 'lscr': | ||
return <VaadinCubes />; | ||
case 'gitlab': | ||
return <LogosGitlab />; | ||
default: | ||
return <FluentMdl2RegistryEditor />; | ||
} | ||
}; | ||
|
||
export default RegistryLogo; |
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
Oops, something went wrong.