Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: clean-up gale for zenith modules #143

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,22 @@ on: [ pull_request ]
jobs:
golangci-lint:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
workdir: [common, ghx, services/artifact, services/artifactcache]

steps:
- name: Check out code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
go-version: 1.21

- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
workdir: ${{ matrix.workdir }}
21 changes: 0 additions & 21 deletions .github/workflows/release-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,6 @@ permissions:
packages: write

jobs:
binary:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21

- name: Release
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docker:
runs-on: ubuntu-latest
steps:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/release-zenith.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# I could make more generic solution, but I don't want to spend time on it now. I'm too lazy for that. This is
# Temporary solution to keep zenith specific stuff in one place.
on:
push:
branches:
- aweris/zenith
- aweris/zenith-*

permissions:
contents: read
packages: write

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21

- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish docker image
run: ./hack/mage docker:publish v0.0.0-zenith
57 changes: 0 additions & 57 deletions .goreleaser.yml

This file was deleted.

89 changes: 0 additions & 89 deletions cmd/gale/list/list.go

This file was deleted.

5 changes: 0 additions & 5 deletions cmd/gale/main.go

This file was deleted.

36 changes: 0 additions & 36 deletions cmd/gale/root.go

This file was deleted.

99 changes: 0 additions & 99 deletions cmd/gale/run/run.go

This file was deleted.

14 changes: 0 additions & 14 deletions cmd/ghx/README.md

This file was deleted.

Loading
Loading