Skip to content

Commit

Permalink
feat: fix workflows (#3)
Browse files Browse the repository at this point in the history
* init

* build fixed

* updated to latest changes

* github workflows

* Cleaned up scripts and git actions
  • Loading branch information
bizk authored Jun 23, 2023
1 parent ae1c6d0 commit fa2e781
Show file tree
Hide file tree
Showing 10 changed files with 219 additions and 391 deletions.
260 changes: 1 addition & 259 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,269 +8,11 @@ updates:
schedule:
interval: daily
time: "01:00"

- package-ecosystem: npm
directory: "/docs"
schedule:
interval: weekly
# DevRel should review docs updates
assignees:
- "julienrbrt"

- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
time: "01:05"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/simapp"
schedule:
interval: daily
time: "01:10"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tests"
schedule:
interval: weekly
day: monday
time: "01:15"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/api"
schedule:
interval: weekly
day: tuesday
time: "01:20"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/orm"
schedule:
interval: weekly
day: wednesday
time: "01:25"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/core"
schedule:
interval: weekly
day: thursday
time: "01:30"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/depinject"
schedule:
interval: weekly
day: friday
time: "01:35"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/errors"
schedule:
interval: weekly
day: monday
time: "01:40"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/math"
schedule:
interval: weekly
day: tuesday
time: "01:45"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/client/v2"
schedule:
interval: weekly
day: wednesday
time: "01:50"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/tx"
schedule:
interval: weekly
day: thursday
time: "01:55"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tools/cosmovisor"
schedule:
interval: weekly
day: friday
time: "02:00"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tools/rosetta"
schedule:
interval: weekly
day: monday
time: "02:05"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tools/confix"
schedule:
interval: weekly
day: tuesday
time: "02:10"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/tools/hubl"
schedule:
interval: weekly
day: thursday
time: "02:15"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/collections"
schedule:
interval: weekly
day: friday
time: "02:20"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/nft"
schedule:
interval: weekly
day: monday
time: "02:25"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/x/circuit"
schedule:
interval: weekly
day: tuesday
time: "02:30"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "x/feegrant"
schedule:
interval: weekly
day: wednesday
time: "02:35"
labels:
- "A:automerge"
- dependencies

- package-ecosystem: gomod
directory: "/x/evidence"
schedule:
interval: weekly
day: thursday
time: "02:40"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "/store"
schedule:
interval: weekly
day: friday
time: "02:45"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "x/upgrade"
schedule:
interval: weekly
day: monday
time: "02:50"
labels:
- "A:automerge"
- dependencies
- package-ecosystem: gomod
directory: "log"
schedule:
interval: weekly
day: tuesday
time: "02:55"
labels:
- "A:automerge"
- dependencies

# Dependencies should be up to date on release branch
- package-ecosystem: gomod
directory: "/"
target-branch: "release/v0.47.x"
schedule:
interval: daily
time: "03:00"
labels:
- "A:automerge"
- dependencies
- "testing-required"
allow:
- dependency-name: "github.com/cosmos/cosmos-sdk/*"
dependency-type: "all"
- dependency-name: "github.com/cosmos/*"
dependency-type: "all"
- dependency-name: "cosmossdk.io/*"
dependency-type: "all"
- dependency-name: "github.com/cometbft/*"
dependency-type: "all"
ignore:
- dependency-name: "github.com/cometbft/cometbft"
# cometbft 0.37 is not semver, but we want to only update "patch" versions for 0.37.x
update-types:
["version-update:semver-major", "version-update:semver-minor"]

- package-ecosystem: gomod
directory: "/"
target-branch: "release/v0.50.x"
schedule:
interval: daily
time: "03:00"
labels:
- "A:automerge"
- dependencies
- "testing-required"
allow:
- dependency-name: "github.com/cosmos/cosmos-sdk/*"
dependency-type: "all"
- dependency-name: "github.com/cosmos/*"
dependency-type: "all"
- dependency-name: "cosmossdk.io/*"
dependency-type: "all"
- dependency-name: "github.com/cometbft/*"
dependency-type: "all"
ignore:
- dependency-name: "github.com/cometbft/cometbft"
# cometbft 0.38 is not semver, but we want to only update "patch" versions for 0.38.x
update-types:
["version-update:semver-major", "version-update:semver-minor"]
- dependencies
77 changes: 1 addition & 76 deletions .github/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -1,77 +1,2 @@
"C:x/auth":
- x/auth/**/*
"C:x/authz":
- x/authz/**/*
"C:x/bank":
- x/bank/**/*
"C:x/crisis":
- x/crisis/**/*
"C:x/distribution":
- x/distribution/**/*
"C:x/evidence":
- x/evidence/**/*
"C:x/feegrant":
- x/feegrant/**/*
"C:x/genutil":
- x/genutil/**/*
"C:x/gov":
- x/gov/**/*
"C:x/group":
- x/group/**/*
"C:x/mint":
- x/mint/**/*
"C:x/nft":
- x/nft/**/*
"C:x/params":
- x/params/**/*
"C:Simulations":
- x/simulation/**/*
- x/*/simulation/**/*
"C:x/slashing":
- x/slashing/**/*
"C:x/staking":
- x/staking/**/*
"C:x/upgrade":
- x/upgrade/**/*
"C:x/consensus":
- x/consensus/**/*
"C:x/circuit":
- x/circuit/**/*
"C:x/tx":
- x/tx/**/*
"C:collections":
- collections/**/*
"C:Cosmovisor":
- tools/cosmovisor/**/*
"C:Rosetta":
- contrib/rosetta/**/*
- tools/rosetta/**/*
"C:Confix":
- tools/confix/**/*
"C:Hubl":
- tools/hubl/**/*
"C:Keys":
- client/keys/**/*
"Type: Build":
- Makefile
- Dockerfile
- docker-compose.yml
- scripts/*
"Type: CI":
- .github/**/*.yml
- buf.yaml
- .mergify.yml
- .golangci.yml
"C:CLI":
- client/**/*
- x/*/client/**/*
"Type: ADR":
- docs/architecture/**/*
"C:container":
- container/**/*
"C:Store":
- store/**/*
"C:orm":
- orm/**/*
"C:log":
- log/*
- /**/*
14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,9 @@ jobs:
- name: Build
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make build
- name: Build Legacy
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} COSMOS_BUILD_OPTIONS=legacy make build
###################
## Build Tooling ##
###################
- name: Build Cosmovisor
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make cosmovisor
- name: Build Rosetta
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make rosetta
- name: Build Confix
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make confix
- name: Build Hubl
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} make hubl
run: GOARCH=${{ matrix.go-arch }} make rosetta
Loading

0 comments on commit fa2e781

Please sign in to comment.