-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update-readme-and-docs' of github.com:hasura/ndc-postgr…
…es into update-readme-and-docs
- Loading branch information
Showing
417 changed files
with
2,465 additions
and
2,757 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,3 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This is a direnv configuration that will load your locally-provided direnv | ||
# .envrc.local file. | ||
# | ||
# Install direnv, then add anything you'd like to load when entering this | ||
# directory. | ||
# | ||
# See .envrc.example for examples. | ||
|
||
source_env_if_exists .envrc.local |
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,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Here are some examples of what you can do with direnv. | ||
# Copy the code into .envrc.local to use them. | ||
|
||
# load the Nix shell | ||
use flake | ||
|
||
# enable incremental compilation | ||
export CARGO_INCREMENTAL='true' | ||
|
||
# use `mold` as your linker, for faster linking (only on Linux) | ||
export RUSTFLAGS='-C link-arg=-fuse-ld=mold' | ||
|
||
# set your AWS Aurora connection string for testing | ||
export AURORA_CONNECTION_STRING='postgresql://...' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: end-to-end release compatibility | ||
|
||
on: | ||
merge_group: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
end_to_end_release_compatibility: | ||
name: Check PR against end-to-end tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# pull requests create a new merge commit so we have to work our way back | ||
# to the actual commit so it matches the Docker image | ||
- name: Generate short SHA | ||
run: | | ||
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then | ||
GITHUB_SHA=$(cat $GITHUB_EVENT_PATH | jq -r .pull_request.head.sha) | ||
fi | ||
echo "hash=$(git rev-parse --short=9 "$GITHUB_SHA")" >> $GITHUB_OUTPUT | ||
id: short-git-hash | ||
|
||
- name: Wait for Docker image to be created | ||
uses: lewagon/[email protected] | ||
with: | ||
ref: "${{ github.event.pull_request.head.sha || github.sha }}" | ||
check-name: "build and deploy (ndc-postgres)" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Dispatch E2E tests | ||
uses: aurelien-baudet/workflow-dispatch@v2 | ||
id: workflow_dispatch | ||
with: | ||
inputs: '{ "connector": "${{ steps.short-git-hash.outputs.hash }}" }' | ||
repo: hasura/v3-e2e-testing | ||
ref: main | ||
token: ${{ secrets.E2E_WORKFLOW_PAT }} | ||
workflow: "cargo test postgres" |
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 +1,2 @@ | ||
flake.lock | ||
docs/ |
Oops, something went wrong.