From a929e61d0124096042d9255761a789c105093479 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Mon, 26 Aug 2024 19:38:08 -0400 Subject: [PATCH] chore: Remove unused configuration files --- .cz.toml | 7 --- .goreleaser.yaml | 111 -------------------------------------------- docker-compose.yaml | 18 ------- 3 files changed, 136 deletions(-) delete mode 100644 .cz.toml delete mode 100644 .goreleaser.yaml delete mode 100644 docker-compose.yaml diff --git a/.cz.toml b/.cz.toml deleted file mode 100644 index 50372f0f5..000000000 --- a/.cz.toml +++ /dev/null @@ -1,7 +0,0 @@ -[tool.commitizen] -name = "cz_conventional_commits" -tag_format = "$version" -version_scheme = "semver" -version = "0.6.0" -update_changelog_on_bump = true -major_version_zero = true diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index 8af7bea23..000000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,111 +0,0 @@ -project_name: core - -release: - github: - owner: di-dao - name: core - name_template: "{{.Tag}}" - -# Only uncomment os, arch, and targets if you are NOT using cosmwasm / wasm-light-client. -# Windows, 386 (32bit), and ARM are not Wasm compatible. -builds: - - id: core - goos: - - linux - - darwin - # - windows - goarch: - - amd64 - # - arm64 - # - "386" - goarm: - - "6" - gomips: - - hardfloat - goamd64: - - v1 - targets: - - linux_amd64_v1 - # - darwin_amd64_v1 - # - linux_arm64 - # - linux_386 - # - darwin_arm64 - # - windows_amd64_v1 - # - windows_arm64 - # - windows_386 - dir: . - main: ./cmd/sonrd - binary: sonrd - builder: go - gobinary: go - command: build - ldflags: - - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -archives: - - id: default - name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}' - format: tar.gz - files: - - src: license* - - src: LICENSE* - - src: readme* - - src: README* - - src: changelog* - - src: CHANGELOG* -snapshot: - name_template: "{{ .Version }}-SNAPSHOT-{{ .ShortCommit }}" -checksum: - name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt" - algorithm: sha256 -dist: dist -env_files: - github_token: ~/.config/goreleaser/github_token - gitlab_token: ~/.config/goreleaser/gitlab_token - gitea_token: ~/.config/goreleaser/gitea_token -source: - name_template: "{{ .ProjectName }}-{{ .Version }}" - format: tar.gz -gomod: - gobinary: go -announce: - twitter: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - mastodon: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - server: "" - reddit: - title_template: "{{ .ProjectName }} {{ .Tag }} is out!" - url_template: "{{ .ReleaseURL }}" - slack: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - username: GoReleaser - discord: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - author: GoReleaser - color: "3888754" - icon_url: https://goreleaser.com/static/avatar.png - teams: - title_template: "{{ .ProjectName }} {{ .Tag }} is out!" - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - color: "#2D313E" - icon_url: https://goreleaser.com/static/avatar.png - smtp: - subject_template: "{{ .ProjectName }} {{ .Tag }} is out!" - body_template: "You can view details from: {{ .ReleaseURL }}" - mattermost: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - title_template: "{{ .ProjectName }} {{ .Tag }} is out!" - username: GoReleaser - linkedin: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - telegram: - message_template: "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}" - webhook: - message_template: '{ "message": "{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}"}' - content_type: application/json; charset=utf-8 -git: - tag_sort: -version:refname -github_urls: - download: https://github.com -gitlab_urls: - download: https://gitlab.com diff --git a/docker-compose.yaml b/docker-compose.yaml deleted file mode 100644 index eee0423b5..000000000 --- a/docker-compose.yaml +++ /dev/null @@ -1,18 +0,0 @@ -version: "3" - -services: - sonr: - build: . - environment: - - SECRET_VAR - - REDIS_HOST - - REDIS_PASSWORD - depends_on: - - ipfs - - ipfs: - build: . - environment: - - SECRET_VAR - - REDIS_HOST - - REDIS_PASSWORD