Skip to content

Commit 4063125

Browse files
authored
Merge pull request #41 from nebula-contrib/nebula_3_8
NebulaGraph 3.8 release && CI build added
2 parents e135cb7 + 29cc7cf commit 4063125

File tree

5 files changed

+86
-12
lines changed

5 files changed

+86
-12
lines changed

.github/workflows/docker.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: docker
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
docker:
10+
name: build docker image
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set up QEMU
14+
uses: docker/setup-qemu-action@v3
15+
- name: Set up Docker Buildx
16+
uses: docker/setup-buildx-action@v3
17+
- name: Log into registry
18+
uses: docker/login-action@v3
19+
with:
20+
username: ${{ secrets.DOCKER_USERNAME }}
21+
password: ${{ secrets.DOCKER_PASSWORD }}
22+
- name: Build and push Docker images
23+
uses: docker/build-push-action@v5
24+
with:
25+
platforms: linux/amd64,linux/arm64
26+
tags: weygu/nebulagraph-dd-ext:dev
27+
push: true

.github/workflows/release.yaml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: release
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
docker:
10+
name: build docker image
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set up QEMU
14+
uses: docker/setup-qemu-action@v3
15+
- name: Set up Docker Buildx
16+
uses: docker/setup-buildx-action@v3
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Docker meta
20+
id: meta
21+
uses: docker/metadata-action@v5
22+
with:
23+
images: |
24+
weygu/nebulagraph-dd-ext
25+
tags: |
26+
# git tag & latest coverred
27+
type=ref,event=tag
28+
# git branch
29+
type=ref,event=branch
30+
# v3.0.0
31+
type=semver,pattern={{version}}
32+
# v3
33+
type=semver,pattern={{major}}
34+
# v3.0
35+
type=semver,pattern={{major}}.{{minor}}
36+
- name: Log into registry
37+
uses: docker/login-action@v3
38+
with:
39+
username: ${{ secrets.DOCKER_USERNAME }}
40+
password: ${{ secrets.DOCKER_PASSWORD }}
41+
- name: Build and push Docker images
42+
uses: docker/build-push-action@v5
43+
with:
44+
platforms: linux/amd64,linux/arm64
45+
push: true
46+
tags: ${{ steps.meta.outputs.tags }}
47+
labels: ${{ steps.meta.outputs.labels }}

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ LABEL org.opencontainers.image.title="NebulaGraph" \
3131
com.docker.extension.detailed-description="NebulaGraph is a popular Open-Source, distributed Cloud Native Graph Database for trillion edges graph data volume." \
3232
com.docker.extension.publisher-url="https://github.com/vesoft-inc/nebula" \
3333
com.docker.extension.additional-urls='[{"title":"WebSite","url":"https://www.nebula-graph.io/"}, {"title":"GitHub","url":"https://github.com/vesoft-inc/nebula"}, {"title":"Slack","url":"http://community-chat.nebula-graph.io/"}, {"title":"Docker Extension Feedback","url":"https://github.com/nebula-contrib/nebulagraph-docker-ext/issues/new/choose"}]' \
34-
com.docker.extension.changelog="Studio lift to 3.9.0" \
34+
com.docker.extension.changelog="NebulaGraph 3.8.0 Released!" \
3535
com.docker.desktop.extension.icon="https://user-images.githubusercontent.com/1651790/213339618-107d0e59-1b8b-4c89-bbae-5529aa4e2666.svg" \
3636
com.docker.extension.categories="database"
3737

docker-compose.yaml

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
- "com.vesoft.scope=core"
55
- "com.vesoft.role=meta"
66
container_name: nebulagraph_metad0
7-
image: vesoft/nebula-metad:v3.6.0
7+
image: vesoft/nebula-metad:v3.8
88
environment:
99
USER: root
1010
command:
@@ -39,7 +39,7 @@ services:
3939
- "com.vesoft.scope=core"
4040
- "com.vesoft.role=meta"
4141
container_name: nebulagraph_metad1
42-
image: vesoft/nebula-metad:v3.6.0
42+
image: vesoft/nebula-metad:v3.8
4343
environment:
4444
USER: root
4545
command:
@@ -74,7 +74,7 @@ services:
7474
- "com.vesoft.scope=core"
7575
- "com.vesoft.role=meta"
7676
container_name: nebulagraph_metad2
77-
image: vesoft/nebula-metad:v3.6.0
77+
image: vesoft/nebula-metad:v3.8
7878
environment:
7979
USER: root
8080
command:
@@ -109,7 +109,7 @@ services:
109109
- "com.vesoft.scope=core"
110110
- "com.vesoft.role=storage"
111111
container_name: nebulagraph_storaged0
112-
image: vesoft/nebula-storaged:v3.6.0
112+
image: vesoft/nebula-storaged:v3.8
113113
environment:
114114
USER: root
115115
command:
@@ -148,7 +148,7 @@ services:
148148
- "com.vesoft.scope=core"
149149
- "com.vesoft.role=storage"
150150
container_name: nebulagraph_storaged1
151-
image: vesoft/nebula-storaged:v3.6.0
151+
image: vesoft/nebula-storaged:v3.8
152152
environment:
153153
USER: root
154154
command:
@@ -187,7 +187,7 @@ services:
187187
- "com.vesoft.scope=core"
188188
- "com.vesoft.role=storage"
189189
container_name: nebulagraph_storaged2
190-
image: vesoft/nebula-storaged:v3.6.0
190+
image: vesoft/nebula-storaged:v3.8
191191
environment:
192192
USER: root
193193
command:
@@ -226,7 +226,7 @@ services:
226226
- "com.vesoft.scope=core"
227227
- "com.vesoft.role=graph"
228228
container_name: nebulagraph_graphd
229-
image: vesoft/nebula-graphd:v3.6.0
229+
image: vesoft/nebula-graphd:v3.8
230230
environment:
231231
USER: root
232232
command:
@@ -263,7 +263,7 @@ services:
263263
- "com.vesoft.scope=core"
264264
- "com.vesoft.role=graph"
265265
container_name: nebulagraph_graphd1
266-
image: vesoft/nebula-graphd:v3.6.0
266+
image: vesoft/nebula-graphd:v3.8
267267
environment:
268268
USER: root
269269
command:
@@ -300,7 +300,7 @@ services:
300300
- "com.vesoft.scope=core"
301301
- "com.vesoft.role=graph"
302302
container_name: nebulagraph_graphd2
303-
image: vesoft/nebula-graphd:v3.6.0
303+
image: vesoft/nebula-graphd:v3.8
304304
environment:
305305
USER: root
306306
command:
@@ -336,7 +336,7 @@ services:
336336
# profiles: ["studio"]
337337
labels:
338338
- "com.vesoft.scope=utils"
339-
image: vesoft/nebula-graph-studio:v3.9.0
339+
image: vesoft/nebula-graph-studio:v3
340340
environment:
341341
USER: root
342342
ports:

ui/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function App() {
9595
<Box sx={{ alignItems: 'left', flexDirection: 'column', height: 20, fontSize: 10, justifyContent: 'center'}}>
9696
<Typography variant="body2" color={(theme) => theme.palette.text.primary} sx={{ my: 2, mr: 6 }}>
9797
<span style={{marginRight: 10}}></span>
98-
NebulaGraph for Docker Desktop Extension 0.4.19, NebulaGraph: v3.6.0, NebulaGraph Studio: v3.9.0
98+
NebulaGraph for Docker Desktop Extension 0.4.20, NebulaGraph: v3.8, NebulaGraph Studio: v3.10.0
9999
</Typography>
100100
</Box>
101101

0 commit comments

Comments
 (0)