Skip to content

Commit

Permalink
ci: use post-upgrade-snapshot-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond committed Jun 17, 2024
1 parent 62d5ec8 commit 2edbae7
Show file tree
Hide file tree
Showing 59 changed files with 55 additions and 3,895 deletions.
768 changes: 54 additions & 714 deletions .github/workflows/software-upgrade-test.yml

Large diffs are not rendered by default.

24 changes: 0 additions & 24 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,30 +120,6 @@ builds:
- muslc
- osusergo
- pebbledb
- id: upgrade-assure-linux-amd64
main: ./cmd/upgrade-assure
binary: upgrade-assure
goos:
- linux
goarch:
- amd64
env:
- CC=x86_64-linux-gnu-gcc
flags:
- -mod=readonly
- -trimpath
- id: upload-snapshot-linux-amd64
main: ./cmd/upload-snapshot
binary: upload-snapshot
goos:
- linux
goarch:
- amd64
env:
- CC=x86_64-linux-gnu-gcc
flags:
- -mod=readonly
- -trimpath
universal_binaries:
- id: elysd-darwin-universal
ids:
Expand Down
20 changes: 1 addition & 19 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,6 @@ build: check-version go.sum
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
@GOFLAGS=$(GOFLAGS) go build $(BUILD_FLAGS) -o $(BUILD_FOLDER) ./cmd/$(BINARY)

## build-upgrade-assure: Build the binary for upgrade assure
build-upgrade-assure: check-version go.sum
@echo Building Upgrade assure binary...
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
@GOFLAGS=$(GOFLAGS) go build -o $(BUILD_FOLDER) ./cmd/upgrade-assure

## build-upload-snapshot: Build the binary for upload snapshot
build-upload-snapshot: check-version go.sum
@echo Building Upload snapshot binary...
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
@GOFLAGS=$(GOFLAGS) go build -o $(BUILD_FOLDER) ./cmd/upload-snapshot

## build-delete-snapshot: Build the binary for delete snapshot
build-delete-snapshot: check-version go.sum
@echo Building Delete snapshot binary...
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
@GOFLAGS=$(GOFLAGS) go build -o $(BUILD_FOLDER) ./cmd/delete-snapshot

## build-all: Build binaries for all platforms
build-all:
@echo Building Elysd binaries for all platforms...
Expand All @@ -97,7 +79,7 @@ do-checksum:
## build-with-checksum: Build binaries for all platforms and generate checksums
build-with-checksum: build-all do-checksum

.PHONY: install build build-all do-checksum build-with-checksum build-upgrade-assure build-upload-snapshot build-delete-snapshot
.PHONY: install build build-all do-checksum build-with-checksum

## mocks: Generate mocks
mocks:
Expand Down
76 changes: 0 additions & 76 deletions cmd/delete-snapshot/main.go

This file was deleted.

209 changes: 0 additions & 209 deletions cmd/upgrade-assure/README.md

This file was deleted.

38 changes: 0 additions & 38 deletions cmd/upgrade-assure/account-unmarshal-json.go

This file was deleted.

Loading

0 comments on commit 2edbae7

Please sign in to comment.