Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
writeFrame
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
writeFrame
Commits
2d02689f
Unverified
Commit
2d02689f
authored
Apr 17, 2021
by
Sheogorath
Committed by
GitHub
Apr 17, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #174 from hedgedoc/fix/updated-tests
Fix tests by introducing a delay
parents
bd3d1682
ac282420
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
Dockerfile
alpine/Dockerfile
+1
-1
Dockerfile
debian/Dockerfile
+1
-1
startContainer.sh
tests/chore/startContainer.sh
+2
-0
No files found.
alpine/Dockerfile
View file @
2d02689f
FROM
node:12.2
1.0-alpine@sha256:81eec5b1cac69ff6af62097563737b40ac94b605b43d01466c0cf48e220494be
AS base
FROM
node:12.2
2.1-alpine@sha256:9923c9efb13cf7535f67e49b03010f0977a800068e4c8e0e2c93433a6bfa1e77
AS base
FROM
base AS basebuilder
RUN
apk update
...
...
debian/Dockerfile
View file @
2d02689f
FROM
node:12.2
1.0-slim@sha256:718e6d699295749b3bf1e3782821069ab279e37e5d8ddf163aa566a8645891af
AS base
FROM
node:12.2
2.1-slim@sha256:5779929b7bc9952dd592971eb57aa38cb2d0f70709e909a11f2021c812d8e917
AS base
FROM
base AS basebuilder
RUN
apt-get update
...
...
tests/chore/startContainer.sh
View file @
2d02689f
...
...
@@ -17,3 +17,5 @@ PORT=$(( $(shuf -e $(seq 0 9999) | head -n1) + 10000 ))
# Run container in a simple way
docker ps
-f
id
=
$(
docker run
-d
--name
hedgedoc
--network
postgres
-p
127.0.0.1:
${
PORT
}
:3000
-e
"CMD_DB_URL=postgres://hedgedoc:password@database:5432/hedgedoc"
hedgedoc
)
sleep
30
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment