Skip to content

Commit

Permalink
Release/1.2.5 (#759)
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vollrath <[email protected]>
Co-authored-by: shuai <[email protected]>
Co-authored-by: kelvinkuo <[email protected]>
Co-authored-by: hgaol <[email protected]>
Co-authored-by: sy-records <[email protected]>
Co-authored-by: Adam Vollrath <[email protected]>
Co-authored-by: kumfo <[email protected]>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <[email protected]>
  • Loading branch information
8 people authored Jan 29, 2024
1 parent 52e0a4c commit 937de43
Show file tree
Hide file tree
Showing 145 changed files with 3,632 additions and 1,410 deletions.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

blank_issues_enabled: true
contact_links:
- name: Support
Expand Down
115 changes: 0 additions & 115 deletions .github/workflows/uffizzi-build.yml

This file was deleted.

113 changes: 0 additions & 113 deletions .github/workflows/uffizzi-preview.yml

This file was deleted.

8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ RUN mkdir -p /data/uploads && chmod 777 /data/uploads \
FROM alpine
LABEL maintainer="[email protected]"

ENV TZ "Asia/Shanghai"
ARG TIMEZONE
ENV TIMEZONE=${TIMEZONE:-"Asia/Shanghai"}

RUN apk update \
&& apk --no-cache add \
bash \
Expand All @@ -58,7 +60,9 @@ RUN apk update \
openssh \
sqlite \
gnupg \
&& echo "Asia/Shanghai" > /etc/timezone
tzdata \
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime \
&& echo "${TIMEZONE}" > /etc/timezone

COPY --from=golang-builder /usr/bin/answer /usr/bin/answer
COPY --from=golang-builder /data /data
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: build clean ui

VERSION=1.2.1
VERSION=1.2.5
BIN=answer
DIR_SRC=./cmd/answer
DOCKER_CMD=docker
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To learn more about the project, visit [answer.apache.org](https://answer.apache
### Running with docker

```bash
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.1
docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:1.2.5
```

For more information, see [Installation](https://answer.apache.org/docs/installation).
Expand All @@ -43,11 +43,17 @@ You can also check out the [plugins here](https://answer.apache.org/plugins).
- Golang >= 1.18
- Node.js >= 16.17
- pnpm >= 8
- mockgen >= 1.6.0
- wire >= 0.5.0

### Build

```bash
# install wire and mockgen for building
$ make generate
# install frontend dependencies and build
$ make ui
# install backend dependencies and build
$ make build
```

Expand Down
12 changes: 7 additions & 5 deletions cmd/wire_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 937de43

Please sign in to comment.