-
Notifications
You must be signed in to change notification settings - Fork 0
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 #12 from funbox/develop
Version 0.11.1
- Loading branch information
Showing
7 changed files
with
230 additions
and
87 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,109 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
Go: | ||
name: Go | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
SRC_DIR: src/github.com/${{ github.repository }} | ||
GO111MODULE: auto | ||
|
||
strategy: | ||
matrix: | ||
go: [ '1.17.x' ] | ||
|
||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
id: go | ||
|
||
- name: Setup PATH | ||
run: | | ||
echo "GOPATH=${{ github.workspace }}" >> "$GITHUB_ENV" | ||
echo "GOBIN=${{ github.workspace }}/bin" >> "$GITHUB_ENV" | ||
echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ${{env.SRC_DIR}} | ||
|
||
- name: Download dependencies | ||
working-directory: ${{env.SRC_DIR}} | ||
run: | | ||
make deps | ||
- name: Build binaries | ||
working-directory: ${{env.SRC_DIR}} | ||
run: make all | ||
|
||
Aligo: | ||
name: Aligo | ||
runs-on: ubuntu-latest | ||
|
||
needs: Go | ||
|
||
env: | ||
SRC_DIR: src/github.com/${{ github.repository }} | ||
GO111MODULE: auto | ||
|
||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17.x' | ||
id: go | ||
|
||
- name: Setup PATH | ||
run: | | ||
echo "GOPATH=${{ github.workspace }}" >> "$GITHUB_ENV" | ||
echo "GOBIN=${{ github.workspace }}/bin" >> "$GITHUB_ENV" | ||
echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH" | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ${{env.SRC_DIR}} | ||
|
||
- name: Download dependencies | ||
working-directory: ${{env.SRC_DIR}} | ||
run: make deps | ||
|
||
- name: Check Golang sources with Aligo | ||
uses: essentialkaos/aligo-action@v1 | ||
with: | ||
path: ${{env.SRC_DIR}} | ||
files: ./... | ||
|
||
Perfecto: | ||
name: Perfecto | ||
runs-on: ubuntu-latest | ||
|
||
needs: Go | ||
|
||
steps: | ||
- name: Code checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
env: | ||
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | ||
if: ${{ env.DOCKERHUB_USERNAME != '' }} | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Check specs with Perfecto | ||
uses: essentialkaos/perfecto-action@v1 | ||
with: | ||
files: common/init-exporter-converter.spec |
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,31 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
pull_request: | ||
branches: [master] | ||
schedule: | ||
- cron: '0 19 * * 1,3,5' | ||
|
||
jobs: | ||
analyse: | ||
name: Analyse | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- run: git checkout HEAD^2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: go | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ | |
|
||
Summary: Utility for converting init-exporter procfiles from v1 to v2 format | ||
Name: init-exporter-converter | ||
Version: 0.11.0 | ||
Version: 0.11.1 | ||
Release: 0%{?dist} | ||
Group: Development/Tools | ||
License: MIT | ||
|
@@ -52,7 +52,7 @@ Source0: %{name}-%{version}.tar.gz | |
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
|
||
BuildRequires: golang >= 1.14 | ||
BuildRequires: golang >= 1.16 | ||
|
||
Provides: %{name} = %{version}-%{release} | ||
|
||
|
@@ -93,7 +93,10 @@ rm -rf %{buildroot} | |
################################################################################ | ||
|
||
%changelog | ||
* Thu Jul 30 2020 Anton Novojilov <[email protected]> - 0.11.0-0 | ||
* Mon Jan 10 2022 Anton Novojilov <[email protected]> - 0.11.1-0 | ||
- Minor UI improvements | ||
|
||
* Thu Jul 30 2020 Anton Novojilov <[email protected]> - 0.11.0-0 | ||
- Package ek updated to v12 | ||
- Package go-simpleyaml updated to v2 | ||
|
||
|
Oops, something went wrong.