-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Kanto release infra and resources preparation
1. Added a release GitHub workflow 2. Added GoReleaser configuration 3. Added Debian package resources Signed-off-by: Konstantina Gramatova <[email protected]>
- Loading branch information
1 parent
3c56bdd
commit 84fa314
Showing
7 changed files
with
617 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
env: | ||
BUILD_TMP: ./build-tmp | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout kanto | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.ref }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Checkout suite-connector | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: eclipse-kanto/suite-connector | ||
path: ${{ env.BUILD_TMP }}/suite-connector' | ||
ref: ${{ github.ref }} | ||
token: ${{ secrets.WF_AUTH }} | ||
- name: Checkout container-management | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: eclipse-kanto/container-management | ||
path: ${{ env.BUILD_TMP }}/container-management | ||
ref: ${{ github.ref }} | ||
token: ${{ secrets.WF_AUTH }} | ||
- name: Checkout file-upload | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: eclipse-kanto/file-upload | ||
path: ${{ env.BUILD_TMP }}/file-upload | ||
ref: ${{ github.ref }} | ||
token: ${{ secrets.WF_AUTH }} | ||
- name: Checkout software-update | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: eclipse-kanto/software-update | ||
path: ${{ env.BUILD_TMP }}/software-update | ||
ref: ${{ github.ref }} | ||
token: ${{ secrets.WF_AUTH }} | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17.2 | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v2 | ||
with: | ||
distribution: goreleaser | ||
version: ~> 1.5 | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,2 +1,4 @@ | ||
.idea/ | ||
.vscode/ | ||
build-tmp/ | ||
dist/ |
Oops, something went wrong.