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

chore(kubepanel): move kubepanel to providers and modify related config #4554

Merged
merged 7 commits into from
Mar 5, 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 38 additions & 38 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,48 +6,48 @@ on:
workflow_call:
inputs:
push_image:
description: "Push image"
description: 'Push image'
required: false
type: boolean
default: false
push_image_tag:
description: "Push image tag"
default: "latest"
description: 'Push image tag'
default: 'latest'
required: false
type: string
workflow_dispatch:
inputs:
push_image:
description: "Push image"
description: 'Push image'
required: false
type: boolean
default: false
push_image_tag:
description: "Push image tag"
default: "latest"
description: 'Push image tag'
default: 'latest'
required: false
type: string
push:
branches: ["main"]
branches: ['main']
paths:
- "frontend/desktop/**"
- "frontend/providers/**"
- ".github/workflows/frontend.yml"
- "!**/*.md"
- "!**/*.yaml"
- 'frontend/desktop/**'
- 'frontend/providers/**'
- '.github/workflows/frontend.yml'
- '!**/*.md'
- '!**/*.yaml'
pull_request:
branches: ["*"]
branches: ['*']
paths:
- "frontend/desktop/**"
- "frontend/providers/**"
- ".github/workflows/frontend.yml"
- "!**/*.md"
- "!**/*.yaml"
- 'frontend/desktop/**'
- 'frontend/providers/**'
- '.github/workflows/frontend.yml'
- '!**/*.md'
- '!**/*.yaml'

env:
# Common versions
GO_VERSION: "1.20"
DEFAULT_OWNER: "labring"
GO_VERSION: '1.20'
DEFAULT_OWNER: 'labring'

jobs:
image-build:
Expand All @@ -65,7 +65,7 @@ jobs:
providers/dbprovider,
providers/costcenter,
providers/objectstorage,
plugins/kubepanel,
providers/kubepanel,
desktop,
]
steps:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
providers/dbprovider,
providers/costcenter,
providers/objectstorage,
plugins/kubepanel,
providers/kubepanel,
desktop,
]
steps:
Expand Down Expand Up @@ -238,26 +238,26 @@ jobs:
with:
version: v0.0.8-rc1
env:
GH_TOKEN: "${{ secrets.GH_PAT }}"
SEALOS_TYPE: "issue_renew"
SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos"
SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md"
SEALOS_ISSUE_LABEL: "dayly-report"
SEALOS_ISSUE_TYPE: "day"
SEALOS_ISSUE_REPO: "labring-actions/cluster-image"
SEALOS_COMMENT_BODY: "/imagesync ${{ steps.prepare.outputs.cluster_image }}"
GH_TOKEN: '${{ secrets.GH_PAT }}'
SEALOS_TYPE: 'issue_renew'
SEALOS_ISSUE_TITLE: '[DaylyReport] Auto build for sealos'
SEALOS_ISSUE_BODYFILE: 'scripts/ISSUE_RENEW.md'
SEALOS_ISSUE_LABEL: 'dayly-report'
SEALOS_ISSUE_TYPE: 'day'
SEALOS_ISSUE_REPO: 'labring-actions/cluster-image'
SEALOS_COMMENT_BODY: '/imagesync ${{ steps.prepare.outputs.cluster_image }}'

- name: Renew issue and Sync Images for ${{ steps.prepare.outputs.latest_cluster_image }}
uses: labring/[email protected]
if: ${{ github.repository_owner == env.DEFAULT_OWNER }}
with:
version: v0.0.8-rc1
env:
GH_TOKEN: "${{ secrets.GH_PAT }}"
SEALOS_TYPE: "issue_renew"
SEALOS_ISSUE_TITLE: "[DaylyReport] Auto build for sealos"
SEALOS_ISSUE_BODYFILE: "scripts/ISSUE_RENEW.md"
SEALOS_ISSUE_LABEL: "dayly-report"
SEALOS_ISSUE_TYPE: "day"
SEALOS_ISSUE_REPO: "labring-actions/cluster-image"
SEALOS_COMMENT_BODY: "/imagesync ${{ steps.prepare.outputs.latest_cluster_image }}"
GH_TOKEN: '${{ secrets.GH_PAT }}'
SEALOS_TYPE: 'issue_renew'
SEALOS_ISSUE_TITLE: '[DaylyReport] Auto build for sealos'
SEALOS_ISSUE_BODYFILE: 'scripts/ISSUE_RENEW.md'
SEALOS_ISSUE_LABEL: 'dayly-report'
SEALOS_ISSUE_TYPE: 'day'
SEALOS_ISSUE_REPO: 'labring-actions/cluster-image'
SEALOS_COMMENT_BODY: '/imagesync ${{ steps.prepare.outputs.latest_cluster_image }}'
1 change: 1 addition & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ buildTargets := \
providers/template \
providers/cronjob \
providers/license \
providers/kubepanel \
providers/objectstorage

buildTargets-all := $(addprefix image-build-,$(buildTargets))
Expand Down
Loading
Loading