Skip to content

Commit

Permalink
refactor: merge clients and servers in the same repo
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Mar 3, 2024
1 parent 2757879 commit 0d9c08e
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 19 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 14 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@ updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
interval: weekly
groups:
node-dependencies:
patterns:
- "*"
labels:
- "type: Dependencies"

- package-ecosystem: gomod
directory: "server"
schedule:
interval: weekly
groups:
gomod-dependencies:
patterns:
- "*"
labels:
- "type: Dependencies"
2 changes: 1 addition & 1 deletion .github/workflows/client-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
images: ghcr.io/${{ github.repository_owner }}/client

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches:
- main
paths:
- '.github/workflows/server.yml'
- 'server/**'
tags:
- "v*"

Expand Down Expand Up @@ -192,7 +195,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
uses: server/docker/setup-buildx-action@v3

- name: Setup metadata
id: meta
Expand All @@ -213,7 +216,7 @@ jobs:
with:
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
context: .
file: docker/bundle.Dockerfile
file: server/docker/bundle.Dockerfile
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64,linux/arm
no-cache: true
Expand Down Expand Up @@ -268,7 +271,7 @@ jobs:
with:
push: ${{ github.ref == 'refs/heads/main' }}
context: .
file: docker/micro.Dockerfile
file: server/docker/micro.Dockerfile
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64,linux/arm64,linux/arm
no-cache: true
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions server/.goreleaser.yaml → .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
builds:
- main: ./cmd/kernel
dir: server
id: "vertex-kernel"
binary: vertex-kernel
goos:
Expand All @@ -18,6 +19,7 @@ builds:
goarch: "386"

- main: ./cmd/main
dir: server
id: "vertex"
binary: vertex
goos:
Expand Down
14 changes: 0 additions & 14 deletions server/.github/dependabot.yml

This file was deleted.

0 comments on commit 0d9c08e

Please sign in to comment.