-
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.
move artifactory related logic from deb builder to config
- Loading branch information
1 parent
0f0c7b4
commit 69d541f
Showing
6 changed files
with
87 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
import type { Artifact } from '../artifact-provider.mjs'; | ||
|
||
export interface DebBuilderConfig { | ||
out: string, | ||
gpgPublicKeyPath: string; | ||
gpgKeyName: string; | ||
applicationName: string; | ||
component: string; | ||
origin: string; | ||
repo: DebRepo; | ||
} | ||
|
||
type Distribution = string; | ||
type UbuntuComponentsEnum = 'main' | 'universe' | 'restricted' | 'multiverse'; | ||
|
||
export type UbuntuComponent = { | ||
[key in UbuntuComponentsEnum]: string; | ||
}; | ||
|
||
export interface DebDescriptor { | ||
version: string, | ||
artifact: Artifact | ||
} | ||
|
||
export interface DebRepo { | ||
[key: Distribution]: { | ||
[key in keyof UbuntuComponent]?: DebDescriptor[] | ||
} | ||
} |
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