DiamondLightSource / developer-portal

A deployment of backstage for use at Diamond Light Source
Apache License 2.0
2 stars 3 forks source link

Update the guide docs page with dynamic titles #693

Open stan-dot opened 6 months ago

stan-dot commented 4 months ago

time="2024-06-28T08:36:18+01:00" level=error msg="User-selected graph driver \"vfs\" overwritten by graph driver \"overlay\" from database - delete libpod local files (\"/scratch/xma12127/podman\") to resolve. May prevent use of images created by other tools" time="2024-06-28T08:36:18+01:00" level=error msg="User-selected graph driver \"vfs\" overwritten by graph driver \"overlay\" from database - delete libpod local files (\"/scratch/xma12127/podman\") to resolve. May prevent use of images created by other tools"

odd error when opening the devcontainer

stan-dot commented 4 months ago

for testing this I'd need to try to load a real entity @garryod - this is not possible to do locally, do we have a staging deployment to test this?

garryod commented 4 months ago

for testing this I'd need to try to load a real entity @garryod - this is not possible to do locally, do we have a staging deployment to test this?

You can do this locally by populating either the GITHUB_TOKEN or GITLAB_TOKEN secret

stan-dot commented 4 months ago

sounds good. will check if I have the right org perms

stan-dot commented 2 months ago

@garryod I have gitlab and github tokens, but missing the other ones.

I was hoping I could do this more easily, possiby with a mock entity just to see how would the page look like.

I don't see very clear errors in the browser and neither in the console image

stan-dot commented 1 month ago

@garryod I'd like to close this but I don't have the whole s3 setup, would you have an opportunity sometime soon to test it on your machine?

garryod commented 1 month ago

@garryod I'd like to close this but I don't have the whole s3 setup, would you have an opportunity sometime soon to test it on your machine?

You don't need an S3 bucket to test things. What's the HTTP response you're getting?

stan-dot commented 1 month ago
5/5] Building fresh packages...
Done in 104.53s.
committing container for step {Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NODE_VERSION=20.17.0 YARN_VERSION=1.22.22] Command:run Args:[yarn install --frozen-lockfile --cwd backstage] Flags:[] Attrs:map[] Message:RUN yarn install --frozen-lockfile --cwd backstage Heredocs:[] Original:RUN yarn install --frozen-lockfile --cwd backstage}: copying layers and metadata for container "b1db6b800076ed952d0546e4b00a67747420d3a8778f75f18ea6ce4e605508f2": initializing source containers-storage:781a1f8bbd8f-working-container: storing layer "aa253898a9bf8615b3637fa540101c73717636700ba253e0b7fa65dc85568b76" to file: io: read/write on closed pipe

[237315 ms] Error: Command failed: docker-compose --project-name developer-portal_devcontainer -f /scratch/xma12127/projects/docs/developer-portal/.devcontainer/docker-compose.yml -f /home/xma12127/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1727780458067.yml build --no-cache
[237315 ms]     at pw (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:427:522)
[237315 ms]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[237316 ms]     at async L$ (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:427:2493)
[237316 ms]     at async N$ (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:409:3165)
[237316 ms]     at async tAA (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:479:3833)
[237316 ms]     at async CC (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:479:4775)
[237316 ms]     at async NeA (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:612:11107)
[237316 ms]     at async MeA (/dls/science/users/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js:612:10848)
[237322 ms] Exit code 1
[237325 ms] Command failed: /dls_sw/apps/vscode/1.85.1/code --ms-enable-electron-run-as-node /home/xma12127/.vscode/extensions/ms-vscode-remote.remote-containers-0.327.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/xma12127/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --docker-path podman --container-session-data-folder /tmp/devcontainers-340947e4-a8da-4586-a0cd-2f7e094934d91727780449282 --workspace-folder /scratch/xma12127/projects/docs/developer-portal --workspace-mount-consistency cached --id-label devcontainer.local_folder=/scratch/xma12127/projects/docs/developer-portal --id-label devcontainer.config_file=/scratch/xma12127/projects/docs/developer-portal/.devcontainer/devcontainer.json --log-level debug --log-format json --config /scratch/xma12127/projects/docs/developer-portal/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root
[237325 ms] Exit code 1

with

- vscode 1.85.1
- Dev Containers extension 0.327.0
- docker-compose 2.23.3

which was said to be working as recently as 03.05.2024

stan-dot commented 1 month ago

https://github.com/DiamondLightSource/developer-portal/issues/681#issuecomment-2385688017