-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release workflow: publish deb packages to SOS (#544)
# Description We publish Debian packages to SOS for users to install through the `apt` package manager.
- Loading branch information
Showing
5 changed files
with
15 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -8,3 +8,4 @@ contrib | |
*.snap | ||
*.xdelta3 | ||
go.work | ||
.aptlydata |
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 |
---|---|---|
|
@@ -57,6 +57,7 @@ nfpms: | |
maintainer: Exoscale Support <[email protected]> | ||
description: Manage easily your Exoscale infrastructure from the command-line. | ||
license: Apache 2.0 | ||
id: nfpms | ||
formats: | ||
- deb | ||
- rpm | ||
|
@@ -125,3 +126,12 @@ scoops: | |
owner: exoscale | ||
name: cli | ||
branch: master | ||
|
||
publishers: | ||
- name: aptly | ||
env: | ||
- AWS_ACCESS_KEY_ID={{ .Env.EXOSCALE_API_KEY }} | ||
- AWS_SECRET_ACCESS_KEY={{ .Env.EXOSCALE_API_SECRET }} | ||
ids: | ||
- nfpms | ||
cmd: ./go.mk/scripts/publish-deb-artifact-to-sos.sh {{ .ArtifactPath }} exoscale-packages deb/cli 10 |
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
Submodule go.mk
updated
4 files
+6 −0 | .github/actions/release/action.yaml | |
+3 −0 | .gitignore | |
+46 −0 | scripts/aptly.conf.template | |
+114 −0 | scripts/publish-deb-artifact-to-sos.sh |