Skip to content

add branch preview workflows#235

Closed
LFISHER7 wants to merge 3 commits intomainfrom
workflows
Closed

add branch preview workflows#235
LFISHER7 wants to merge 3 commits intomainfrom
workflows

Conversation

@LFISHER7
Copy link
Collaborator

@LFISHER7 LFISHER7 commented Feb 4, 2025

No description provided.

@github-actions
Copy link

The app failed to be deployed. Logs can be found here.

Logs

Build logs [2] `\ openprescribing-hospitals 2025-02-20T17:01:56.290034567Z �[34m╭────────────�[34m�[30m�[44m git repo clone �[0m�[0m�[34m───────────╼�[0m openprescribing-hospitals 2025-02-20T17:01:56.290076668Z �[34m│�[0m �[34m › fetching app source code�[0m openprescribing-hospitals 2025-02-20T17:01:56.290079922Z �[34m│�[0m => Selecting branch "workflows" openprescribing-hospitals 2025-02-20T17:01:56.599924638Z �[34m│�[0m => Checking out commit "d479f87196b90ae7303d2379822a234487439f84" openprescribing-hospitals 2025-02-20T17:01:56.618933554Z �[34m│�[0m openprescribing-hospitals 2025-02-20T17:01:56.620105948Z �[34m│�[0m �[32m ✔ cloned repo to �[35m/.app_platform_workspace�[0m�[0m openprescribing-hospitals 2025-02-20T17:01:56.629678031Z �[34m╰────────────────────────────────────────╼�[0m openprescribing-hospitals 2025-02-20T17:01:56.629690597Z openprescribing-hospitals 2025-02-20T17:01:57.130326747Z �[34m › configuring build-time app environment variables:�[0m openprescribing-hospitals 2025-02-20T17:01:57.130349645Z DATABASE_PORT DIGITAL_OCEAN_HOSTNAME SECRET_KEY DATABASE_NAME DATABASE_USER DATABASE_PASSWORD DATABASE_HOST openprescribing-hospitals 2025-02-20T17:01:57.141782570Z �[34m╭────────────�[34m�[30m�[44m dockerfile build �[0m�[0m�[34m───────────╼�[0m openprescribing-hospitals 2025-02-20T17:01:57.151624978Z �[34m│�[0m �[34m › using dockerfile �[35m/.app_platform_workspace/Dockerfile�[0m�[0m openprescribing-hospitals 2025-02-20T17:01:57.152594614Z �[34m│�[0m �[34m › using build context �[35m/.app_platform_workspace//�[0m�[0m openprescribing-hospitals 2025-02-20T17:01:57.152725798Z �[34m│�[0m openprescribing-hospitals 2025-02-20T17:01:57.322190711Z �[34m│�[0m �[36mINFO�[0m[0000] Resolved base name node:20 to node-builder openprescribing-hospitals 2025-02-20T17:01:57.322219561Z �[34m│�[0m �[36mINFO�[0m[0000] Using dockerignore file: /.app_platform_workspace/.dockerignore openprescribing-hospitals 2025-02-20T17:01:57.322222301Z �[34m│�[0m �[36mINFO�[0m[0000] Retrieving image manifest node:20 openprescribing-hospitals 2025-02-20T17:01:57.322236148Z �[34m│�[0m �[36mINFO�[0m[0000] Retrieving image library/node:20 from registry mirror openprescribing-hospitals 2025-02-20T17:01:57.959243512Z �[34m│�[0m �[36mINFO�[0m[0000] Retrieving image manifest node:20 openprescribing-hospitals 2025-02-20T17:01:57.959265094Z �[34m│�[0m �[36mINFO�[0m[0000] Returning cached image manifest openprescribing-hospitals 2025-02-20T17:01:57.964093347Z �[34m│�[0m �[36mINFO�[0m[0000] Retrieving image manifest python:3.11-slim openprescribing-hospitals 2025-02-20T17:01:57.964325757Z �[34m│�[0m �[36mINFO�[0m[0000] Retrieving image library/python:3.11-slim from registry mirror openprescribing-hospitals 2025-02-20T17:01:58.612166677Z �[34m│�[0m �[36mINFO�[0m[0001] Retrieving image manifest python:3.11-slim openprescribing-hospitals 2025-02-20T17:01:58.612191664Z �[34m│�[0m �[36mINFO�[0m[0001] Returning cached image manifest openprescribing-hospitals 2025-02-20T17:01:58.620054710Z �[34m│�[0m �[36mINFO�[0m[0001] Built cross stage deps: map[0:[/app/assets]] openprescribing-hospitals 2025-02-20T17:01:58.620224140Z �[34m│�[0m �[36mINFO�[0m[0001] Retrieving image manifest node:20 openprescribing-hospitals 2025-02-20T17:01:58.620226323Z �[34m│�[0m �[36mINFO�[0m[0001] Returning cached image manifest openprescribing-hospitals 2025-02-20T17:01:58.620228511Z �[34m│�[0m �[36mINFO�[0m[0001] Retrieving image manifest node:20 openprescribing-hospitals 2025-02-20T17:01:58.620230304Z �[34m│�[0m �[36mINFO�[0m[0001] Returning cached image manifest openprescribing-hospitals 2025-02-20T17:01:58.620444502Z �[34m│�[0m �[36mINFO�[0m[0001] Executing 0 build triggers openprescribing-hospitals 2025-02-20T17:01:58.620723731Z �[34m│�[0m �[36mINFO�[0m[0001] Building stage 'node:20' [idx: '0', base-idx: '-1'] openprescribing-hospitals 2025-02-20T17:01:58.622139890Z �[34m│�[0m �[36mINFO�[0m[0001] Checking for cached layer openprescribing-hospitals 2025-02-20T17:01:58.861010133Z �[34m│�[0m �[36mINFO�[0m[0001] Using caching version of cmd: RUN npm ci openprescribing-hospitals 2025-02-20T17:01:58.865526590Z �[34m│�[0m �[36mINFO�[0m[0001] Checking for cached layer openprescribing-hospitals 2025-02-20T17:01:58.970269059Z �[34m│�[0m �[36mINFO�[0m[0001] Using caching version of cmd: RUN npm run build openprescribing-hospitals 2025-02-20T17:01:58.970312077Z �[34m│�[0m �[36mINFO�[0m[0001] Unpacking rootfs as cmd COPY package.json package-lock.json ./ requires it. openprescribing-hospitals 2025-02-20T17:02:10.686563811Z �[34m│�[0m �[36mINFO�[0m[0013] Initializing snapshotter ... openprescribing-hospitals 2025-02-20T17:02:10.686606301Z �[34m│�[0m �[36mINFO�[0m[0013] Taking snapshot of full filesystem... openprescribing-hospitals 2025-02-20T17:02:13.602834139Z �[34m│�[0m �[36mINFO�[0m[0016] WORKDIR /app openprescribing-hospitals 2025-02-20T17:02:13.602873744Z �[34m│�[0m �[36mINFO�[0m[0016] Cmd: workdir openprescribing-hospitals 2025-02-20T17:02:13.602876854Z �[34m│�[0m �[36mINFO�[0m[0016] Changed working directory to /app openprescribing-hospitals 2025-02-20T17:02:13.602878977Z �[34m│�[0m �[36mINFO�[0m[0016] Creating directory /app with uid -1 and gid -1 openprescribing-hospitals 2025-02-20T17:02:13.616981858Z �[34m│�[0m �[36mINFO�[0m[0016] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:13.619855782Z �[34m│�[0m �[36mINFO�[0m[0016] COPY package.json package-lock.json ./ openprescribing-hospitals 2025-02-20T17:02:13.627365785Z �[34m│�[0m �[36mINFO�[0m[0016] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:13.632059569Z �[34m│�[0m �[36mINFO�[0m[0016] COPY vite.config.js tailwind.config.mjs postcss.config.cjs svelte.config.js ./ openprescribing-hospitals 2025-02-20T17:02:13.643811944Z �[34m│�[0m �[36mINFO�[0m[0016] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:13.644698546Z �[34m│�[0m �[36mINFO�[0m[0016] RUN npm ci openprescribing-hospitals 2025-02-20T17:02:13.644890079Z �[34m│�[0m �[36mINFO�[0m[0016] Found cached layer, extracting to filesystem openprescribing-hospitals 2025-02-20T17:02:20.247754154Z �[34m│�[0m �[36mINFO�[0m[0023] COPY src ./src openprescribing-hospitals 2025-02-20T17:02:20.262215966Z �[34m│�[0m �[36mINFO�[0m[0023] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:20.268393605Z �[34m│�[0m �[36mINFO�[0m[0023] COPY templates ./templates openprescribing-hospitals 2025-02-20T17:02:20.276270865Z �[34m│�[0m �[36mINFO�[0m[0023] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:20.278507644Z �[34m│�[0m �[36mINFO�[0m[0023] RUN npm run build openprescribing-hospitals 2025-02-20T17:02:20.278528680Z �[34m│�[0m �[36mINFO�[0m[0023] Found cached layer, extracting to filesystem openprescribing-hospitals 2025-02-20T17:02:20.555790695Z �[34m│�[0m �[36mINFO�[0m[0023] Saving file app/assets for later use openprescribing-hospitals 2025-02-20T17:02:20.562446746Z �[34m│�[0m �[36mINFO�[0m[0023] Deleting filesystem... openprescribing-hospitals 2025-02-20T17:02:21.337784558Z �[34m│�[0m �[36mINFO�[0m[0024] Retrieving image manifest python:3.11-slim openprescribing-hospitals 2025-02-20T17:02:21.337825845Z �[34m│�[0m �[36mINFO�[0m[0024] Returning cached image manifest openprescribing-hospitals 2025-02-20T17:02:21.337956937Z �[34m│�[0m �[36mINFO�[0m[0024] Retrieving image manifest python:3.11-slim openprescribing-hospitals 2025-02-20T17:02:21.337971156Z �[34m│�[0m �[36mINFO�[0m[0024] Returning cached image manifest openprescribing-hospitals 2025-02-20T17:02:21.338133222Z �[34m│�[0m �[36mINFO�[0m[0024] Executing 0 build triggers openprescribing-hospitals 2025-02-20T17:02:21.338398322Z �[34m│�[0m �[36mINFO�[0m[0024] Building stage 'python:3.11-slim' [idx: '1', base-idx: '-1'] openprescribing-hospitals 2025-02-20T17:02:21.338605426Z �[34m│�[0m �[36mINFO�[0m[0024] Checking for cached layer openprescribing-hospitals 2025-02-20T17:02:21.638466825Z �[34m│�[0m �[36mINFO�[0m[0024] Using caching version of cmd: RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev gcc && rm -rf /var/lib/apt/lists/* openprescribing-hospitals 2025-02-20T17:02:21.638670969Z �[34m│�[0m �[36mINFO�[0m[0024] Checking for cached layer openprescribing-hospitals 2025-02-20T17:02:21.719364349Z �[34m│�[0m �[36mINFO�[0m[0024] Using caching version of cmd: RUN pip install --no-cache-dir -r requirements.txt gunicorn openprescribing-hospitals 2025-02-20T17:02:21.728757742Z �[34m│�[0m �[36mINFO�[0m[0024] Checking for cached layer openprescribing-hospitals 2025-02-20T17:02:21.806304280Z �[34m│�[0m �[36mINFO�[0m[0024] No cached layer found for cmd RUN SECRET_KEY=dummy-key-for-build DATABASE_NAME=default_db_name DATABASE_USER=default_user DATABASE_PASSWORD=default_password DATABASE_HOST=default_host DATABASE_PORT=default_port python manage.py collectstatic --noinput openprescribing-hospitals 2025-02-20T17:02:21.806342540Z �[34m│�[0m �[36mINFO�[0m[0024] Cmd: EXPOSE openprescribing-hospitals 2025-02-20T17:02:21.806345582Z �[34m│�[0m �[36mINFO�[0m[0024] Adding exposed port: 8000/tcp openprescribing-hospitals 2025-02-20T17:02:21.806348388Z �[34m│�[0m �[36mINFO�[0m[0024] Unpacking rootfs as cmd COPY requirements.txt . requires it. openprescribing-hospitals 2025-02-20T17:02:23.048922491Z �[34m│�[0m �[36mINFO�[0m[0025] Initializing snapshotter ... openprescribing-hospitals 2025-02-20T17:02:23.048963886Z �[34m│�[0m �[36mINFO�[0m[0025] Taking snapshot of full filesystem... openprescribing-hospitals 2025-02-20T17:02:23.632408420Z �[34m│�[0m �[36mINFO�[0m[0026] WORKDIR /app openprescribing-hospitals 2025-02-20T17:02:23.632676480Z �[34m│�[0m �[36mINFO�[0m[0026] Cmd: workdir openprescribing-hospitals 2025-02-20T17:02:23.632686351Z �[34m│�[0m �[36mINFO�[0m[0026] Changed working directory to /app openprescribing-hospitals 2025-02-20T17:02:23.632700675Z �[34m│�[0m �[36mINFO�[0m[0026] Creating directory /app with uid -1 and gid -1 openprescribing-hospitals 2025-02-20T17:02:23.633631200Z �[34m│�[0m �[36mINFO�[0m[0026] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:23.634651954Z �[34m│�[0m �[36mINFO�[0m[0026] RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev gcc && rm -rf /var/lib/apt/lists/* openprescribing-hospitals 2025-02-20T17:02:23.634818566Z �[34m│�[0m �[36mINFO�[0m[0026] Found cached layer, extracting to filesystem openprescribing-hospitals 2025-02-20T17:02:31.720629878Z �[34m│�[0m �[36mINFO�[0m[0034] COPY requirements.txt . openprescribing-hospitals 2025-02-20T17:02:31.722536154Z �[34m│�[0m �[36mINFO�[0m[0034] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:31.723573692Z �[34m│�[0m �[36mINFO�[0m[0034] RUN pip install --no-cache-dir -r requirements.txt gunicorn openprescribing-hospitals 2025-02-20T17:02:31.723724938Z �[34m│�[0m �[36mINFO�[0m[0034] Found cached layer, extracting to filesystem openprescribing-hospitals 2025-02-20T17:02:37.434791579Z �[34m│�[0m �[36mINFO�[0m[0040] COPY . . openprescribing-hospitals 2025-02-20T17:02:37.445719284Z �[34m│�[0m �[36mINFO�[0m[0040] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:37.463044427Z �[34m│�[0m �[36mINFO�[0m[0040] COPY --from=node-builder /app/assets /app/assets openprescribing-hospitals 2025-02-20T17:02:37.466265049Z �[34m│�[0m �[36mINFO�[0m[0040] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:37.493031097Z �[34m│�[0m �[36mINFO�[0m[0040] RUN SECRET_KEY=dummy-key-for-build DATABASE_NAME=default_db_name DATABASE_USER=default_user DATABASE_PASSWORD=default_password DATABASE_HOST=default_host DATABASE_PORT=default_port python manage.py collectstatic --noinput openprescribing-hospitals 2025-02-20T17:02:37.665812189Z �[34m│�[0m �[36mINFO�[0m[0040] Cmd: /bin/sh openprescribing-hospitals 2025-02-20T17:02:37.666013843Z �[34m│�[0m �[36mINFO�[0m[0040] Args: [-c SECRET_KEY=dummy-key-for-build DATABASE_NAME=default_db_name DATABASE_USER=default_user DATABASE_PASSWORD=default_password DATABASE_HOST=default_host DATABASE_PORT=default_port python manage.py collectstatic --noinput] openprescribing-hospitals 2025-02-20T17:02:37.666032837Z �[34m│�[0m �[36mINFO�[0m[0040] Running: [/bin/sh -c SECRET_KEY=dummy-key-for-build DATABASE_NAME=default_db_name DATABASE_USER=default_user DATABASE_PASSWORD=default_password DATABASE_HOST=default_host DATABASE_PORT=default_port python manage.py collectstatic --noinput] openprescribing-hospitals 2025-02-20T17:02:37.911138126Z �[34m│�[0m openprescribing-hospitals 2025-02-20T17:02:37.911321652Z �[34m│�[0m 150 static files copied to '/app/staticfiles'. openprescribing-hospitals 2025-02-20T17:02:38.140779832Z �[34m│�[0m �[36mINFO�[0m[0040] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:38.241014698Z �[34m│�[0m �[36mINFO�[0m[0041] EXPOSE 8000 openprescribing-hospitals 2025-02-20T17:02:38.241238765Z �[34m│�[0m �[36mINFO�[0m[0041] Cmd: EXPOSE openprescribing-hospitals 2025-02-20T17:02:38.241245153Z �[34m│�[0m �[36mINFO�[0m[0041] Adding exposed port: 8000/tcp openprescribing-hospitals 2025-02-20T17:02:38.242379469Z �[34m│�[0m �[36mINFO�[0m[0041] No files changed in this command, skipping snapshotting. openprescribing-hospitals 2025-02-20T17:02:38.242645451Z �[34m│�[0m �[36mINFO�[0m[0041] COPY entrypoint.sh . openprescribing-hospitals 2025-02-20T17:02:38.243204092Z �[34m│�[0m �[36mINFO�[0m[0041] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:38.243520630Z �[34m│�[0m �[36mINFO�[0m[0041] Pushing layer to cache now openprescribing-hospitals 2025-02-20T17:02:38.243788471Z �[34m│�[0m �[36mINFO�[0m[0041] Pushing image to openprescribing-hospitals 2025-02-20T17:02:38.244146758Z �[34m│�[0m �[36mINFO�[0m[0041] RUN chmod +x entrypoint.sh openprescribing-hospitals 2025-02-20T17:02:38.418058573Z �[34m│�[0m �[36mINFO�[0m[0041] Cmd: /bin/sh openprescribing-hospitals 2025-02-20T17:02:38.418602923Z �[34m│�[0m �[36mINFO�[0m[0041] Args: [-c chmod +x entrypoint.sh] openprescribing-hospitals 2025-02-20T17:02:38.418609520Z �[34m│�[0m �[36mINFO�[0m[0041] Running: [/bin/sh -c chmod +x entrypoint.sh] openprescribing-hospitals 2025-02-20T17:02:38.595279594Z �[34m│�[0m �[36mINFO�[0m[0041] Taking snapshot of files... openprescribing-hospitals 2025-02-20T17:02:38.640408425Z �[34m│�[0m �[36mINFO�[0m[0041] Pushing layer to cache now openprescribing-hospitals 2025-02-20T17:02:38.640580320Z �[34m│�[0m �[36mINFO�[0m[0041] Pushing image to openprescribing-hospitals 2025-02-20T17:02:38.640583922Z �[34m│�[0m �[36mINFO�[0m[0041] ENTRYPOINT ["./entrypoint.sh"] openprescribing-hospitals 2025-02-20T17:02:38.641956943Z �[34m│�[0m �[36mINFO�[0m[0041] No files changed in this command, skipping snapshotting. openprescribing-hospitals 2025-02-20T17:02:39.022912300Z �[34m│�[0m �[36mINFO�[0m[0041] Pushed openprescribing-hospitals 2025-02-20T17:02:40.132623425Z �[34m│�[0m �[36mINFO�[0m[0042] Pushed openprescribing-hospitals 2025-02-20T17:02:40.133793593Z �[34m│�[0m �[36mINFO�[0m[0042] Pushing image to openprescribing-hospitals 2025-02-20T17:02:41.706430378Z �[34m│�[0m �[36mINFO�[0m[0044] Pushed openprescribing-hospitals 2025-02-20T17:02:41.718376321Z �[34m│�[0m openprescribing-hospitals 2025-02-20T17:02:41.868589870Z �[34m│�[0m �[32m ✔ built and uploaded app container image to DOCR�[0m openprescribing-hospitals 2025-02-20T17:02:41.870464759Z �[34m╰──────────────────────────────────────────╼�[0m openprescribing-hospitals 2025-02-20T17:02:41.870483369Z openprescribing-hospitals 2025-02-20T17:02:41.875281955Z �[32m ✔ �[0m�[30m�[42m build complete �[0m�[0m openprescribing-hospitals 2025-02-20T17:02:41.875710250Z

`\

Deploy logs [3] `\ openprescribing-hospitals 2025-02-20T17:03:07.968746623Z Applying database migrations...

`\

@LFISHER7 LFISHER7 closed this Apr 15, 2025
@LFISHER7 LFISHER7 deleted the workflows branch May 27, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant