-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/add-protoc
- Loading branch information
Showing
27 changed files
with
7,698 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Generate nodetime binaries | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'nodetime/*.go' | ||
- 'scripts/gen-nodetime' | ||
- 'scripts/data/gen-nodetime/**' | ||
- '!scripts/data/gen-nodetime/tsconfig.json' | ||
|
||
jobs: | ||
gen-nodetime: | ||
name: "Generate nodetime binaries" | ||
runs-on: ubuntu-latest | ||
concurrency: gen-nodetime | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up QEMU | ||
id: qemu | ||
uses: docker/setup-qemu-action@v1 | ||
with: | ||
image: tonistiigi/binfmt:latest | ||
platforms: all | ||
|
||
- uses: MOZGIII/install-ldid-action@v1 | ||
with: | ||
tag: v2.1.5-procursus2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
|
||
- run: ./scripts/gen-nodetime | ||
|
||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
title: "feat(nodetime): update binaries" | ||
commit-message: "feat(nodetime): update binaries" | ||
body: "" | ||
branch: feat/gen-nodetime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ help: Makefile | |
|
||
.PHONY: help | ||
|
||
.DEFAULT_GOAL := install | ||
.DEFAULT_GOAL := test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
go 1.21.0 | ||
go 1.21 | ||
|
||
use ./gex | ||
use ./protoc | ||
use ( | ||
./hermes | ||
./nodetime | ||
./gex | ||
./protoc | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/ignite/ignite-files/hermes | ||
|
||
go 1.21 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package nodetime | ||
|
||
// Binary returns the compressed platform specific nodetime binary. | ||
func Binary() []byte { | ||
return binaryCompressed | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package nodetime | ||
|
||
import _ "embed" // embed is required for binary embedding. | ||
|
||
//go:embed nodetime-darwin-amd64.tar.gz | ||
var binaryCompressed []byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package nodetime | ||
|
||
import _ "embed" // embed is required for binary embedding. | ||
|
||
//go:embed nodetime-darwin-arm64.tar.gz | ||
var binaryCompressed []byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package nodetime | ||
|
||
import _ "embed" // embed is required for binary embedding. | ||
|
||
//go:embed nodetime-linux-amd64.tar.gz | ||
var binaryCompressed []byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package nodetime | ||
|
||
import _ "embed" // embed is required for binary embedding. | ||
|
||
//go:embed nodetime-linux-arm64.tar.gz | ||
var binaryCompressed []byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/ignite/ignite-files/nodetime | ||
|
||
go 1.21 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env node | ||
|
||
var mode = process.argv[2]; | ||
process.argv.splice(2, 1); | ||
|
||
main(); | ||
|
||
function main() { | ||
switch (mode) { | ||
case "ts-proto": require("ts-proto/protoc-gen-ts_proto"); return; | ||
case "sta": require("swagger-typescript-api/index"); return; | ||
case "swagger-combine": require("swagger-combine/bin/swagger-combine"); return; | ||
case "ibc-setup": require("@confio/relayer/build/binary/ibc-setup/index"); return; | ||
case "ibc-relayer": require("@confio/relayer/build/binary/ibc-relayer/index"); return; | ||
case "xrelayer": require("./dist/relayer"); return; | ||
} | ||
|
||
console.error("unknown cli command"); | ||
} |
Oops, something went wrong.