Skip to content

Commit

Permalink
Cleanup CI
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Apr 3, 2023
1 parent 2c607ee commit 7f680b1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Expand Up @@ -13,6 +13,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
Expand All @@ -27,11 +28,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Prepare Host
run: |
sudo apt-get -qq update || true
sudo apt-get install -y bzr
- name: Run checks
run: |
make ci
1 change: 1 addition & 0 deletions .github/workflows/release-tracker.yml
Expand Up @@ -9,6 +9,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -10,6 +10,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-docs.yml
Expand Up @@ -10,6 +10,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build
Expand Down
18 changes: 11 additions & 7 deletions Makefile
Expand Up @@ -93,13 +93,17 @@ ifeq ($(COMPRESS),yes)
sha256sum $(patsubst $(BIN)-windows-%.tar.gz,$(BIN)-windows-%.zip, $(addsuffix .tar.gz, $(addprefix $(BIN)-, $(subst /,-, $(BIN_PLATFORMS))))) > $(BIN)-checksums.txt
endif

version:
@echo ::set-output name=version::$(VERSION)
@echo ::set-output name=version_strategy::$(version_strategy)
@echo ::set-output name=git_tag::$(git_tag)
@echo ::set-output name=git_branch::$(git_branch)
@echo ::set-output name=commit_hash::$(commit_hash)
@echo ::set-output name=commit_timestamp::$(commit_timestamp)
version: version-PROD version-DBG
@echo IMAGE=$(IMAGE)
@echo BIN=$(BIN)
@echo version=$(VERSION)
@echo version_strategy=$(version_strategy)
@echo git_tag=$(git_tag)
@echo git_branch=$(git_branch)
@echo commit_hash=$(commit_hash)
@echo commit_timestamp=$(commit_timestamp)
version-%:
@echo TAG_$*=$(TAG_$*)

gen:
@true
Expand Down

0 comments on commit 7f680b1

Please sign in to comment.