diff --git a/.gitignore b/.gitignore index 382dbfbf2b6c48053dc2cbddd6eea56279f8ae43..b91c132080904a6d202e7afa8a4cb1af746fd6e2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ yarn-debug.log* yarn-error.log* lerna-debug.log* /output +okteto.yml # Diagnostic reports (https://nodejs.org/api/report.html) report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json diff --git a/.stignore b/.stignore new file mode 100644 index 0000000000000000000000000000000000000000..8d7a6e6d7a195fc304c4ed57a970f7b0841f547f --- /dev/null +++ b/.stignore @@ -0,0 +1,60 @@ +.git +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +config +output +spec + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# next.js build output +.next + +# nuxt.js build output +.nuxt + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless + diff --git a/okteto-entrypoint.sh b/okteto-entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..3acef19043dfa0e0b28caece6027b2280fb44d46 --- /dev/null +++ b/okteto-entrypoint.sh @@ -0,0 +1 @@ +yarn && yarn dev diff --git a/okteto.yml.dist b/okteto.yml.dist new file mode 100644 index 0000000000000000000000000000000000000000..7c9b36013009a7fd637b8b64bc485ec7957403cd --- /dev/null +++ b/okteto.yml.dist @@ -0,0 +1,17 @@ +name: develop-core-manifest-service +image: node:14-alpine +command: ["sh", "okteto-entrypoint.sh"] +workdir: /app +persistentVolume: + enabled: false + storageClass: longhorn + size: 2Gi +resources: + requests: + memory: "256Mi" + limits: + memory: "256Mi" +sync: +- .:/app +forward: +- 8080:8080