Skip to content

Commit 530812f

Browse files
committed
Merge branch 'main' of github.com:apache/answer
2 parents fd361d4 + 401c8a7 commit 530812f

File tree

756 files changed

+78814
-30341
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

756 files changed

+78814
-30341
lines changed

.asf.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ github:
3030
- q-and-a
3131
- hacktoberfest
3232
features:
33-
wiki: false
33+
wiki: true
3434
issues: true
3535
projects: true
3636
discussions: false
@@ -43,6 +43,6 @@ github:
4343

4444
notifications:
4545
46-
issues: commits@answer.apache.org
47-
pullrequests: commits@answer.apache.org
48-
discussions: commits@answer.apache.org
46+
issues: issues@answer.apache.org
47+
pullrequests: issues@answer.apache.org
48+
discussions: issues@answer.apache.org

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Bug report
33
about: Report an issue to help the project improve.
44
title: ''
55
labels: bug
6+
type: 'Bug'
67
assignees: ''
78

89
---

.github/ISSUE_TEMPLATE/config.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
blank_issues_enabled: true
19+
contact_links:
20+
- name: Questions & Discussions
21+
url: https://meta.answer.dev
22+
about: If you have any questions while using.

.github/ISSUE_TEMPLATE/enhancement_request.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Enhancement request
33
about: Suggest an enhancement for this project. Improve an existing feature.
44
title: ''
55
labels: enhancement
6+
type: 'Feature'
67
assignees: ''
78

89
---

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: Feature request
33
about: Suggest an idea or possible new feature for this project.
44
title: ''
5-
labels: feature
5+
labels: new-feature
6+
type: 'Feature'
67
assignees: ''
78

89
---

.github/workflows/build-binary-for-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,24 @@ jobs:
3636
- name: Set up Node
3737
uses: actions/setup-node@v3
3838
with:
39-
node-version: 18
39+
node-version: 20.18.1
4040

4141
- name: Node Build
4242
run: make install-ui-packages ui
4343

4444
- name: Setup Go
4545
uses: actions/setup-go@v3
4646
with:
47-
go-version: 1.19
47+
go-version: 1.22
4848
- name: Run GoReleaser
4949
uses: goreleaser/goreleaser-action@v4
5050
with:
5151
distribution: goreleaser
5252
version: latest
53-
args: release --clean --skip-validate
53+
args: release --clean --skip=validate
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56-
- uses: actions/upload-artifact@v3
56+
- uses: actions/upload-artifact@v4
5757
with:
5858
name: answer
5959
path: ./dist/*
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: Build Latest Docker Image For Release
19+
20+
on:
21+
push:
22+
tags:
23+
- v2.*
24+
- v1.*
25+
- v0.*
26+
- "!v*-RC*"
27+
# pull_request:
28+
# branches: [ "main" ]
29+
30+
jobs:
31+
build:
32+
if: ${{ github.repository_owner == 'apache' }}
33+
runs-on: ubuntu-latest
34+
steps:
35+
- name: Checkout
36+
uses: actions/checkout@v4
37+
38+
- name: Docker meta
39+
id: meta
40+
uses: docker/metadata-action@v4
41+
with:
42+
images: apache/answer
43+
tags: |
44+
type=raw,value=latest
45+
46+
- name: Set up QEMU
47+
uses: docker/setup-qemu-action@v2
48+
49+
- name: Set up Docker Buildx
50+
uses: docker/setup-buildx-action@v2
51+
52+
- name: Login to DockerHub
53+
uses: docker/login-action@v3
54+
with:
55+
username: ${{ secrets.DOCKERHUB_USER }}
56+
password: ${{ secrets.DOCKERHUB_TOKEN }}
57+
58+
- name: Build and push
59+
uses: docker/build-push-action@v4
60+
with:
61+
context: .
62+
platforms: linux/amd64,linux/arm64
63+
push: true
64+
file: ./Dockerfile
65+
tags: ${{ steps.meta.outputs.tags }}
66+
labels: ${{ steps.meta.outputs.labels }}
67+
68+

.github/workflows/build-image-for-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ name: Build Docker Image For Release
1919

2020
on:
2121
push:
22-
branches: [ "main"]
2322
tags:
2423
- v2.*
2524
- v1.*
@@ -41,7 +40,6 @@ jobs:
4140
with:
4241
images: apache/answer
4342
tags: |
44-
type=raw,value=latest
4543
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
4644
type=semver,pattern={{version}}
4745

.github/workflows/uffizzi-build.yml

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)