Skip to content

Commit

Permalink
update snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup committed Feb 6, 2025
1 parent 3f3d581 commit c16ce3a
Showing 1 changed file with 6 additions and 192 deletions.
198 changes: 6 additions & 192 deletions core/__snapshots__/core_test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2831,10 +2831,6 @@
"apt-lists": {
"directory": "/var/lib/apt/lists",
"type": "locked"
},
"mise": {
"directory": "/mise/cache",
"type": "shared"
}
},
"start": {
Expand Down Expand Up @@ -2866,98 +2862,6 @@
"name": "packages:apt:nginx",
"useSecrets": false
},
{
"assets": {
"mise.toml": "[tools]\n [tools.node]\n version = \"23.7.0\"\n [tools.npm]\n version = \"11.1.0\"\n"
},
"commands": [
{
"name": "MISE_INSTALL_PATH",
"value": "/usr/local/bin/mise"
},
{
"name": "MISE_DATA_DIR",
"value": "/mise"
},
{
"name": "MISE_CONFIG_DIR",
"value": "/mise"
},
{
"name": "MISE_CACHE_DIR",
"value": "/mise/cache"
},
{
"path": "/mise/shims"
},
{
"caches": [
"apt",
"apt-lists"
],
"cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y ca-certificates curl git'",
"customName": "install apt packages: ca-certificates curl git"
},
{
"caches": [
"mise"
],
"cmd": "sh -c 'curl -fsSL https://mise.run | sh'",
"customName": "install mise"
},
{
"customName": "create mise config",
"name": "mise.toml",
"path": "/etc/mise/config.toml"
},
{
"caches": [
"mise"
],
"cmd": "sh -c 'mise trust -a \u0026\u0026 mise install'",
"customName": "install mise packages: node, npm"
}
],
"dependsOn": [
"packages:image"
],
"name": "packages:mise",
"outputs": [
"/mise/shims",
"/mise/installs",
"/usr/local/bin/mise",
"/etc/mise/config.toml",
"/root/.local/state/mise"
],
"useSecrets": false
},
{
"commands": [
{
"name": "CI",
"value": "true"
},
{
"name": "NODE_ENV",
"value": "production"
},
{
"name": "NPM_CONFIG_PRODUCTION",
"value": "false"
},
{
"name": "YARN_PRODUCTION",
"value": "false"
},
{
"path": "/app/node_modules/.bin"
}
],
"dependsOn": [
"packages:mise"
],
"name": "setup:node"
},
{
"assets": {
"nginx.conf": "worker_processes 5;\ndaemon off;\n\nworker_rlimit_nofile 8192;\n\nevents {\n worker_connections 4096;\n}\n\nhttp {\n include /etc/nginx/mime.types;\n index index.html index.htm index.php;\n\n default_type application/octet-stream;\n log_format main '$remote_addr - $remote_user [$time_local] $status '\n '\"$request\" $body_bytes_sent \"$http_referer\" '\n '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n access_log /dev/stdout;\n error_log /dev/stdout;\n sendfile on;\n tcp_nopush on;\n server_names_hash_bucket_size 128; # this seems to be required for some vhosts\n\n server {\n listen 0.0.0.0:80;\n listen [::]:80;\n\n server_name localhost;\n\n \n root /app;\n \n \n add_header X-Frame-Options \"SAMEORIGIN\";\n add_header X-Content-Type-Options \"nosniff\";\n \n index index.php;\n \n charset utf-8;\n \n \n \n \n \n location = /favicon.ico { access_log off; log_not_found off; }\n location = /robots.txt { access_log off; log_not_found off; }\n \n \n \n location ~ \\.php$ {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n include /etc/nginx/fastcgi_params;\n include /etc/nginx/fastcgi.conf;\n }\n \n location ~ /\\.(?!well-known).* {\n deny all;\n }\n }\n}\n",
Expand Down Expand Up @@ -2989,6 +2893,9 @@
"packages:apt:nginx"
],
"name": "nginx:setup"
},
{
"name": "packages:mise"
}
]
}
Expand All @@ -3005,10 +2912,6 @@
"apt-lists": {
"directory": "/var/lib/apt/lists",
"type": "locked"
},
"mise": {
"directory": "/mise/cache",
"type": "shared"
}
},
"start": {
Expand Down Expand Up @@ -3060,98 +2963,6 @@
],
"name": "install"
},
{
"assets": {
"mise.toml": "[tools]\n [tools.node]\n version = \"23.7.0\"\n [tools.npm]\n version = \"11.1.0\"\n"
},
"commands": [
{
"name": "MISE_INSTALL_PATH",
"value": "/usr/local/bin/mise"
},
{
"name": "MISE_DATA_DIR",
"value": "/mise"
},
{
"name": "MISE_CONFIG_DIR",
"value": "/mise"
},
{
"name": "MISE_CACHE_DIR",
"value": "/mise/cache"
},
{
"path": "/mise/shims"
},
{
"caches": [
"apt",
"apt-lists"
],
"cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y ca-certificates curl git'",
"customName": "install apt packages: ca-certificates curl git"
},
{
"caches": [
"mise"
],
"cmd": "sh -c 'curl -fsSL https://mise.run | sh'",
"customName": "install mise"
},
{
"customName": "create mise config",
"name": "mise.toml",
"path": "/etc/mise/config.toml"
},
{
"caches": [
"mise"
],
"cmd": "sh -c 'mise trust -a \u0026\u0026 mise install'",
"customName": "install mise packages: node, npm"
}
],
"dependsOn": [
"packages:image"
],
"name": "packages:mise",
"outputs": [
"/mise/shims",
"/mise/installs",
"/usr/local/bin/mise",
"/etc/mise/config.toml",
"/root/.local/state/mise"
],
"useSecrets": false
},
{
"commands": [
{
"name": "CI",
"value": "true"
},
{
"name": "NODE_ENV",
"value": "production"
},
{
"name": "NPM_CONFIG_PRODUCTION",
"value": "false"
},
{
"name": "YARN_PRODUCTION",
"value": "false"
},
{
"path": "/app/node_modules/.bin"
}
],
"dependsOn": [
"packages:mise"
],
"name": "setup:node"
},
{
"assets": {
"nginx.conf": "worker_processes 5;\ndaemon off;\n\nworker_rlimit_nofile 8192;\n\nevents {\n worker_connections 4096;\n}\n\nhttp {\n include /etc/nginx/mime.types;\n index index.html index.htm index.php;\n\n default_type application/octet-stream;\n log_format main '$remote_addr - $remote_user [$time_local] $status '\n '\"$request\" $body_bytes_sent \"$http_referer\" '\n '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n access_log /dev/stdout;\n error_log /dev/stdout;\n sendfile on;\n tcp_nopush on;\n server_names_hash_bucket_size 128; # this seems to be required for some vhosts\n\n server {\n listen 0.0.0.0:80;\n listen [::]:80;\n\n server_name localhost;\n\n \n root /app;\n \n \n add_header X-Frame-Options \"SAMEORIGIN\";\n add_header X-Content-Type-Options \"nosniff\";\n \n index index.php;\n \n charset utf-8;\n \n \n \n \n \n location = /favicon.ico { access_log off; log_not_found off; }\n location = /robots.txt { access_log off; log_not_found off; }\n \n \n \n location ~ \\.php$ {\n fastcgi_pass 127.0.0.1:9000;\n fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;\n include /etc/nginx/fastcgi_params;\n include /etc/nginx/fastcgi.conf;\n }\n \n location ~ /\\.(?!well-known).* {\n deny all;\n }\n }\n}\n",
Expand Down Expand Up @@ -3183,6 +2994,9 @@
"packages:apt:nginx"
],
"name": "nginx:setup"
},
{
"name": "packages:mise"
}
]
}
Expand Down

0 comments on commit c16ce3a

Please sign in to comment.