Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TDT4240 Tank Wars
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Snorre Skjellestad Kristiansen
TDT4240 Tank Wars
Commits
da76908d
Verified
Commit
da76908d
authored
2 years ago
by
Fredrik Fonn Hansen
Browse files
Options
Downloads
Patches
Plain Diff
avoid using cache on API-test
parent
e2c7ac01
No related branches found
Branches containing commit
No related tags found
1 merge request
!91
avoid using cache on API-test
Pipeline
#219001
passed
2 years ago
Stage: backend build
Stage: backend test
Stage: frontend test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
da76908d
...
...
@@ -67,14 +67,15 @@ API-test:
variables
:
DISPLAY
:
"
:99"
script
:
#
- if [ -d vm-state/ ]; then rsync -avm --exclude vm-state/ vm-state/ /; fi
-
if [ -d vm-state/ ]; then rsync -avm --exclude vm-state/ vm-state/ /; fi
-
apt-get update && apt-get install -y xvfb
-
Xvfb :99 -screen 0 1920x1080x24 &
-
cd backend
-
echo "FB_PRIV_KEY_JSON_ENCODED=$FB_PRIV_KEY_JSON_ENCODED" >> .env
-
node keys/decode.js
-
chmod 400 keys/fb-key.json
-
yarn --cache-folder ../.yarn
# - yarn --cache-folder ../.yarn
-
yarn
-
yarn start:local & sleep
10
-
yarn test
retry
:
1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment