Skip to content

Commit c38fcb0

Browse files
committed
EdgeDB -> Gel part 2 (requiring v6)
1 parent 756a10c commit c38fcb0

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/gel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: yarn console gel ap inject
2121

2222
- name: Schema Migrations In Sync
23-
run: edgedb migration status
23+
run: gel migration status
2424
if: github.event.pull_request.draft == false
2525

2626
- name: Validate seed scripts are error free

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ WORKDIR /source
6363

6464
ENV NODE_ENV=development \
6565
# Ignore creds during this build process
66-
EDGEDB_SERVER_SECURITY=insecure_dev_mode \
66+
GEL_SERVER_SECURITY=insecure_dev_mode \
6767
# Don't start/host the db server, just bootstrap & quit.
68-
EDGEDB_SERVER_BOOTSTRAP_ONLY=1 \
68+
GEL_SERVER_BOOTSTRAP_ONLY=1 \
6969
# Temporary until upstream stale default of "edgedb" is resolved
70-
EDGEDB_SERVER_DATABASE=main \
70+
GEL_SERVER_DATABASE=main \
7171
# Don't flood log with cache debug messages
7272
VERBOSE_YARN_LOG=discard
7373

@@ -84,16 +84,16 @@ COPY . .
8484
RUN <<EOF
8585
set -e
8686

87-
chown -R edgedb:edgedb /dbschema src
87+
chown -R gel:gel /dbschema src
8888

8989
# Hook `yarn gel:gen` into gel bootstrap.
9090
# This allows it to be ran in parallel to the db server running without a daemon
91-
mkdir -p /edgedb-bootstrap-late.d
92-
printf "#!/usr/bin/env bash\ncd /source \nyarn gel:gen" > /edgedb-bootstrap-late.d/01-generate-js.sh
93-
chmod +x /edgedb-bootstrap-late.d/01-generate-js.sh
91+
mkdir -p /gel-bootstrap-late.d
92+
printf "#!/usr/bin/env bash\ncd /source \nyarn gel:gen\n" > /gel-bootstrap-late.d/01-generate-js.sh
93+
chmod +x /gel-bootstrap-late.d/01-generate-js.sh
9494

9595
# Bootstrap the db to apply migrations and then generate the TS/JS from that.
96-
/usr/local/bin/docker-entrypoint.sh edgedb-server
96+
/usr/local/bin/docker-entrypoint.sh server
9797
EOF
9898
# endregion
9999

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
[edgedb]
1+
[instance]
22
server-version = "5.1"

0 commit comments

Comments
 (0)