Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grady
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Grady Corp.
grady
Commits
bd56280b
Commit
bd56280b
authored
1 month ago
by
Kai Oliver Meister
Browse files
Options
Downloads
Patches
Plain Diff
testing
parent
b83085a9
No related branches found
No related tags found
No related merge requests found
Pipeline
#587090
failed
1 month ago
Stage: build
Stage: testing
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Dockerfile
+10
-3
10 additions, 3 deletions
Dockerfile
vite.config.ts
+1
-1
1 addition, 1 deletion
vite.config.ts
with
12 additions
and
5 deletions
.gitlab-ci.yml
+
1
−
1
View file @
bd56280b
...
@@ -22,8 +22,8 @@ cache: &global_cache
...
@@ -22,8 +22,8 @@ cache: &global_cache
key
:
"
build_files_cache"
key
:
"
build_files_cache"
paths
:
paths
:
-
build/
-
build/
-
.svelte-kit/
-
node_modules/
-
node_modules/
# - .svelte-kit/
.install_docker-compose
:
&install_docker-compose
.install_docker-compose
:
&install_docker-compose
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
10
−
3
View file @
bd56280b
...
@@ -14,17 +14,24 @@ WORKDIR /app/
...
@@ -14,17 +14,24 @@ WORKDIR /app/
COPY
package.json .
COPY
package.json .
COPY
package-lock.json .
COPY
package-lock.json .
# this builds node_modules/ and .svelte-kit/ in WORKDIR
RUN
npm
install
RUN
npm
install
COPY
. .
# this builds build/ in /
RUN
npm run build
# now we clean up the node_modules, and install only dev deps
# into the root directory (as those may be needed)
RUN
rm
-rf
node_modules/
RUN
npm
install
--only
=
dev
--prefix
/
# if packages are auto-updated with open dependencies, we should at least
# if packages are auto-updated with open dependencies, we should at least
# track which packages are installed per pipeline run, to be able to restore
# track which packages are installed per pipeline run, to be able to restore
# the last working package state when something eventually breaks
# the last working package state when something eventually breaks
RUN
node
--version
RUN
node
--version
RUN
npm list
RUN
npm list
COPY
. .
RUN
npm run build
# reconfigure the CMD default to launch the server
# reconfigure the CMD default to launch the server
...
...
This diff is collapsed.
Click to expand it.
vite.config.ts
+
1
−
1
View file @
bd56280b
...
@@ -7,8 +7,8 @@ export default defineConfig({
...
@@ -7,8 +7,8 @@ export default defineConfig({
test
:
{
test
:
{
include
:
[
'
tests/**/*.{test,spec}.{js,ts}
'
]
include
:
[
'
tests/**/*.{test,spec}.{js,ts}
'
]
},
},
// Node chokes if we don't exclude these from being watched since it reaches the system limit for file watchers on Linux
server
:
{
server
:
{
// Node chokes if we don't exclude these from being watched since it reaches the system limit for file watchers on Linux
// watch: null
// watch: null
watch
:
{
watch
:
{
// ignored: ["*/**", "**/**"]
// ignored: ["*/**", "**/**"]
...
...
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