Compare commits
10 Commits
@nhost/das
...
@nhost/das
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
565aee6d34 | ||
|
|
47013da462 | ||
|
|
2e701456d3 | ||
|
|
f08bbc62f6 | ||
|
|
93c233deb0 | ||
|
|
ff2a84aa37 | ||
|
|
3ca082d368 | ||
|
|
cec16c6b89 | ||
|
|
543f2c2b0e | ||
|
|
53ac9263c1 |
41
.github/actions/validate-pr-title/action.yaml
vendored
Normal file
41
.github/actions/validate-pr-title/action.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
name: "Validate PR Title"
|
||||
description: "Validates that PR title follows the required format: TYPE(PKG): SUMMARY"
|
||||
inputs:
|
||||
pr_title:
|
||||
description: "The PR title to validate"
|
||||
required: true
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: "Validate PR title format"
|
||||
shell: bash
|
||||
run: |
|
||||
PR_TITLE="${{ inputs.pr_title }}"
|
||||
|
||||
echo "Validating PR title: $PR_TITLE"
|
||||
|
||||
# Define valid types and packages
|
||||
VALID_TYPES="feat|fix|chore"
|
||||
VALID_PKGS="ci|cli|codegen|dashboard|deps|docs|examples|mintlify-openapi|nhost-js|nixops|storage"
|
||||
|
||||
# Check if title matches the pattern TYPE(PKG): SUMMARY
|
||||
if [[ ! "$PR_TITLE" =~ ^(${VALID_TYPES})\((${VALID_PKGS})\):\ .+ ]]; then
|
||||
echo "❌ PR title does not follow the required format!"
|
||||
echo ""
|
||||
echo "Expected format: TYPE(PKG): SUMMARY"
|
||||
echo ""
|
||||
echo "Valid TYPEs:"
|
||||
echo " - feat: mark this pull request as a feature"
|
||||
echo " - fix: mark this pull request as a bug fix"
|
||||
echo " - chore: mark this pull request as a maintenance item"
|
||||
echo ""
|
||||
echo "Valid PKGs:"
|
||||
echo " - ci, cli, codegen, dashboard, deps, docs, examples,"
|
||||
echo " - mintlify-openapi, nhost-js, nixops, storage"
|
||||
echo ""
|
||||
echo "Example: feat(cli): add new command for database migrations"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✅ PR title is valid!"
|
||||
2
.github/workflows/cli_wf_release.yaml
vendored
2
.github/workflows/cli_wf_release.yaml
vendored
@@ -68,7 +68,7 @@ jobs:
|
||||
ref: ${{ inputs.GIT_REF }}
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
comment_on_pr: false
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
@@ -105,7 +105,7 @@ jobs:
|
||||
comment_on_pr: false
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
3
.github/workflows/dashboard_wf_release.yaml
vendored
3
.github/workflows/dashboard_wf_release.yaml
vendored
@@ -98,6 +98,7 @@ jobs:
|
||||
committer: GitHub <noreply@github.com>
|
||||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
||||
body: |
|
||||
This PR bumps the Nhost Dashboard Docker image to version ${{ needs.version.outputs.dashboardVersion }}.
|
||||
This PR bumps the Nhost Dashboard Docker image to version ${{ inputs.VERSION }}.
|
||||
branch: bump-dashboard-version
|
||||
base: main
|
||||
delete-branch: true
|
||||
|
||||
4
.github/workflows/gen_ai_review.yaml
vendored
4
.github/workflows/gen_ai_review.yaml
vendored
@@ -21,6 +21,6 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
OPENAI_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
config.model: "anthropic/claude-sonnet-4-20250514"
|
||||
config.model_turbo: "anthropic/claude-sonnet-4-20250514"
|
||||
config.model: ${{ vars.GEN_AI_MODEL }}
|
||||
config.model_turbo: $${{ vars.GEN_AI_MODEL_TURBO }}
|
||||
ignore.glob: "['pnpm-lock.yaml','**/pnpm-lock.yaml', 'vendor/**','**/client_gen.go','**/models_gen.go','**/generated.go','**/*.gen.go']"
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_PRODUCTION_CORE_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
8
.github/workflows/wf_build_artifacts.yaml
vendored
8
.github/workflows/wf_build_artifacts.yaml
vendored
@@ -53,8 +53,14 @@ jobs:
|
||||
with:
|
||||
ref: ${{ inputs.GIT_REF }}
|
||||
|
||||
- name: "Validate PR title"
|
||||
uses: ./.github/actions/validate-pr-title
|
||||
with:
|
||||
pr_title: ${{ github.event.pull_request.title }}
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
8
.github/workflows/wf_check.yaml
vendored
8
.github/workflows/wf_check.yaml
vendored
@@ -44,13 +44,19 @@ jobs:
|
||||
with:
|
||||
ref: ${{ inputs.GIT_REF }}
|
||||
|
||||
- name: "Validate PR title"
|
||||
uses: ./.github/actions/validate-pr-title
|
||||
with:
|
||||
pr_title: ${{ github.event.pull_request.title }}
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
- name: Collect Workflow Telemetry
|
||||
uses: catchpoint/workflow-telemetry-action@v2
|
||||
with:
|
||||
comment_on_pr: false
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
2
.github/workflows/wf_deploy_vercel.yaml
vendored
2
.github/workflows/wf_deploy_vercel.yaml
vendored
@@ -54,7 +54,7 @@ jobs:
|
||||
ref: ${{ inputs.GIT_REF }}
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
@@ -33,13 +33,13 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: "Check out repository"
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
2
.github/workflows/wf_release_npm.yaml
vendored
2
.github/workflows/wf_release_npm.yaml
vendored
@@ -42,7 +42,7 @@ jobs:
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Configure aws
|
||||
uses: aws-actions/configure-aws-credentials@v4
|
||||
uses: aws-actions/configure-aws-credentials@v5
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }}
|
||||
aws-region: eu-central-1
|
||||
|
||||
11
cli/CHANGELOG.md
Normal file
11
cli/CHANGELOG.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [cli@1.32.1] - 2025-09-29
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(ci)* Minor improvements to the ci (#3527)
|
||||
- *(cli)* Update schema (#3529)
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [@nhost/dashboard@2.38.1] - 2025-09-30
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- *(dashboard)* Delay generating auth service url when creating users (#3530)
|
||||
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
- *(ci)* Bump aws-actions/configure-aws-credentials from 4 to 5 (#3522)
|
||||
|
||||
## [@nhost/dashboard@2.38.0] - 2025-09-29
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"start": "next start",
|
||||
"lint": "next lint --max-warnings 0",
|
||||
"test": "vitest --run",
|
||||
"test:watch": "vitest",
|
||||
"generate": "echo 'This needs to be fixed.'",
|
||||
"codegen": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config --config graphql.config.yaml --errors-only",
|
||||
"codegen-graphite": "graphql-codegen --config graphite.graphql.config.yaml --errors-only",
|
||||
|
||||
@@ -13,7 +13,7 @@ export default defineConfig({
|
||||
},
|
||||
fullyParallel: false,
|
||||
forbidOnly: !!process.env.CI,
|
||||
retries: 0,
|
||||
retries: 2,
|
||||
workers: 1,
|
||||
reporter: 'html',
|
||||
use: {
|
||||
|
||||
@@ -12,6 +12,7 @@ import { ApplicationUnpausing } from '@/features/orgs/projects/common/components
|
||||
import { useAppState } from '@/features/orgs/projects/common/hooks/useAppState';
|
||||
import { useIsPlatform } from '@/features/orgs/projects/common/hooks/useIsPlatform';
|
||||
import { useProjectWithState } from '@/features/orgs/projects/hooks/useProjectWithState';
|
||||
import { isEmptyValue } from '@/lib/utils';
|
||||
import { useAuth } from '@/providers/Auth';
|
||||
import { ApplicationStatus } from '@/types/application';
|
||||
import { getConfigServerUrl, isPlatform as isPlatformFn } from '@/utils/env';
|
||||
@@ -188,6 +189,15 @@ function ProjectLayoutContent({
|
||||
throw error;
|
||||
}
|
||||
|
||||
if (
|
||||
isUserLoggedIn &&
|
||||
isEmptyValue(project) &&
|
||||
!loading &&
|
||||
isEmptyValue(error)
|
||||
) {
|
||||
throw new Error('Could not load project. Please try again later.');
|
||||
}
|
||||
|
||||
return (
|
||||
<Box
|
||||
component="main"
|
||||
|
||||
@@ -65,37 +65,39 @@ export default function CreateUserForm({
|
||||
onDirtyStateChange(isDirty, location);
|
||||
}, [isDirty, location, onDirtyStateChange]);
|
||||
|
||||
const baseAuthUrl =
|
||||
isNotEmptyValue(project?.subdomain) && isNotEmptyValue(project?.region)
|
||||
? generateAppServiceUrl(project!.subdomain, project!.region, 'auth')
|
||||
: '';
|
||||
|
||||
const signUpUrl = `${baseAuthUrl}/signup/email-password`;
|
||||
|
||||
async function handleCreateUser({ email, password }: CreateUserFormValues) {
|
||||
setCreateUserFormError(null);
|
||||
|
||||
await execPromiseWithErrorToast(
|
||||
async () => {
|
||||
await fetch(signUpUrl, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ email, password }),
|
||||
}).then(async (res) => {
|
||||
if (isNotEmptyValue(project)) {
|
||||
const baseAuthUrl = generateAppServiceUrl(
|
||||
project.subdomain,
|
||||
project.region,
|
||||
'auth',
|
||||
);
|
||||
const signUpUrl = `${baseAuthUrl}/signup/email-password`;
|
||||
|
||||
const res = await fetch(signUpUrl, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ email, password }),
|
||||
});
|
||||
|
||||
const data = await res.json();
|
||||
|
||||
if (res.ok) {
|
||||
return data;
|
||||
if (!res.ok) {
|
||||
if (res.status === 409) {
|
||||
setError('email', { message: data?.message });
|
||||
}
|
||||
throw new Error(data?.message || 'Something went wrong.');
|
||||
}
|
||||
|
||||
if (res.status === 409) {
|
||||
setError('email', { message: data?.message });
|
||||
}
|
||||
onSubmit?.();
|
||||
|
||||
throw new Error(data?.message || 'Something went wrong.');
|
||||
});
|
||||
|
||||
onSubmit?.();
|
||||
return data;
|
||||
}
|
||||
throw new Error('Something went wrong. Please try again later.');
|
||||
},
|
||||
{
|
||||
loadingMessage: 'Creating user...',
|
||||
|
||||
14
flake.nix
14
flake.nix
@@ -8,7 +8,11 @@
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, nix-filter, nix2container }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
{
|
||||
#nixops
|
||||
lib = import ./nixops/lib/lib.nix;
|
||||
overlays.default = import ./nixops/overlays/default.nix;
|
||||
} // flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
@@ -17,10 +21,8 @@
|
||||
];
|
||||
};
|
||||
|
||||
lib = import ./nixops/lib/lib.nix;
|
||||
|
||||
nix2containerPkgs = nix2container.packages.${system};
|
||||
nixops-lib = lib { inherit pkgs nix2containerPkgs; };
|
||||
nixops-lib = (import ./nixops/lib/lib.nix) { inherit pkgs nix2containerPkgs; };
|
||||
|
||||
clif = import ./cli/project.nix {
|
||||
inherit self pkgs nix-filter nixops-lib;
|
||||
@@ -68,10 +70,6 @@
|
||||
|
||||
in
|
||||
{
|
||||
#nixops
|
||||
overlays.default = import ./overlays/default.nix;
|
||||
lib = lib;
|
||||
|
||||
checks = {
|
||||
cli = clif.check;
|
||||
codegen = codegenf.check;
|
||||
|
||||
2
go.mod
2
go.mod
@@ -22,7 +22,7 @@ require (
|
||||
github.com/google/go-cmp v0.7.0
|
||||
github.com/google/uuid v1.6.0
|
||||
github.com/hashicorp/go-getter v1.8.1
|
||||
github.com/nhost/be v0.0.0-20250826134155-48638c4b3f6a
|
||||
github.com/nhost/be v0.0.0-20250929153845-6db3e5249d33
|
||||
github.com/oapi-codegen/gin-middleware v1.0.2
|
||||
github.com/oapi-codegen/runtime v1.1.1
|
||||
github.com/pb33f/libopenapi v0.21.12
|
||||
|
||||
4
go.sum
4
go.sum
@@ -341,8 +341,8 @@ github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc
|
||||
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
|
||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
|
||||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
|
||||
github.com/nhost/be v0.0.0-20250826134155-48638c4b3f6a h1:X0diMLIRQBKobQ4W5di8fPqwakLFchJdzAtamO97Vrs=
|
||||
github.com/nhost/be v0.0.0-20250826134155-48638c4b3f6a/go.mod h1:iRPhO+qcQzTtNQ7PaQMJAcEw0tgWzgjzcGWgJ4ifrUo=
|
||||
github.com/nhost/be v0.0.0-20250929153845-6db3e5249d33 h1:BNFN3Mw4zY6LEmVc7RXkHSVvHtovDSm7Oesb7IUt27o=
|
||||
github.com/nhost/be v0.0.0-20250929153845-6db3e5249d33/go.mod h1:feVvqP3dft8hWbp9zNZExdGKbFEYv8aLYohfyAeINNQ=
|
||||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
|
||||
github.com/oapi-codegen/gin-middleware v1.0.2 h1:/H99UzvHQAUxXK8pzdcGAZgjCVeXdFDAUUWaJT0k0eI=
|
||||
github.com/oapi-codegen/gin-middleware v1.0.2/go.mod h1:2HJDQjH8jzK2/k/VKcWl+/T41H7ai2bKa6dN3AA2GpA=
|
||||
|
||||
@@ -1,4 +1,27 @@
|
||||
(final: prev: rec {
|
||||
(final: prev:
|
||||
let
|
||||
biome_version = "2.2.4";
|
||||
biome_dist = {
|
||||
aarch64-darwin = {
|
||||
url = "https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${biome_version}/biome-darwin-arm64";
|
||||
sha256 = "1z0qb6a21qwk93gpqvfvi01w472fs982vn7hg5my1c0bandnmgy6";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
url = "https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${biome_version}/biome-darwin-x64";
|
||||
sha256 = "1nx29wszaxnhs08gsljqw64z5hlbarnq6yvkvylh680q4nkirw93";
|
||||
};
|
||||
aarch64-linux = {
|
||||
url = "https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${biome_version}/biome-linux-arm64";
|
||||
sha256 = "1wy3za2h38ky358dac3jf3jhhqjqvz0x7cbqhc46j2821b8vr7i4";
|
||||
};
|
||||
x86_64-linux = {
|
||||
url = "https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${biome_version}/biome-linux-x64";
|
||||
sha256 = "1i63hawgaajnwadbhh3aq68kbgyvahk6px1iy096slcrbd423pid";
|
||||
};
|
||||
};
|
||||
in
|
||||
rec{
|
||||
|
||||
nodejs = final.nodejs_20;
|
||||
nodePackages = nodejs.pkgs;
|
||||
|
||||
@@ -11,23 +34,22 @@
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
biome = prev.biome.overrideAttrs (finalAttrs: prevAttrs: rec {
|
||||
biome = final.stdenv.mkDerivation {
|
||||
pname = "biome";
|
||||
version = "2.2.2";
|
||||
version = biome_version;
|
||||
|
||||
src = final.fetchFromGitHub {
|
||||
owner = "biomejs";
|
||||
repo = "biome";
|
||||
rev = "@biomejs/biome@${version}";
|
||||
hash = "sha256-YmDHAsNGN5lsCgiciASdMUM6InbbjaGwyfyEX+XNOxs=";
|
||||
src = final.fetchurl {
|
||||
inherit (biome_dist.${final.stdenvNoCC.hostPlatform.system} or
|
||||
(throw "Unsupported system: ${final.stdenvNoCC.hostPlatform.system}")) url sha256;
|
||||
};
|
||||
|
||||
cargoHash = "sha256-l3BQMG/cCxzQizeFGwAEDP8mzLtf/21ojyd+7gzhbtU=";
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp $src $out/bin/biome
|
||||
chmod +x $out/bin/biome
|
||||
'';
|
||||
};
|
||||
|
||||
cargoDeps = final.rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname src version;
|
||||
hash = finalAttrs.cargoHash;
|
||||
};
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
final: prev: rec {
|
||||
postgresql_14_18 = prev.postgresql_14.overrideAttrs
|
||||
(finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "14.18";
|
||||
postgresql_14_18 = (prev.postgresql_14.override { systemdSupport = false; }).overrideAttrs (finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "14.18";
|
||||
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-g6sp1r/D3Fiy7TxmQRT9++tqBFDEuNf6aa7pHjyhT44=";
|
||||
};
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-g6sp1r/D3Fiy7TxmQRT9++tqBFDEuNf6aa7pHjyhT44=";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
});
|
||||
doCheck = false;
|
||||
doInstallCheck = false;
|
||||
});
|
||||
|
||||
postgresql_14_18-client = final.stdenv.mkDerivation {
|
||||
pname = "postgresql-client";
|
||||
@@ -28,16 +27,15 @@ final: prev: rec {
|
||||
'';
|
||||
};
|
||||
|
||||
postgresql_15_13 = prev.postgresql_15.overrideAttrs
|
||||
(finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "15.13";
|
||||
postgresql_15_13 = (prev.postgresql_15.override { systemdSupport = false; }).overrideAttrs (finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "15.13";
|
||||
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-T2LhM9IuoIoEAbCECSDiZphkTQGoDDQ0H7cy3QqQyl0=";
|
||||
};
|
||||
});
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-T2LhM9IuoIoEAbCECSDiZphkTQGoDDQ0H7cy3QqQyl0=";
|
||||
};
|
||||
});
|
||||
|
||||
postgresql_15_13-client = final.stdenv.mkDerivation {
|
||||
pname = "postgresql-client";
|
||||
@@ -54,16 +52,15 @@ final: prev: rec {
|
||||
'';
|
||||
};
|
||||
|
||||
postgresql_16_9 = prev.postgresql_16.overrideAttrs
|
||||
(finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "16.9";
|
||||
postgresql_16_9 = (prev.postgresql_16.override { systemdSupport = false; }).overrideAttrs (finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "16.9";
|
||||
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-B8APuCTfCgwpXySfRGkbhuMmZ1OzgMlvYzwzEeEL0AU=";
|
||||
};
|
||||
});
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-B8APuCTfCgwpXySfRGkbhuMmZ1OzgMlvYzwzEeEL0AU=";
|
||||
};
|
||||
});
|
||||
|
||||
postgresql_16_9-client = final.stdenv.mkDerivation {
|
||||
pname = "postgresql-client";
|
||||
@@ -80,16 +77,15 @@ final: prev: rec {
|
||||
'';
|
||||
};
|
||||
|
||||
postgresql_17_5 = prev.postgresql_17.overrideAttrs
|
||||
(finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "17.5";
|
||||
postgresql_17_5 = (prev.postgresql_17.override { systemdSupport = false; }).overrideAttrs (finalAttrs: previousAttrs: rec {
|
||||
pname = "postgresql";
|
||||
version = "17.5";
|
||||
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-/LerOOI7Jk0ZAssl5q2vtFJabry9AVQ0ru+e2oD1KNg=";
|
||||
};
|
||||
});
|
||||
src = final.fetchurl {
|
||||
url = "mirror://postgresql/source/v${version}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha256-/LerOOI7Jk0ZAssl5q2vtFJabry9AVQ0ru+e2oD1KNg=";
|
||||
};
|
||||
});
|
||||
|
||||
postgresql_17_5-client = final.stdenv.mkDerivation {
|
||||
pname = "postgresql-client";
|
||||
|
||||
4
vendor/github.com/nhost/be/services/mimir/schema/schema.cue
generated
vendored
4
vendor/github.com/nhost/be/services/mimir/schema/schema.cue
generated
vendored
@@ -133,9 +133,9 @@ import (
|
||||
|
||||
#ResourcesCompute: {
|
||||
// milicpus, 1000 milicpus = 1 cpu
|
||||
cpu: uint32 & >=250 & <=15000
|
||||
cpu: uint32 & >=250 & <=30000
|
||||
// MiB: 128MiB to 30GiB
|
||||
memory: uint32 & >=128 & <=30720
|
||||
memory: uint32 & >=128 & <=62464
|
||||
|
||||
// validate CPU steps of 250 milicpus
|
||||
_validateCPUSteps250: (mod(cpu, 250) == 0) & true @cuegraph(skip)
|
||||
|
||||
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -823,7 +823,7 @@ github.com/muesli/termenv
|
||||
# github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
|
||||
## explicit
|
||||
github.com/munnerz/goautoneg
|
||||
# github.com/nhost/be v0.0.0-20250826134155-48638c4b3f6a
|
||||
# github.com/nhost/be v0.0.0-20250929153845-6db3e5249d33
|
||||
## explicit; go 1.24.2
|
||||
github.com/nhost/be/lib/graphql
|
||||
github.com/nhost/be/lib/graphql/context
|
||||
|
||||
Reference in New Issue
Block a user