-
Notifications
You must be signed in to change notification settings - Fork 10
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 #2 from sridharkondeti/main
Create github workflow to automatically build/test/release package.
- Loading branch information
Showing
5 changed files
with
62 additions
and
8 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,54 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Strongswan For Testing IPSec Service In Unit Tests | ||
run: sudo apt install charon-systemd | ||
|
||
- name: Run Unit Tests | ||
run: sudo make test | ||
|
||
- name: Build Debian/rpm Packages For Development Environment | ||
run: make dev | ||
|
||
- name: Development Environment Latest Version | ||
id: dev-release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: /home/runner/work/vpc-file-storage-mount-helper/vpc-file-storage-mount-helper/mount.ibmshare-latest.tar.gz,/home/runner/work/vpc-file-storage-mount-helper/vpc-file-storage-mount-helper/mount.ibmshare-latest.tar.gz.sha256 | ||
tag_name: dev-pre-ga | ||
name: Development Version | ||
body: Mount Helper For Development Teams-GA | ||
|
||
- name: Build Debian/rpm Packages For Production Environment | ||
run: make prod | ||
|
||
- name: Latest Tag Release | ||
id: latest-tag | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: /home/runner/work/vpc-file-storage-mount-helper/vpc-file-storage-mount-helper/mount.ibmshare-latest.tar.gz, /home/runner/work/vpc-file-storage-mount-helper/vpc-file-storage-mount-helper/mount.ibmshare-latest.tar.gz.sha256 | ||
tag_name: latest | ||
name: Latest | ||
body: The latest release tag provides static link for package download. This has the same artificats as in the versioned latest version. | ||
|
||
- name: Latest Version | ||
id: release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: /home/runner/work/vpc-file-storage-mount-helper/vpc-file-storage-mount-helper/mount.ibmshare-latest.tar.gz,/home/runner/work/vpc-file-storage-mount-helper/vpc-file-storage-mount-helper/mount.ibmshare-latest.tar.gz.sha256 | ||
tag_name: 0.0.2 | ||
name: 0.0.2 | ||
body: CSR generated with SHA1 is not supported to get certs using Metadata. |
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