aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-05 23:08:34 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-05 23:08:34 -0700
commitd869a07cd2b2e9cc22e7e87f7f001be84712fe9c (patch)
tree311e868424a52b26683306fd0bf940a897f29577
parent705285ec603c19a2b5da9dee5fcea12ed4d671c9 (diff)
downloadseaweedfs-d869a07cd2b2e9cc22e7e87f7f001be84712fe9c.tar.xz
seaweedfs-d869a07cd2b2e9cc22e7e87f7f001be84712fe9c.zip
clean up
-rw-r--r--.github/workflows/binaries_dev.yml (renamed from .github/workflows/release.yml)0
-rw-r--r--.github/workflows/binaries_release.yml (renamed from .github/workflows/release_binaries.yml)0
-rw-r--r--.github/workflows/binary_test.yml50
-rw-r--r--.github/workflows/container_test.yml53
4 files changed, 0 insertions, 103 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/binaries_dev.yml
index ac04a85dc..ac04a85dc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/binaries_dev.yml
diff --git a/.github/workflows/release_binaries.yml b/.github/workflows/binaries_release.yml
index 4ce94b765..4ce94b765 100644
--- a/.github/workflows/release_binaries.yml
+++ b/.github/workflows/binaries_release.yml
diff --git a/.github/workflows/binary_test.yml b/.github/workflows/binary_test.yml
deleted file mode 100644
index 8468555e3..000000000
--- a/.github/workflows/binary_test.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-name: "go: test building cross-platform binary"
-
-on:
- pull_request:
- workflow_dispatch: []
-
-jobs:
-
- build:
- name: Build
- runs-on: ubuntu-latest
- strategy:
- matrix:
- goos: [linux, windows, darwin, freebsd, netbsd, openbsd]
- goarch: [amd64, arm, arm64, 386]
- exclude:
- - goarch: arm
- goos: darwin
- - goarch: 386
- goos: darwin
- - goarch: arm
- goos: windows
- - goarch: arm64
- goos: windows
-
- concurrency:
- group: ${{ github.head_ref }}/binary_test/${{ matrix.goos }}/${{ matrix.goarch }}
- cancel-in-progress: true
-
- steps:
-
- - name: Set up Go 1.x
- uses: actions/setup-go@v2
- with:
- go-version: ^1.13
- id: go
-
- - name: Check out code into the Go module directory
- uses: actions/checkout@v2
-
- - name: Get dependencies
- run: |
- cd weed; go get -v -t -d ./...
- if [ -f Gopkg.toml ]; then
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- dep ensure
- fi
-
- - name: Build
- run: cd weed; GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -v .
diff --git a/.github/workflows/container_test.yml b/.github/workflows/container_test.yml
deleted file mode 100644
index d86392af5..000000000
--- a/.github/workflows/container_test.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-name: "docker: test building container images"
-
-on:
- pull_request:
- workflow_dispatch: []
-
-concurrency:
- group: ${{ github.head_ref }}/container_test
- cancel-in-progress: true
-
-jobs:
- build-test:
- runs-on: [ubuntu-latest]
- strategy:
- matrix:
- platform: [ linux ]
- arch: [ amd64, arm, arm64, 386 ]
-
- steps:
- -
- name: Checkout
- uses: actions/checkout@v2
- -
- name: Docker meta
- id: docker_meta
- uses: docker/metadata-action@v3
- with:
- images: |
- chrislusf/seaweedfs
- ghcr.io/chrislusf/seaweedfs
- tags: |
- type=raw,value=latest
- labels: |
- org.opencontainers.image.title=seaweedfs
- org.opencontainers.image.vendor=Chris Lu
- -
- name: Set up QEMU
- uses: docker/setup-qemu-action@v1
- -
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
- with:
- buildkitd-flags: "--debug"
- -
- name: Build
- uses: docker/build-push-action@v2
- with:
- context: ./docker
- push: false
- file: ./docker/Dockerfile
- platforms: ${{ matrix.platform }}/${{ matrix.arch }}
- tags: ${{ steps.docker_meta.outputs.tags }}
- labels: ${{ steps.docker_meta.outputs.labels }}