From 1d5b679e8ed2b78cff59317214972e35c352c86f Mon Sep 17 00:00:00 2001 From: "nullplatform-github-integration[bot]" <111793497+nullplatform-github-integration[bot]@users.noreply.github.com> Date: Sat, 5 Oct 2024 20:25:58 +0000 Subject: [PATCH] Initial commit --- .github/workflows/ci.yml | 28 ++++++++ .gitignore | 134 +++++++++++++++++++++++++++++++++++++++ Dockerfile | 2 + README.md | 18 ++++++ 4 files changed, 182 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 README.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ce7b173 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: ci-nullplatform +env: + NULLPLATFORM_API_KEY: ${{ secrets.NULLPLATFORM_API_KEY }} +on: + push: + branches: + - main +permissions: + id-token: write + contents: read + packages: read +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Install nullplatform cli + run: curl https://cli.nullplatform.com/install.sh | sh + - name: Checkout code + uses: actions/checkout@v4 + - name: Start nullplatform CI + run: np build start + - name: Build asset + run: docker build -t main . + - name: Push asset + run: np asset push --type docker-image --source main + - name: End nullplatform CI + if: ${{ always() }} + run: np build update --status ${{ contains(fromJSON('["failure", "cancelled"]'), job.status) && 'failed' || 'successful' }} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c1ae460 --- /dev/null +++ b/.gitignore @@ -0,0 +1,134 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# 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/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# Intellij + +.idea diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..40d5362 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM ealen/echo-server +ENV PORT=8080 diff --git a/README.md b/README.md new file mode 100644 index 0000000..4e481b6 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +