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

feat: remove operator and move ui to partent dir #46

Merged
merged 1 commit into from
Jan 18, 2024
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
File renamed without changes.
File renamed without changes.
14 changes: 5 additions & 9 deletions .github/workflows/ui-ci.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
name: UI CI
name: CI
on:
push:
branches: [ main ]
paths:
- 'ui/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ '*' ]
paths:
- 'ui/**'

jobs:

Expand All @@ -17,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ui/pocketbase
working-directory: pocketbase
strategy:
matrix:
goVer: [1.20]
goVer: [1.21]

steps:
- name: Set up Go ${{ matrix.goVer }}
Expand Down Expand Up @@ -50,11 +46,11 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ui/frontend
working-directory: frontend
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm install --legacy-peer-deps
- name: Build
run: npm run build
run: npm run build
34 changes: 1 addition & 33 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,39 +35,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: ./ui
context: ./
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

operator:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-operator

- name: Build and push Docker image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: ./operator
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
27 changes: 0 additions & 27 deletions .github/workflows/operator-ci.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions operator/.dockerignore

This file was deleted.

27 changes: 0 additions & 27 deletions operator/.gitignore

This file was deleted.

33 changes: 0 additions & 33 deletions operator/Dockerfile

This file was deleted.

Loading
Loading