Add 'System' Username to Audit Logs Generated with API Requests #1996
upgrade-service-docker-build
Details
time="2024-09-30T14:13:47Z" level=info msg="Resolved base name 467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16 to build"
time="2024-09-30T14:13:47Z" level=info msg="Retrieving image manifest 467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16"
time="2024-09-30T14:13:47Z" level=info msg="Retrieving image 467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16 from registry 467155500999.dkr.ecr.us-east-1.amazonaws.com"
time="2024-09-30T14:13:48Z" level=info msg="Retrieving image manifest 467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16"
time="2024-09-30T14:13:48Z" level=info msg="Returning cached image manifest"
time="2024-09-30T14:13:48Z" level=info msg="Built cross stage deps: map[0:[/usr/src/app/backend]]"
time="2024-09-30T14:13:48Z" level=info msg="Retrieving image manifest 467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16"
time="2024-09-30T14:13:48Z" level=info msg="Returning cached image manifest"
time="2024-09-30T14:13:48Z" level=info msg="Executing 0 build triggers"
time="2024-09-30T14:13:48Z" level=info msg="Building stage '467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16' [idx: '0', base-idx: '-1']"
time="2024-09-30T14:13:48Z" level=info msg="Unpacking rootfs as cmd COPY . . requires it."
time="2024-09-30T14:13:51Z" level=info msg="WORKDIR /usr/src/app"
time="2024-09-30T14:13:51Z" level=info msg="Cmd: workdir"
time="2024-09-30T14:13:51Z" level=info msg="Changed working directory to /usr/src/app"
time="2024-09-30T14:13:51Z" level=info msg="Creating directory /usr/src/app with uid -1 and gid -1"
time="2024-09-30T14:13:51Z" level=info msg="Taking snapshot of files..."
time="2024-09-30T14:13:51Z" level=info msg="COPY . ."
time="2024-09-30T14:13:51Z" level=info msg="Taking snapshot of files..."
time="2024-09-30T14:13:51Z" level=info msg="RUN ls"
time="2024-09-30T14:13:51Z" level=info msg="Initializing snapshotter ..."
time="2024-09-30T14:13:51Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:13:53Z" level=info msg="Cmd: /bin/sh"
time="2024-09-30T14:13:53Z" level=info msg="Args: [-c ls]"
time="2024-09-30T14:13:53Z" level=info msg="Running: [/bin/sh -c ls]"
backend
context.tar.gz
package-lock.json
package.json
tsconfig.root.json
types
time="2024-09-30T14:13:53Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:13:54Z" level=info msg="No files were changed, appending empty layer to config. No layer added to image."
time="2024-09-30T14:13:54Z" level=info msg="RUN npm ci --no-audit"
time="2024-09-30T14:13:54Z" level=info msg="Cmd: /bin/sh"
time="2024-09-30T14:13:54Z" level=info msg="Args: [-c npm ci --no-audit]"
time="2024-09-30T14:13:54Z" level=info msg="Running: [/bin/sh -c npm ci --no-audit]"
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[email protected] prepare
is-ci || husky install
added 383 packages in 20s
71 packages are looking for funding
runnpm fund
for details
npm notice
npm notice New major version of npm available! 9.5.1 -> 10.8.3
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.3
npm notice Runnpm install -g [email protected]
to update!
npm notice
time="2024-09-30T14:14:14Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:14:25Z" level=info msg="WORKDIR /usr/src/app/types"
time="2024-09-30T14:14:25Z" level=info msg="Cmd: workdir"
time="2024-09-30T14:14:25Z" level=info msg="Changed working directory to /usr/src/app/types"
time="2024-09-30T14:14:25Z" level=info msg="No files changed in this command, skipping snapshotting."
time="2024-09-30T14:14:25Z" level=info msg="RUN npm ci --no-audit"
time="2024-09-30T14:14:25Z" level=info msg="Cmd: /bin/sh"
time="2024-09-30T14:14:25Z" level=info msg="Args: [-c npm ci --no-audit]"
time="2024-09-30T14:14:25Z" level=info msg="Running: [/bin/sh -c npm ci --no-audit]"
added 101 packages in 3s
24 packages are looking for funding
runnpm fund
for details
time="2024-09-30T14:14:29Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:14:33Z" level=info msg="RUN cp -R . ../backend/packages/Upgrade/types"
time="2024-09-30T14:14:33Z" level=info msg="Cmd: /bin/sh"
time="2024-09-30T14:14:33Z" level=info msg="Args: [-c cp -R . ../backend/packages/Upgrade/types]"
time="2024-09-30T14:14:33Z" level=info msg="Running: [/bin/sh -c cp -R . ../backend/packages/Upgrade/types]"
time="2024-09-30T14:14:33Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:14:37Z" level=info msg="WORKDIR /usr/src/app/backend/packages/Upgrade"
time="2024-09-30T14:14:37Z" level=info msg="Cmd: workdir"
time="2024-09-30T14:14:37Z" level=info msg="Changed working directory to /usr/src/app/backend/packages/Upgrade"
time="2024-09-30T14:14:37Z" level=info msg="No files changed in this command, skipping snapshotting."
time="2024-09-30T14:14:37Z" level=info msg="RUN npm ci --no-audit"
time="2024-09-30T14:14:37Z" level=info msg="Cmd: /bin/sh"
time="2024-09-30T14:14:37Z" level=info msg="Args: [-c npm ci --no-audit]"
time="2024-09-30T14:14:37Z" level=info msg="Running: [/bin/sh -c npm ci --no-audit]"
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated @types/[email protected]: This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed.
npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
npm WARN deprecated [email protected]: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See ladjs/superagent#1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net
npm WARN deprecated [email protected]: 16.1.1
added 1235 packages in 37s
89 packages are looking for funding
runnpm fund
for details
time="2024-09-30T14:15:14Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:16:13Z" level=info msg="WORKDIR /usr/src/app/backend/"
time="2024-09-30T14:16:13Z" level=info msg="Cmd: workdir"
time="2024-09-30T14:16:13Z" level=info msg="Changed working directory to /usr/src/app/backend/"
time="2024-09-30T14:16:13Z" level=info msg="No files changed in this command, skipping snapshotting."
time="2024-09-30T14:16:13Z" level=info msg="RUN npm ci --no-audit"
time="2024-09-30T14:16:13Z" level=info msg="Cmd: /bin/sh"
time="2024-09-30T14:16:13Z" level=info msg="Args: [-c npm ci --no-audit]"
time="2024-09-30T14:16:13Z" level=info msg="Running: [/bin/sh -c npm ci --no-audit]"
added 14 packages in 2s
time="2024-09-30T14:16:17Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:16:43Z" level=info msg="RUN ["npm", "run", "build:upgrade"]"
time="2024-09-30T14:16:43Z" level=info msg="Cmd: /usr/local/bin/npm"
time="2024-09-30T14:16:43Z" level=info msg="Args: [run build:upgrade]"
time="2024-09-30T14:16:43Z" level=info msg="Running: [/usr/local/bin/npm run build:upgrade]"
[email protected] build:upgrade
cd packages/Upgrade && npm run build
[email protected] build
npm start build
[email protected] start
nps build
| |__ _ () | | |
| ' | | | | | |/ ` |
| |) | || | | | (| |
|_._/ _,|||_,|
time="2024-09-30T14:17:37Z" level=info msg="Taking snapshot of full filesystem..."
time="2024-09-30T14:18:11Z" level=info msg="Saving file usr/src/app/backend for later use"
time="2024-09-30T14:18:29Z" level=info msg="Deleting filesystem..."
time="2024-09-30T14:18:32Z" level=info msg="Retrieving image manifest 467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16"
time="2024-09-30T14:18:32Z" level=info msg="Returning cached image manifest"
time="2024-09-30T14:18:32Z" level=info msg="Executing 0 build triggers"
time="2024-09-30T14:18:32Z" level=info msg="Building stage '467155500999.dkr.ecr.us-east-1.amazonaws.com/node:18-alpine3.16' [idx: '1', base-idx: '-1']"
time="2024-09-30T14:18:32Z" level=info msg="Unpacking rootfs as cmd COPY --from=build /usr/src/app/backend ./ requires it."
time="2024-09-30T14:18:37Z" level=info msg="ENV NEW_RELIC_NO_CONFIG_FILE=true"
time="2024-09-30T14:18:37Z" level=info msg="ENV NR_NATIVE_METRICS_NO_BUILD=true"
time="2024-09-30T14:18:37Z" level=info msg="ENV NODE_OPTIONS=--max_old_space_size=4096"
time="2024-09-30T14:18:37Z" level=info msg="WORKDIR /usr/src/app"
time="2024-09-30T14:18:37Z" level=info msg="Cmd: workdir"
time="2024-09-30T14:18:37Z" level=info msg="Changed working directory to /usr/src/app"
time="2024-09-30T14:18:37Z" level=info msg="Creating directory /usr/src/app with uid -1 and gid -1"
time="2024-09-30T14:18:37Z" level=info msg="Taking snapshot of files..."
time="2024-09-30T14:18:37Z" level=info msg="COPY --from=build /usr/src/app/backend ./"
time="2024-09-30T14:18:57Z" level=info msg="Taking snapshot of files..."
time="2024-09-30T14:19:11Z" level=info msg="EXPOSE 3030"
time="2024-09-30T14:19:11Z" level=info msg="Cmd: EXPOSE"
time="2024-09-30T14:19:11Z" level=info msg="Adding exposed port: 3030/tcp"
time="2024-09-30T14:19:11Z" level=info msg="CMD ["npm", "run", "--silent", "production:upgrade"]"
time="2024-09-30T14:19:11Z" level=info msg="Skipping push to container registry due to --no-push flag"