diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7905b9420..c51f3ff88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Go Release Binaries uses: wangyoucao577/go-release-action@v1.17 with: - goversion: 1.17 + goversion: 1.16 github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} @@ -52,7 +52,7 @@ jobs: - name: Go Release Binaries uses: wangyoucao577/go-release-action@v1.17 with: - goversion: 1.17 + goversion: 1.16 github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} diff --git a/.github/workflows/release_binaries.yml b/.github/workflows/release_binaries.yml index ca3457c8b..8acb983fb 100644 --- a/.github/workflows/release_binaries.yml +++ b/.github/workflows/release_binaries.yml @@ -30,7 +30,7 @@ jobs: - name: Go Release Binaries uses: wangyoucao577/go-release-action@v1.19 with: - goversion: 1.17 + goversion: 1.16 github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} @@ -45,7 +45,7 @@ jobs: - name: Go Release Large Disk Binaries uses: wangyoucao577/go-release-action@v1.19 with: - goversion: 1.17 + goversion: 1.16 github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} diff --git a/.travis.yml.disabled b/.travis.yml similarity index 97% rename from .travis.yml.disabled rename to .travis.yml index d34427fc7..7934e1ead 100644 --- a/.travis.yml.disabled +++ b/.travis.yml @@ -1,7 +1,7 @@ sudo: false language: go go: - - 1.17.x + - 1.16.x before_install: - export PATH=/home/travis/gopath/bin:$PATH @@ -43,4 +43,4 @@ deploy: on: tags: true repo: chrislusf/seaweedfs - go: 1.17.x + go: 1.16.x diff --git a/README.md b/README.md index 7e1cd0812..bc7fae408 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Slack](https://img.shields.io/badge/slack-purple)](https://join.slack.com/t/seaweedfs/shared_invite/enQtMzI4MTMwMjU2MzA3LTEyYzZmZWYzOGQ3MDJlZWMzYmI0OTE4OTJiZjJjODBmMzUxNmYwODg0YjY3MTNlMjBmZDQ1NzQ5NDJhZWI2ZmY) [![Twitter](https://img.shields.io/twitter/follow/seaweedfs.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=seaweedfs) -[![Build Status](https://img.shields.io/github/workflow/status/chrislusf/seaweedfs/Go)](https://github.com/chrislusf/seaweedfs/actions/workflows/go.yml) +[![Build Status](https://travis-ci.com/chrislusf/seaweedfs.svg?branch=master)](https://travis-ci.com/chrislusf/seaweedfs) [![GoDoc](https://godoc.org/github.com/chrislusf/seaweedfs/weed?status.svg)](https://godoc.org/github.com/chrislusf/seaweedfs/weed) [![Wiki](https://img.shields.io/badge/docs-wiki-blue.svg)](https://github.com/chrislusf/seaweedfs/wiki) [![Docker Pulls](https://img.shields.io/docker/pulls/chrislusf/seaweedfs?maxAge=4800)](https://hub.docker.com/r/chrislusf/seaweedfs/) diff --git a/docker/Dockerfile b/docker/Dockerfile index cf8eac251..2165466ca 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,7 +16,7 @@ RUN \ # Install SeaweedFS and Supercronic ( for cron job mode ) apk add --no-cache --virtual build-dependencies --update wget curl ca-certificates && \ apk add fuse && \ - wget -P /tmp https://github.com/$(curl -s -L https://github.com/chrislusf/seaweedfs/releases/${RELEASE} | egrep -o "chrislusf/seaweedfs/releases/download/.*/linux_$ARCH.tar.gz" | head -n 1) && \ + wget -P /tmp https://github.com/$(curl -s -L https://github.com/chrislusf/seaweedfs/releases/${RELEASE} | egrep -o "chrislusf/seaweedfs/releases/download/.*/linux_$ARCH.tar.gz") && \ tar -C /usr/bin/ -xzvf /tmp/linux_$ARCH.tar.gz && \ curl -fsSLO "$SUPERCRONIC_URL" && \ echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - && \ diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index 3a62cf5a3..01334280d 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -1,4 +1,4 @@ -FROM amd64/golang:1.17-alpine as builder +FROM amd64/golang:1.16-alpine as builder RUN apk add git g++ fuse RUN mkdir -p /go/src/github.com/chrislusf/ RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs diff --git a/docker/Dockerfile.go_build_large b/docker/Dockerfile.go_build_large index b0433257c..2d67a1924 100644 --- a/docker/Dockerfile.go_build_large +++ b/docker/Dockerfile.go_build_large @@ -1,4 +1,4 @@ -FROM amd64/golang:1.17-alpine as builder +FROM amd64/golang:1.16-alpine as builder RUN apk add git g++ fuse RUN mkdir -p /go/src/github.com/chrislusf/ RUN git clone https://github.com/chrislusf/seaweedfs /go/src/github.com/chrislusf/seaweedfs