From 3bc87204b58e85bbb262e9ec9668ae0341ce588d Mon Sep 17 00:00:00 2001 From: Kasey Rodgers Date: Fri, 4 Nov 2022 11:44:17 -0700 Subject: [PATCH] remove commented lines and OS/arch from binary names --- .github/workflows/release.yml | 88 +++-------------------------------- 1 file changed, 6 insertions(+), 82 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aec1b6f73..77acd746a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,12 +87,12 @@ jobs: - name: build featurebase run: | pwd - go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/featurebase/featurebase-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./cmd/featurebase - go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-csv-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-csv - go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-kafka-static-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-kafka-static - go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-sql-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-sql - go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-github-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-github - go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-kinesis-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-kinesis + go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/featurebase/featurebase -ldflags "${{needs.meta.outputs.ldflags}}" ./cmd/featurebase + go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-csv -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-csv + go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-kafka-static -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-kafka-static + go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-sql -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-sql + go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-github -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-github + go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/idk/consumer-kinesis -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-kinesis cp ./install/featurebase.conf NOTICE ./install/featurebase.debian.service ./install/featurebase.redhat.service ./build/${{ matrix.goos }}-${{ matrix.goarch }}/featurebase/ cd ./build/${{ matrix.goos }}-${{ matrix.goarch }}/ tar -cvf /home/runner/work/featurebase/featurebase/featurebase-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz * @@ -102,79 +102,3 @@ jobs: name: featurebase-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz path: /home/runner/work/featurebase/featurebase/featurebase-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz - # build-ingest: - # runs-on: ubuntu-latest - # needs: [meta] - - # strategy: - # matrix: - # goos: - # - "darwin" - # - "linux" - # goarch: - # - "amd64" - # - "arm64" - - # env: - # GOOS: ${{ matrix.goos }} - # GOARCH: ${{ matrix.goarch }} - - # steps: - # - uses: actions/checkout@v3 - - # - uses: actions/setup-go@v3 - # with: - # go-version: "^1.19.1" - - # - name: build ingester - # run: go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/ingester-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/ingester - - # - name: build consumer-csv - # run: go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/consumer-csv-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-csv - - # - name: build consumer-kafka-static - # run: go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/consumer-kafka-static-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-kafka-static - - # - name: build consumer-sql - # run: go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/consumer-sql-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-sql - - # - name: build consumer-github - # run: go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/consumer-github-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-github - - # - name: build consumer-kinesis - # run: go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}/consumer-kinesis-${{ matrix.goos }}-${{ matrix.goarch }} -ldflags "${{needs.meta.outputs.ldflags}}" ./idk/cmd/molecula-consumer-kinesis - - # - uses: actions/upload-artifact@v3 - # with: - # name: ingester-${{ matrix.goos }}-${{ matrix.goarch }} - # path: ./build/${{ matrix.goos }}-${{ matrix.goarch }}/ingester-${{ matrix.goos }}-${{ matrix.goarch }} - - # - uses: actions/upload-artifact@v3 - # with: - # name: consumers-${{ matrix.goos }}-${{ matrix.goarch }} - # path: ./build/${{ matrix.goos }}-${{ matrix.goarch }}/consumer* - - # bundle: - # runs-on: ubuntu-latest - # needs: - # - meta - # - build-featurebase - # - build-lattice - # - build-ingest - - # strategy: - # matrix: - # goos: - # - "darwin" - # - "linux" - # goarch: - # - "amd64" - # - "arm64" - - # steps: - # - uses: actions/download-artifact@v3 - # with: - # name: - # path: ./build/${{ matrix.goos }}-${{ matrix.goarch }}/* - # - name: Display structure of downloaded files - # run: ls -R