Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimrostafarian committed Jan 21, 2023
1 parent e5ada0a commit 244b59d
Show file tree
Hide file tree
Showing 288 changed files with 247,851 additions and 232,082 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ A clear and concise description of what the 🐞 is.

Please provide the output of the following commands:

- `$ umeed version`
- `$ nebud version`
- `$ go version`
- `$ uname -a`

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ I have...
- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] added appropriate labels to the PR
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/umee-network/umee/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/tessornetwork/nebula/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
matrix:
arch: [amd64, arm64]
targetos: [darwin, linux]
name: umee ${{ matrix.arch }} for ${{ matrix.targetos }}
name: nebula ${{ matrix.arch }} for ${{ matrix.targetos }}
steps:
- uses: actions/checkout@v3
- name: Cache binaries
id: cache-binaries
uses: actions/cache@v3
with:
path: ./cmd/umeed/umeed
key: umeed-${{ matrix.targetos }}-${{ matrix.arch }}
path: ./cmd/nebud/nebud
key: nebud-${{ matrix.targetos }}-${{ matrix.arch }}
- uses: technote-space/[email protected]
with:
PATTERNS: |
Expand All @@ -43,5 +43,5 @@ jobs:
if: steps.cache-binaries.outputs.cache-hit != 'true' && env.GIT_DIFF
run: |
go mod download
cd cmd/umeed
cd cmd/nebud
go build .
2 changes: 1 addition & 1 deletion .github/workflows/price-feeder-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# the $GITHUB_ENV environment variable.
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/price-feeder/}" >> $GITHUB_ENV
# Remove the possible pre-existing same tag for umee related tags instead
# Remove the possible pre-existing same tag for nebula related tags instead
# of price-feeder tags, since goreleaser enforces semantic versioning and
# will error on non compliant tags.
#
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/simulations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ jobs:
run: |
make test-sim-multi-seed-short
# TODO: We disable multi-seed simulations due to the gravity bridge.
# Ref: https://github.com/umee-network/umee/issues/389
# Ref: https://github.com/tessornetwork/nebula/issues/389
if: ${{ false }}
# if: env.GIT_DIFF
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ jobs:
run: |
cd price-feeder && make test-unit
build-umeed:
build-nebud:
uses: ./.github/workflows/build.yml

liveness-test:
needs: build-umeed
needs: build-nebud
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -128,15 +128,15 @@ jobs:
id: cache-binaries
uses: actions/cache@v3
with:
path: ./cmd/umeed/umeed
key: umeed-linux-amd64
path: ./cmd/nebud/nebud
key: nebud-linux-amd64

- name: Move new version binary to build folder
if: steps.cache-binaries.outputs.cache-hit == 'true'
run: |
mkdir -p build
cp ./cmd/umeed/umeed ./build/umeed
chmod +x ./build/umeed
cp ./cmd/nebud/nebud ./build/nebud
chmod +x ./build/nebud
- name: Start single node chain
if: env.GIT_DIFF && steps.cache-binaries.outputs.cache-hit == 'true'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/umee-docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This workflow helps with creating releases.
# This job will only be triggered when a tag (vX.X.x) is pushed
name: Umeed Docker Release
name: Nebulad Docker Release
on:
push:
tags:
Expand All @@ -11,8 +11,8 @@ concurrency:
cancel-in-progress: true

jobs:
umeed-docker:
name: umee Docker
nebud-docker:
name: nebula Docker
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -23,7 +23,7 @@ jobs:
uses: docker/metadata-action@v4
with:
# github.repository == <account>/<repo>
images: ghcr.io/${{ github.repository_owner }}/umeed
images: ghcr.io/${{ github.repository_owner }}/nebud
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=semver,pattern={{version}}
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v3
with:
file: contrib/images/umeed.dockerfile
file: contrib/images/nebud.dockerfile
platforms: linux/amd64
# platforms: linux/amd64,linux/arm64 # requires qemu action
push: ${{ github.event_name != 'pull_request' }}
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ profile.out

# Script single node data
contrib/scripts/node-data
contrib/scripts/umeemainnet.*
contrib/scripts/nebulamainnet.*
contrib/scripts/cosmos-genesis-tinkerer
contrib/scripts/mainnet_tinkered_genesis.json
contrib/scripts/preprocessing.json
contrib/scripts/proposal.json
contrib/scripts/umeed-releases
contrib/scripts/nebud-releases
# preprocessing can appear from the shell curdir that is cosmos-genesis-tinkerer is running
preprocessing.json

Expand Down
12 changes: 6 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
project_name: umee
project_name: nebula

env:
- CGO_ENABLED=1
Expand All @@ -9,15 +9,15 @@ before:
- go mod download

builds:
- main: ./cmd/umeed
id: "umeed"
binary: umeed
- main: ./cmd/nebud
id: "nebud"
binary: nebud
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -tags=badgerdb ledger netgo
- -trimpath
ldflags:
- -s -w -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X github.com/cosmos/cosmos-sdk/version.Name=umee -X github.com/cosmos/cosmos-sdk/version.AppName=umeed -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger -X github.com/tendermint/tendermint/version.TMCoreSemVer={{ .Env.TM_VERSION }}
- -s -w -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X github.com/cosmos/cosmos-sdk/version.Name=nebula -X github.com/cosmos/cosmos-sdk/version.AppName=nebud -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }} -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }} -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger -X github.com/tendermint/tendermint/version.TMCoreSemVer={{ .Env.TM_VERSION }}
goos:
- linux
goarch:
Expand All @@ -40,7 +40,7 @@ archives:
release:
github:
owner: umee-network
name: umee
name: nebula

snapshot:
name_template: SNAPSHOT-{{ .Commit }}
Expand Down
Loading

0 comments on commit 244b59d

Please sign in to comment.