Skip to content

Commit

Permalink
📦 [major] Release samsahai (#1)
Browse files Browse the repository at this point in the history
* 💬 Update badges

* 💚 Update github actions to always run test

* 💬 Fix github actions badge

* 💬 Update quay badge
  • Loading branch information
Pohfy123 authored Mar 18, 2020
1 parent f29fead commit a44c719
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:

- uses: actions/checkout@v1
with:
fetch-depth: 1
path: go/src/github.com/agoda-com/samsahai

- uses: webfactory/[email protected]
Expand Down Expand Up @@ -72,23 +71,19 @@ jobs:
# TEST
## run unit test
- name: Run Unit Test
if: github.event_name == 'pull_request'
run: |
make unit-test
- name: Unit Test Coverage
if: github.event_name == 'pull_request'
run: |
make overall-coverage
## run e2e test
- name: Prepare E2E Test Environment
if: github.event_name == 'pull_request'
run: |
make prepare-env-e2e-k3d
- name: Run E2E Test
if: github.event_name == 'pull_request'
run: |
kubectl version
kubectl cluster-info
Expand All @@ -98,20 +93,19 @@ jobs:
timeout-minutes: 30

- name: E2E Test Coverage
if: github.event_name == 'pull_request'
run: |
make overall-coverage
curl -s https://codecov.io/bash | bash -s - -t $CODECOV_TOKEN
- name: Save test results
if: always() && github.event_name == 'pull_request'
if: always()
run: |
mkdir -p ./test/result/
find . -type f -regex "./.*unit-test.xml" -exec cp {} ./test/result/ \;
ls -al ./test/result/
- name: Store artifacts
if: always() && github.event_name == 'pull_request'
if: always()
uses: actions/upload-artifact@v1
with:
name: test-result
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ endif
export http_proxy="$(http_proxy)"; \
export https_proxy="$(https_proxy)"; \
export no_proxy="$(no_proxy)"; \
eval $(GORELEASER) --rm-dist --debug $$GORELEASER_FLAGS;
eval $(GORELEASER) --rm-dist $$GORELEASER_FLAGS;

.git-tag:
ifndef DRYRUN
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Samsahai (S2H)
[![CircleCI](https://circleci.com/gh/agoda-com/samsahai.svg?style=svg&circle-token=622dc452d07545e720fc396074cb25a737a204e5)](https://circleci.com/gh/agoda-com/samsahai) ![GithubActions](https://github.com/agoda-com/samsahai/workflows/Build%20&%20Test%20&%20Release/badge.svg) [![codecov](https://codecov.io/gh/agoda-com/samsahai/branch/master/graph/badge.svg?token=84Y2ngbPrC)](https://codecov.io/gh/agoda-com/samsahai) [![Docker Repository on Quay](https://quay.io/repository/phantomnat/samsahai/status "Docker Repository on Quay")](https://quay.io/repository/phantomnat/samsahai) ![GitHub](https://img.shields.io/github/license/agoda-com/samsahai)
[![CircleCI](https://circleci.com/gh/agoda-com/samsahai.svg?style=svg)](https://circleci.com/gh/agoda-com/samsahai) ![Samsahai](https://github.com/agoda-com/samsahai/workflows/Samsahai/badge.svg) [![codecov](https://codecov.io/gh/agoda-com/samsahai/branch/master/graph/badge.svg?token=mt0oLjFy0k)](https://codecov.io/gh/agoda-com/samsahai) [![Docker Repository on Quay](https://quay.io/repository/samsahai/samsahai/status "Docker Repository on Quay")](https://quay.io/repository/samsahai/samsahai) ![GitHub](https://img.shields.io/github/license/agoda-com/samsahai)


Dependencies verification system with Kubernetes Operator
Expand Down

0 comments on commit a44c719

Please sign in to comment.