Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
linrunqi08 committed Nov 27, 2024
1 parent d040dbd commit ffe49f8
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

.DEFAULT_GOAL := all
VERSION ?= loongcollector-0.2.0
VERSION ?= 0.2.0
DOCKER_PUSH ?= false
DOCKER_REPOSITORY ?= aliyun/loongcollector
BUILD_REPOSITORY ?= aliyun/loongcollector_build
Expand Down
29 changes: 29 additions & 0 deletions changes/v0.2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 0.2.0

## Changes

All issues and pull requests are [here](https://github.com/alibaba/ilogtail/milestone/25).

### Features


### Fixed


### Doc


## Download

| **Filename** | **OS** | **Arch** | **SHA256 Checksum** |
| ---- | ---- | ---- | ---- |
|[ilogtail-0.2.0.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/0.2.0/ilogtail-0.2.0.linux-amd64.tar.gz)|Linux|x86-64|[ilogtail-0.2.0.linux-amd64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/0.2.0/ilogtail-0.2.0.linux-amd64.tar.gz.sha256)|
|[ilogtail-0.2.0.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/0.2.0/ilogtail-0.2.0.linux-arm64.tar.gz)|Linux|arm64|[ilogtail-0.2.0.linux-arm64.tar.gz.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/0.2.0/ilogtail-0.2.0.linux-arm64.tar.gz.sha256)|
|[ilogtail-0.2.0.windows-amd64.zip](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/0.2.0/ilogtail-0.2.0.windows-amd64.zip)|Windows|x86-64|[ilogtail-0.2.0.windows-amd64.zip.sha256](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/0.2.0/ilogtail-0.2.0.windows-amd64.zip.sha256)|

## Docker Image

**Docker Pull Command**
``` bash
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:0.2.0
```
2 changes: 1 addition & 1 deletion core/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Name/Version information.
if (NOT DEFINED LOGTAIL_VERSION)
set(LOGTAIL_VERSION "loongcollector-0.2.0")
set(LOGTAIL_VERSION "0.2.0")
endif ()
message(STATUS "Version: ${LOGTAIL_VERSION}")

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_build
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKDIR /src
COPY . .

ARG HOST_OS=Linux
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0

USER root

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_development_part
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FROM sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/loongcollector-community-edition/loongcollector-build-linux:2.0.5

ARG HOST_OS=Linux
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0

USER root
WORKDIR /loongcollector
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_e2e
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
FROM sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/loongcollector-community-edition/loongcollector-build-linux:2.0.5

ARG HOST_OS=Linux
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0

USER root
WORKDIR /loongcollector
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile_production
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

FROM --platform=$TARGETPLATFORM centos:centos7.9.2009 as build
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0
ARG TARGETPLATFORM
WORKDIR /usr/local
COPY dist/loongcollector-${VERSION}.linux-*.tar.gz .
Expand All @@ -30,7 +30,7 @@ RUN curl -L -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/
RUN yum update -y && yum upgrade -y && yum -y clean all && rm -fr /var/cache && rm -rf /core.*

ARG HOST_OS=Linux
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0
ARG TARGETPLATFORM

COPY --from=build /usr/local/loongcollector-${VERSION} /usr/local/loongcollector
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile_production_minimal
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

FROM --platform=$TARGETPLATFORM debian:bookworm as build
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0
ARG TARGETPLATFORM
ARG UID=65532
WORKDIR /usr/local
Expand All @@ -31,7 +31,7 @@ LABEL org.opencontainers.image.authors="[email protected], [email protected]
COPY --from=build /usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0 /lib/x86_64-linux-gnu/libuuid.so.1

ARG HOST_OS=Linux
ARG VERSION=loongcollector-0.2.0
ARG VERSION=0.2.0
ARG TARGETPLATFORM

COPY --from=build --chown=$UID:$UID /usr/local/loongcollector /usr/local/loongcollector
Expand Down
4 changes: 2 additions & 2 deletions docs/en/guides/How-to-build-with-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ make solib
### Build image

- The default {DOCKER_REPOSITORY} is `aliyun/ilogtail`.
- The default {VERSION} is `loongcollector-0.2.0`.
- The default {VERSION} is `0.2.0`.
- The default {DOCKER_PUSH} is `false`. When the option is configured as true, the built images would also be pushed to the {DOCKER_REPOSITORY} with {VERSION} tag.

```shell
Expand All @@ -32,7 +32,7 @@ If the features that you want to use only in Go part, such as collecting stdout
### Build image

- The default {DOCKER_REPOSITORY} is `aliyun/ilogtail`.
- The default {VERSION} is `loongcollector-0.2.0`.
- The default {VERSION} is `0.2.0`.
- The default {DOCKER_PUSH} is `false`. When the option is configured as true, the built images would also be pushed to the {DOCKER_REPOSITORY} with {VERSION} tag.

```shell
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function check_docker_buildkit_support {
ARCH=$(arch)
CATEGORY=$1
GENERATED_HOME=$2
VERSION=${3:-loongcollector-0.2.0}
VERSION=${3:-0.2.0}
REPOSITORY=${4:-aliyun/loongcollector}
PUSH=${5:-false}
USE_DOCKER_BUILDKIT=${6:-${DOCKER_BUILD_USE_BUILDKIT:-$(check_docker_buildkit_support)}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_build_scripts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set -o pipefail
# e2e: Build plugin dynamic lib with GOC and build the CPP part.
CATEGORY=$1
GENERATED_HOME=$2
VERSION=${3:-loongcollector-0.2.0}
VERSION=${3:-0.2.0}
REPOSITORY=${4:-aliyun/loongcollector}
OUT_DIR=${5:-output}
EXPORT_GO_ENVS=${6:-${DOCKER_BUILD_EXPORT_GO_ENVS:-true}}
Expand Down
2 changes: 1 addition & 1 deletion scripts/plugin_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function os() {
MOD=${1:-mod}
BUILDMODE=${2:-default}
OUT_DIR=${3:-output}
VERSION=${4:-loongcollector-0.2.0}
VERSION=${4:-0.2.0}
PLUGINS_CONFIG_FILE=${5:-${PLUGINS_CONFIG_FILE:-plugins.yml,external_plugins.yml}}
GO_MOD_FILE=${6:-${GO_MOD_FILE:-go.mod}}
NAME=ilogtail
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows32_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REM 2. Build iLogtail.
REM 3. Build iLogtail plugin.
REM 4. Make package.

set ILOGTAIL_VERSION=loongcollector-0.2.0
set ILOGTAIL_VERSION=0.2.0
if not "%1" == "" set ILOGTAIL_VERSION=%1
set CurrentPath=%~dp0
set P1Path=
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows64_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REM 2. Build iLogtail.
REM 3. Build iLogtail plugin.
REM 4. Make package.

set ILOGTAIL_VERSION=loongcollector-0.2.0
set ILOGTAIL_VERSION=0.2.0
if not "%1" == "" set ILOGTAIL_VERSION=%1
set CurrentPath=%~dp0
set P1Path=
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows64_dist.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REM 1. Set environments.
REM 2. Copy output to dist package dir.
REM 3. Pack dir to zip archive.

set ILOGTAIL_VERSION=loongcollector-0.2.0
set ILOGTAIL_VERSION=0.2.0
if not "%1" == "" set ILOGTAIL_VERSION=%1
set CurrentPath=%~dp0
set P1Path=
Expand Down
2 changes: 1 addition & 1 deletion test/engine/setup/dockercompose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
interval: 1s
retries: 10
loongcollectorC:
image: aliyun/loongcollector:loongcollector-0.2.0
image: aliyun/loongcollector:0.2.0
hostname: loongcollector
privileged: true
pid: host
Expand Down

0 comments on commit ffe49f8

Please sign in to comment.