Skip to content

Commit bee83f0

Browse files
authored
feat: add support for the amalthea repository (#27)
Closes #26.
1 parent 53a10cf commit bee83f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/github/utils.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ func DeriveK8sNamespace(repo string, pr int) (string, error) {
1010
if found {
1111
return fmt.Sprintf(tpl, pr), nil
1212
}
13-
return "", fmt.Errorf("Could not derive namespace from repository: %s", repo)
13+
return "", fmt.Errorf("could not derive namespace from repository: %s", repo)
1414
}
1515

1616
func init() {
@@ -19,6 +19,7 @@ func init() {
1919

2020
func initRepoToNamespaceTemplateMap() {
2121
repoToNamespaceTemplateMap = map[string]string{
22+
"SwissDataScienceCenter/amalthea": "renku-ci-am-%d",
2223
"SwissDataScienceCenter/renku": "ci-renku-%d",
2324
"SwissDataScienceCenter/renku-data-services": "renku-ci-ds-%d",
2425
"SwissDataScienceCenter/renku-ui": "renku-ci-ui-%d",

0 commit comments

Comments
 (0)