-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
124 changed files
with
2,259 additions
and
1,635 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
|
||
export CLI_VERSION=$GITHUB_REF_NAME | ||
export MACOS_AMD64_SHA256=$(sha256sum "_output/ndc-rest-schema-darwin-amd64" | awk '{ print $1 }') | ||
export MACOS_ARM64_SHA256=$(sha256sum "_output/ndc-rest-schema-darwin-arm64" | awk '{ print $1 }') | ||
export LINUX_AMD64_SHA256=$(sha256sum "_output/ndc-rest-schema-linux-amd64" | awk '{ print $1 }') | ||
export LINUX_ARM64_SHA256=$(sha256sum "_output/ndc-rest-schema-linux-arm64" | awk '{ print $1 }') | ||
export WINDOWS_AMD64_SHA256=$(sha256sum "_output/ndc-rest-schema-windows-amd64.exe" | awk '{ print $1 }') | ||
export MACOS_AMD64_SHA256=$(sha256sum "_output/ndc-http-schema-darwin-amd64" | awk '{ print $1 }') | ||
export MACOS_ARM64_SHA256=$(sha256sum "_output/ndc-http-schema-darwin-arm64" | awk '{ print $1 }') | ||
export LINUX_AMD64_SHA256=$(sha256sum "_output/ndc-http-schema-linux-amd64" | awk '{ print $1 }') | ||
export LINUX_ARM64_SHA256=$(sha256sum "_output/ndc-http-schema-linux-arm64" | awk '{ print $1 }') | ||
export WINDOWS_AMD64_SHA256=$(sha256sum "_output/ndc-http-schema-windows-amd64.exe" | awk '{ print $1 }') | ||
|
||
envsubst < .github/scripts/plugin-manifest.yaml > release/manifest.yaml |
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,41 +1,41 @@ | ||
name: ndc-rest | ||
name: ndc-http | ||
version: "${CLI_VERSION}" | ||
shortDescription: "CLI plugin for Hasura REST data connector" | ||
homepage: https://github.com/hasura/ndc-rest | ||
shortDescription: "CLI plugin for Hasura HTTP data connector" | ||
homepage: https://github.com/hasura/ndc-http | ||
hidden: true | ||
platforms: | ||
- selector: darwin-arm64 | ||
uri: "https://github.com/hasura/ndc-rest/releases/download/${CLI_VERSION}/ndc-rest-schema-darwin-arm64" | ||
uri: "https://github.com/hasura/ndc-http/releases/download/${CLI_VERSION}/ndc-http-schema-darwin-arm64" | ||
sha256: "${MACOS_ARM64_SHA256}" | ||
bin: "ndc-rest-schema" | ||
bin: "ndc-http-schema" | ||
files: | ||
- from: "./ndc-rest-schema-darwin-arm64" | ||
to: "ndc-rest-schema" | ||
- from: "./ndc-http-schema-darwin-arm64" | ||
to: "ndc-http-schema" | ||
- selector: linux-arm64 | ||
uri: "https://github.com/hasura/ndc-rest/releases/download/${CLI_VERSION}/ndc-rest-schema-linux-arm64" | ||
uri: "https://github.com/hasura/ndc-http/releases/download/${CLI_VERSION}/ndc-http-schema-linux-arm64" | ||
sha256: "${LINUX_ARM64_SHA256}" | ||
bin: "ndc-rest-schema" | ||
bin: "ndc-http-schema" | ||
files: | ||
- from: "./ndc-rest-schema-linux-arm64" | ||
to: "ndc-rest-schema" | ||
- from: "./ndc-http-schema-linux-arm64" | ||
to: "ndc-http-schema" | ||
- selector: darwin-amd64 | ||
uri: "https://github.com/hasura/ndc-rest/releases/download/${CLI_VERSION}/ndc-rest-schema-darwin-amd64" | ||
uri: "https://github.com/hasura/ndc-http/releases/download/${CLI_VERSION}/ndc-http-schema-darwin-amd64" | ||
sha256: "${MACOS_AMD64_SHA256}" | ||
bin: "ndc-rest-schema" | ||
bin: "ndc-http-schema" | ||
files: | ||
- from: "./ndc-rest-schema-darwin-amd64" | ||
to: "ndc-rest-schema" | ||
- from: "./ndc-http-schema-darwin-amd64" | ||
to: "ndc-http-schema" | ||
- selector: windows-amd64 | ||
uri: "https://github.com/hasura/ndc-rest/releases/download/${CLI_VERSION}/ndc-rest-schema-windows-amd64.exe" | ||
uri: "https://github.com/hasura/ndc-http/releases/download/${CLI_VERSION}/ndc-http-schema-windows-amd64.exe" | ||
sha256: "${WINDOWS_AMD64_SHA256}" | ||
bin: "ndc-rest-schema.exe" | ||
bin: "ndc-http-schema.exe" | ||
files: | ||
- from: "./ndc-rest-schema-windows-amd64.exe" | ||
to: "ndc-rest-schema.exe" | ||
- from: "./ndc-http-schema-windows-amd64.exe" | ||
to: "ndc-http-schema.exe" | ||
- selector: linux-amd64 | ||
uri: "https://github.com/hasura/ndc-rest/releases/download/${CLI_VERSION}/ndc-rest-schema-linux-amd64" | ||
uri: "https://github.com/hasura/ndc-http/releases/download/${CLI_VERSION}/ndc-http-schema-linux-amd64" | ||
sha256: "${LINUX_AMD64_SHA256}" | ||
bin: "ndc-rest-schema" | ||
bin: "ndc-http-schema" | ||
files: | ||
- from: "./ndc-rest-schema-linux-amd64" | ||
to: "ndc-rest-schema" | ||
- from: "./ndc-http-schema-linux-amd64" | ||
to: "ndc-http-schema" |
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
This file was deleted.
Oops, something went wrong.
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
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
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,7 +1,7 @@ | ||
include: | ||
- tests/engine/compose.yaml | ||
services: | ||
ndc-rest: | ||
ndc-http: | ||
build: | ||
context: . | ||
ports: | ||
|
Oops, something went wrong.