Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
deadlock-desktop
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
Releases
Package registry
Container 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
deadlock-public
deadlock-desktop
Commits
e285f43a
Commit
e285f43a
authored
2 years ago
by
Mohamed AZIKIOU
Browse files
Options
Downloads
Patches
Plain Diff
refactor: remove recorder residuals
parent
1fb36a05
No related branches found
No related tags found
No related merge requests found
Pipeline
#15667
failed
2 years ago
Stage: build
Stage: publish
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deadlock-plugins/deadlock-extension/generate_test_recorder.sh
+0
-26
0 additions, 26 deletions
...lock-plugins/deadlock-extension/generate_test_recorder.sh
deadlock-plugins/deadlock-extension/package.json
+0
-1
0 additions, 1 deletion
deadlock-plugins/deadlock-extension/package.json
with
0 additions
and
27 deletions
deadlock-plugins/deadlock-extension/generate_test_recorder.sh
deleted
100755 → 0
+
0
−
26
View file @
1fb36a05
#!/bin/bash
# this command is ran from the root of the deadlock-extension
# given one argument (the path to the mission directory)
# generate the recorder
cd
src/recorder/
||
(
echo
"src/recorder/ not found! Are you running from deadlock extension directory?"
&&
return
1
)
npm
install
cd
../../
npm run build-recorder
# remove container
docker
rm
-f
test-recorder
# if you want to delete the image, uncomment the following line
# docker rmi "$(docker images | grep 'registry.takima.io/deadlock/deadlock-challenges/code_desktop_exemple')"
PP
=(
docker run
--name
test-recorder
--privileged
-v
\"
"
$1
"
/.config
\"
:
\"
/home/config/
\"
-v
\"
"
$1
"
/mounted
\"
:
\"
/home/deadlock/mission/
\"
-v
\"
"
$HOME
"
/.deadlock/.ssh
\"
:
\"
/tmp/.ssh
\"
-v
\"
"
$(
pwd
)
"
/out/recorder.js
\"
:
\"
/deadlock/recorder.js
\"
registry.takima.io/deadlock/deadlock-challenges/code_desktop_exemple:0.1
)
eval
"
${
PP
[*]
}
"
This diff is collapsed.
Click to expand it.
deadlock-plugins/deadlock-extension/package.json
+
0
−
1
View file @
e285f43a
...
@@ -86,7 +86,6 @@
...
@@ -86,7 +86,6 @@
"vscode:prepackage"
:
"npm run build-extension"
,
"vscode:prepackage"
:
"npm run build-extension"
,
"compile"
:
"webpack"
,
"compile"
:
"webpack"
,
"esbuild-base"
:
"esbuild --bundle --format=cjs --platform=node"
,
"esbuild-base"
:
"esbuild --bundle --format=cjs --platform=node"
,
"build-recorder"
:
"npm run esbuild-base -- ./src/recorder/index.ts --outfile=out/recorder.js --minify"
,
"esbuild"
:
"npm run esbuild-base -- --sourcemap"
,
"esbuild"
:
"npm run esbuild-base -- --sourcemap"
,
"watch"
:
"webpack --watch"
,
"watch"
:
"webpack --watch"
,
"build-extension"
:
"webpack --mode production --devtool hidden-source-map"
,
"build-extension"
:
"webpack --mode production --devtool hidden-source-map"
,
...
...
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