Skip to content

Commit

Permalink
Updated CI GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Tenrero committed Oct 5, 2020
1 parent d52bbd8 commit 622dd0f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/go-tagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
- name: Test
run: go test -v .

- name: Coverage
run: go test -v -coverprofile=profile.cov ./...

- name: SendCoverage
uses: shogo82148/actions-goveralls@v1
with:
flag-name: ${{ github.ref }}
path-to-profile: profile.cov

- name: Build
run: make build_all

Expand All @@ -44,7 +53,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions
with:
tag_name: ${{ github.ref }}
tag_name: main-${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
prerelease: true
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
- name: SendCoverage
uses: shogo82148/actions-goveralls@v1
with:
flag-name: ${{ github.ref }}
path-to-profile: profile.cov

- name: Build
Expand All @@ -54,6 +55,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions
with:
tag_name: main-${{ github.run_id }}
release_name: Release ${{ github.ref }}
release_name: PreRelease ${{ github.run_id }}
draft: false
prerelease: true
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# k8sconfigmap-azappservice
# k8sconfigmap-azappservice

[![made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](http://golang.org)
![Latest CI Status](https://badgen.net/github/status/mtenrero/k8sconfigmap-azappservice/main)
[![GitHub go.mod Go version of a Go module](https://img.shields.io/github/go-mod/go-version/gomods/athens.svg)](https://github.com/gomods/athens)
[![Coverage Status](https://coveralls.io/repos/github/mtenrero/k8sConfigMap-AzAppService/badge.svg?branch=main)](https://coveralls.io/github/mtenrero/k8sConfigMap-AzAppService?branch=main)
[![Go Report Card](https://goreportcard.com/badge/github.com/mtenrero/k8sconfigmap-azappservice)](https://goreportcard.com/report/github.com/mtenrero/k8sconfigmap-azappservice)
[![Latest Release](https://badgen.net/github/release/mtenrero/k8sconfigmap-azappservice/stable)](https://badgen.net/github/release/mtenrero/k8sconfigmap-azappservice/stable)

This CLI executable program, transform a given Kubernetes ConfigMap into a JSON object ready to consume by Azure
AppService container as environment variables.
Expand Down

0 comments on commit 622dd0f

Please sign in to comment.