We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e114a96 commit da642ceCopy full SHA for da642ce
2 files changed
.gitlab-ci.yml
@@ -29,6 +29,7 @@ migrate-and-test:
29
variables:
30
DATABASE_URL: postgres://phoenix:phoenix@postgres:5432/phoenix
31
H_ORIGIN: http://localhost:5000
32
+ EXECJS_RUNTIME: Node
33
image:
34
name: ruby:3.0.6
35
script:
docker-entrypoint.sh
@@ -2,21 +2,13 @@
2
3
set -m
4
5
-echo "=== Checking Node availability ==="
6
-which node
7
-ruby -e "p File.executable? '/usr/bin/node'"
8
-node --version
9
-echo "=== Node check complete ==="
10
-
11
if [ ! -f /etc/SECRET_KEY_BASE ]; then
12
echo $(openssl rand -hex 128) > /etc/SECRET_KEY_BASE
13
fi
14
15
export SECRET_KEY_BASE=$(cat /etc/SECRET_KEY_BASE)
16
17
-export EXECJS_RUNTIME=Node
18
-export PATH="/usr/bin/:$PATH"
19
-bundle exec rake db:migrate
+rails db:migrate
20
21
rake tmp:clear
22
0 commit comments