Skip to content

Commit

Permalink
add v1.3.0 package hash
Browse files Browse the repository at this point in the history
  • Loading branch information
yyuuttaaoo committed Dec 2, 2022
1 parent f900f5a commit db933ea
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 89 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,5 @@ docker: $(DIST_FILE)

.PHONY: multi-arch-docker
multi-arch-docker: $(DIST_FILE)
@echo "will push to $(DOCKER_REPOSITORY):edge. Make sure this tag does not exist or push will fail."
./scripts/docker_build.sh multi-arch-production $(GENERATED_HOME) $(VERSION) $(DOCKER_REPOSITORY) $(DOCKER_PUSH)
1 change: 1 addition & 0 deletions core/common/MachineInfoUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ bool IsDigitsDotsHostname(const char* hostname) {
}
return true;
}
return false;
}

} // namespace logtail
11 changes: 7 additions & 4 deletions docker/build-multi-arch-build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
set -ue
set -o pipefail

TAG_VERSION=latest

docker manifest rm sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:${TAG_VERSION}
docker manifest create \
sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:latest \
--amend sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux-amd64:latest \
--amend sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux-arm64:latest
sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:${TAG_VERSION} \
--amend sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux-amd64:${TAG_VERSION} \
--amend sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux-arm64:${TAG_VERSION}

docker manifest push sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:latest
docker manifest push sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail-build-linux:${TAG_VERSION}
10 changes: 5 additions & 5 deletions docs/cn/installation/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@

| 文件名 | 系统 | 架构 | SHA256 校验码 |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------ | ---------------------------------------------------------------- |
| [ilogtail-1.3.0.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.3.0/ilogtail-1.3.0.linux-amd64.tar.gz) | Linux | x86-64 | - |
| [ilogtail-1.3.0.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.3.0/ilogtail-1.3.0.linux-arm64.tar.gz) | Linux | arm64 | - |
| [ilogtail-1.3.0.linux-amd64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.3.0/ilogtail-1.3.0.linux-amd64.tar.gz) | Linux | x86-64 | 5ef5672a226089aa98dfb71dc48b01254b9b77c714466ecc1b6c4d9c0df60a50 |
| [ilogtail-1.3.0.linux-arm64.tar.gz](https://ilogtail-community-edition.oss-cn-shanghai.aliyuncs.com/1.3.0/ilogtail-1.3.0.linux-arm64.tar.gz) | Linux | arm64 | 73d33d4cac90543ea5c2481928e090955643c6dc6839535f53bfa54b6101704d |

### Docker 镜像

**Docker Pull 命令** 

```
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.1.0-k8s-patch
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.3.0
```

## 1.2.1
Expand Down Expand Up @@ -83,7 +83,7 @@ docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-communi
**Docker Pull 命令** 

```
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.1.0-k8s-patch
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.2.1
```

## 1.1.1
Expand All @@ -110,7 +110,7 @@ docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-communi
**Docker Pull 命令** 

```
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.1.0-k8s-patch
docker pull sls-opensource-registry.cn-shanghai.cr.aliyuncs.com/ilogtail-community-edition/ilogtail:1.1.1
```

## 1.1.0
Expand Down
3 changes: 2 additions & 1 deletion scripts/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ fi
echo "=============DOCKERFILE=================="
cat $GEN_DOCKERFILE
echo "========================================="

if [[ $CATEGORY != "multi-arch-production" ]]; then
docker build --build-arg TARGETPLATFORM=linux/$ARCH \
--build-arg VERSION="$VERSION" \
Expand All @@ -89,7 +90,7 @@ else
--no-cache -f $GEN_DOCKERFILE .
fi

if [[ $PUSH = "true" ]]; then
if [[ $PUSH = "true" && $CATEGORY != "multi-arch-production" ]]; then
echo "COMMAND:"
echo "docker push $REPOSITORY:$VERSION"
if [[ $VERSION = "latest" ]]; then
Expand Down
79 changes: 0 additions & 79 deletions upload_release_assets.sh

This file was deleted.

0 comments on commit db933ea

Please sign in to comment.