From 559f6cd1fb5460a4a9c59973faacde97ed6071e3 Mon Sep 17 00:00:00 2001 From: Gino Imbrailo Date: Thu, 21 Jul 2022 19:20:05 -0700 Subject: [PATCH] v0.2.1 (#16) * chore: test group ownership change for taq binary * chore: change ownership GID to 121 * chore: change ownership UID to 1001 * chore: change ownership of project files for tests * chore: fix project location * chore: added test to hello-tacos * chore: change ownership of parent directory * chore: check username for UID 1001 * chore: try change permissiosn for only .taq dir * chore: test changing permissions of parent directory to 777 * chore: cleanup --- Dockerfile | 2 - entrypoint.sh | 7 ++- .../hello-tacos/package-lock.json | 52 +++++++++---------- 3 files changed, 31 insertions(+), 30 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7cb9ea9..8ccbec7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,6 @@ FROM debian:bullseye FROM node:16 -RUN apt update - # Set the DENO_DIR environment variable to controll where the cache is built RUN mkdir deno ENV DENO_DIR=/deno diff --git a/entrypoint.sh b/entrypoint.sh index 9aca85c..8136da8 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,4 @@ #!/bin/bash - echo "Set localhost to 172.17.0.1" echo "172.17.0.1 localhost" > /etc/hosts @@ -53,5 +52,9 @@ if [ -n "$INPUT_TASK" ] && [ "$INPUT_TASK" != "init" ]; then fi if [ "$INPUT_TESTS" == "true" ] || [ "$INPUT_TESTS" == "True" ]; then + chmod -R 777 ./.taq taq test -fi \ No newline at end of file + exit_code=$? + chmod -R 755 ./.taq + exit $exit_code +fi diff --git a/example-projects/hello-tacos/package-lock.json b/example-projects/hello-tacos/package-lock.json index 8345eba..c2fd6c4 100644 --- a/example-projects/hello-tacos/package-lock.json +++ b/example-projects/hello-tacos/package-lock.json @@ -1585,13 +1585,13 @@ } }, "node_modules/@types/jsdom": { - "version": "16.2.14", - "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.14.tgz", - "integrity": "sha512-6BAy1xXEmMuHeAJ4Fv4yXKwBDTGTOseExKE3OaHiNycdHdZw59KfYzrt0DkDluvwmik1HRt6QS7bImxUmpSy+w==", + "version": "16.2.15", + "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.15.tgz", + "integrity": "sha512-nwF87yjBKuX/roqGYerZZM0Nv1pZDMAT5YhOHYeM/72Fic+VEqJh4nyoqoapzJnW3pUlfxPY5FhgsJtM+dRnQQ==", "dev": true, "dependencies": { "@types/node": "*", - "@types/parse5": "*", + "@types/parse5": "^6.0.3", "@types/tough-cookie": "*" } }, @@ -1646,9 +1646,9 @@ "dev": true }, "node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -2086,9 +2086,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001367", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001367.tgz", - "integrity": "sha512-XDgbeOHfifWV3GEES2B8rtsrADx4Jf+juKX2SICJcaUhjYBO3bR96kvEIHa15VU6ohtOhBZuPGGYGbXMRn0NCw==", + "version": "1.0.30001368", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001368.tgz", + "integrity": "sha512-wgfRYa9DenEomLG/SdWgQxpIyvdtH3NW8Vq+tB6AwR9e56iOIcu1im5F/wNdDf04XlKHXqIx4N8Jo0PemeBenQ==", "dev": true, "funding": [ { @@ -2413,9 +2413,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.194", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.194.tgz", - "integrity": "sha512-ola5UH0xAP1oYY0FFUsPvwtucEzCQHucXnT7PQ1zjHJMccZhCDktEugI++JUR3YuIs7Ff7afz+OVEhVAIMhLAQ==", + "version": "1.4.197", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.197.tgz", + "integrity": "sha512-7EZCIDDraA2NUaHewLaAh6T63cZzgBmgDx/iiaeZ/pjSs36bOFEJ3hLIrn1TKCFhV0PEZZKu6qFPrxa/LGAzLg==", "dev": true }, "node_modules/elliptic": { @@ -6852,13 +6852,13 @@ } }, "@types/jsdom": { - "version": "16.2.14", - "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.14.tgz", - "integrity": "sha512-6BAy1xXEmMuHeAJ4Fv4yXKwBDTGTOseExKE3OaHiNycdHdZw59KfYzrt0DkDluvwmik1HRt6QS7bImxUmpSy+w==", + "version": "16.2.15", + "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-16.2.15.tgz", + "integrity": "sha512-nwF87yjBKuX/roqGYerZZM0Nv1pZDMAT5YhOHYeM/72Fic+VEqJh4nyoqoapzJnW3pUlfxPY5FhgsJtM+dRnQQ==", "dev": true, "requires": { "@types/node": "*", - "@types/parse5": "*", + "@types/parse5": "^6.0.3", "@types/tough-cookie": "*" } }, @@ -6913,9 +6913,9 @@ "dev": true }, "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true }, "acorn-globals": { @@ -7236,9 +7236,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001367", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001367.tgz", - "integrity": "sha512-XDgbeOHfifWV3GEES2B8rtsrADx4Jf+juKX2SICJcaUhjYBO3bR96kvEIHa15VU6ohtOhBZuPGGYGbXMRn0NCw==", + "version": "1.0.30001368", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001368.tgz", + "integrity": "sha512-wgfRYa9DenEomLG/SdWgQxpIyvdtH3NW8Vq+tB6AwR9e56iOIcu1im5F/wNdDf04XlKHXqIx4N8Jo0PemeBenQ==", "dev": true }, "chalk": { @@ -7502,9 +7502,9 @@ } }, "electron-to-chromium": { - "version": "1.4.194", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.194.tgz", - "integrity": "sha512-ola5UH0xAP1oYY0FFUsPvwtucEzCQHucXnT7PQ1zjHJMccZhCDktEugI++JUR3YuIs7Ff7afz+OVEhVAIMhLAQ==", + "version": "1.4.197", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.197.tgz", + "integrity": "sha512-7EZCIDDraA2NUaHewLaAh6T63cZzgBmgDx/iiaeZ/pjSs36bOFEJ3hLIrn1TKCFhV0PEZZKu6qFPrxa/LGAzLg==", "dev": true }, "elliptic": {