Skip to content

Commit e4c31ae

Browse files
committed
Update repository name from gitpod-demo to gitpodflix-demo
1 parent 61c5d84 commit e4c31ae

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

.gitpod/automations.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ services:
2020
-e POSTGRES_DB=gitpodflix \
2121
-p 5432:5432 \
2222
-v postgres_data:/var/lib/postgresql/data \
23-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
23+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
2424
postgres:15
2525
2626
ready: |
@@ -46,7 +46,7 @@ services:
4646
- postEnvironmentStart
4747
commands:
4848
start: |
49-
cd /workspaces/flex-demo/backend/catalog
49+
cd /workspaces/gitpodflix-demo/backend/catalog
5050
PORT=3001 npx nodemon src/index.ts
5151
ready: |
5252
if curl -s http://localhost:3001/health > /dev/null; then
@@ -67,7 +67,7 @@ services:
6767
- postEnvironmentStart
6868
commands:
6969
start: |
70-
cd /workspaces/flex-demo/management-ui
70+
cd /workspaces/gitpodflix-demo/management-ui
7171
7272
# Wait for vite to be available
7373
echo "Waiting for vite to be available..."
@@ -104,7 +104,7 @@ services:
104104
- postEnvironmentStart
105105
commands:
106106
start: |
107-
cd /workspaces/flex-demo/frontend
107+
cd /workspaces/gitpodflix-demo/frontend
108108
109109
# Wait for vite to be available
110110
echo "Waiting for vite to be available..."
@@ -141,7 +141,7 @@ tasks:
141141
- manual
142142
- postEnvironmentStart
143143
command: |
144-
cd /workspaces/flex-demo/database/main
144+
cd /workspaces/gitpodflix-demo/database/main
145145
146146
# Wait for PostgreSQL to be ready
147147
echo "Waiting for PostgreSQL to be ready..."
@@ -183,7 +183,7 @@ tasks:
183183
triggeredBy:
184184
- manual
185185
command: |
186-
cd /workspaces/flex-demo/database/main
186+
cd /workspaces/gitpodflix-demo/database/main
187187
PGPASSWORD=gitpod psql -h localhost -U gitpod -d gitpodflix -c "TRUNCATE TABLE movies;"
188188
189189
openDemoPorts:

docker_postgres_issue_report.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ start: |
2525
-e POSTGRES_DB=gitpodflix \
2626
-p 5432:5432 \
2727
-v postgres_data:/var/lib/postgresql/data \
28-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
28+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
2929
postgres:15
3030
docker logs -f postgres
3131
```
@@ -46,7 +46,7 @@ start: |
4646
-e POSTGRES_DB=gitpodflix \
4747
-p 5432:5432 \
4848
-v postgres_data:/var/lib/postgresql/data \
49-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
49+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
5050
postgres:15
5151

5252
# Wait for PostgreSQL to be ready
@@ -78,7 +78,7 @@ start: |
7878
-e POSTGRES_DB=gitpodflix \
7979
-p 5432:5432 \
8080
-v postgres_data:/var/lib/postgresql/data \
81-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
81+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
8282
postgres:15
8383

8484
while true; do
@@ -109,7 +109,7 @@ start: |
109109
-e POSTGRES_DB=gitpodflix \
110110
-p 5432:5432 \
111111
-v postgres_data:/var/lib/postgresql/data \
112-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
112+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
113113
postgres:15
114114
echo "DEBUG: Docker run exit code: $?"
115115

@@ -152,7 +152,7 @@ services:
152152
-e POSTGRES_DB=gitpodflix \
153153
-p 5432:5432 \
154154
-v postgres_data:/var/lib/postgresql/data \
155-
-v /workspaces/flex-demo/database/main/migrations:/docker-entrypoint-initdb.d \
155+
-v /workspaces/gitpodflix-demo/database/main/migrations:/docker-entrypoint-initdb.d \
156156
postgres:15
157157

158158
# Keep the service running by monitoring the container
@@ -208,4 +208,4 @@ Additional Context:
208208
- Other services in the same configuration (catalog, management-ui, gitpod-flix) work correctly
209209
- These services use long-running processes (nodemon, vite) rather than Docker containers
210210
- PostgreSQL container itself works correctly when started manually
211-
- Issue appears to be specific to Gitpod automation service integration
211+
- Issue appears to be specific to Gitpod automation service integration

docs/devcontainer-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A DevContainer (Development Container) is a Docker container that defines your d
1414

1515
When configuring your development environment, it's recommended to use [DevContainer features](https://containers.dev/features) whenever possible. Features are reusable, pre-configured components that can be added to your devcontainer.json file. They provide a standardized way to add common tools, languages, and services to your development environment.
1616

17-
The available features are documented in the `/workspaces/flex-demo/docs/devcontainer-features.yml` file, which is manually pulled from the [DevContainer collection index](https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml). This ensures you have access to the latest community-maintained features.
17+
The available features are documented in the `/workspaces/gitpodflix-demo/docs/devcontainer-features.yml` file, which is manually pulled from the [DevContainer collection index](https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml). This ensures you have access to the latest community-maintained features.
1818

1919
Example usage in devcontainer.json:
2020

instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Gitpod Demo Project Specification
1+
# Gitpodflix Demo Project Specification
22

33
## Table of Contents
44

@@ -85,7 +85,7 @@ The demo consists of several key components that work together to showcase Gitpo
8585
## Directory Structure
8686

8787
```
88-
flex-demo/
88+
gitpodflix-demo/
8989
├── .gitpod.yml
9090
├── .devcontainer/
9191
│ └── devcontainer.json

issue-report-automations-race-condition.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
- postEnvironmentStart
3434
commands:
3535
start: |
36-
cd /workspaces/flex-demo/frontend
36+
cd /workspaces/gitpodflix-demo/frontend
3737
PORT=3000 npm run dev
3838

3939
management-ui:
@@ -43,7 +43,7 @@ services:
4343
- postEnvironmentStart
4444
commands:
4545
start: |
46-
cd /workspaces/flex-demo/management-ui
46+
cd /workspaces/gitpodflix-demo/management-ui
4747
PORT=3001 npm run dev
4848
```
4949

@@ -110,4 +110,4 @@ Suggested Fix:
110110
The Gitpod platform should ensure that postDevcontainerStart triggers occur only after the devcontainer is fully initialized, including all postCreateCommand operations. This would prevent services from starting before their dependencies are available.
111111

112112
Additional Notes:
113-
This appears to be a platform-level issue with the timing of automation triggers rather than a configuration issue in the workspace. The fact that services work after restart without any changes suggests that the problem lies in the sequencing of initialization events.
113+
This appears to be a platform-level issue with the timing of automation triggers rather than a configuration issue in the workspace. The fact that services work after restart without any changes suggests that the problem lies in the sequencing of initialization events.

management-ui/src/components/SidePanel.jsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ const SidePanel = ({ selectedNode, onClose }) => {
1717
};
1818
}, [onClose]);
1919

20-
const baseRepoUrl = 'https://github.com/loujaybee/flex-demo';
21-
const baseAutomationUrl = 'https://github.com/loujaybee/flex-demo/blob/ba748d00cc930dba002560f8f870ef59e3d18b36/.gitpod/automations.yaml';
20+
const baseRepoUrl = 'https://github.com/loujaybee/gitpodflix-demo';
21+
const baseAutomationUrl = 'https://github.com/loujaybee/gitpodflix-demo/blob/ba748d00cc930dba002560f8f870ef59e3d18b36/.gitpod/automations.yaml';
2222

2323
// Mock data for repository and automation info
2424
const nodeInfo = {
2525
frontend: {
26-
repository: 'flex-demo/frontend',
26+
repository: 'gitpodflix-demo/frontend',
2727
directory: '/services/frontend',
2828
automation: `name: frontend
2929
description: Frontend service for Gitpod Flix
@@ -37,7 +37,7 @@ ports:
3737
automationUrl: baseAutomationUrl
3838
},
3939
catalog: {
40-
repository: 'flex-demo/catalog',
40+
repository: 'gitpodflix-demo/catalog',
4141
directory: '/services/catalog',
4242
automation: `name: catalog
4343
description: Catalog service for Gitpod Flix
@@ -51,7 +51,7 @@ ports:
5151
automationUrl: baseAutomationUrl
5252
},
5353
identity: {
54-
repository: 'flex-demo/identity',
54+
repository: 'gitpodflix-demo/identity',
5555
directory: '/services/identity',
5656
automation: `name: identity
5757
description: Identity service for Gitpod Flix
@@ -65,7 +65,7 @@ ports:
6565
automationUrl: baseAutomationUrl
6666
},
6767
recommend: {
68-
repository: 'flex-demo/recommend',
68+
repository: 'gitpodflix-demo/recommend',
6969
directory: '/services/recommend',
7070
automation: `name: recommend
7171
description: Recommendation service for Gitpod Flix
@@ -79,7 +79,7 @@ ports:
7979
automationUrl: baseAutomationUrl
8080
},
8181
stream: {
82-
repository: 'flex-demo/stream',
82+
repository: 'gitpodflix-demo/stream',
8383
directory: '/services/stream',
8484
automation: `name: stream
8585
description: Streaming service for Gitpod Flix
@@ -93,7 +93,7 @@ ports:
9393
automationUrl: baseAutomationUrl
9494
},
9595
analytics: {
96-
repository: 'flex-demo/analytics',
96+
repository: 'gitpodflix-demo/analytics',
9797
directory: '/services/analytics',
9898
automation: `name: analytics
9999
description: Analytics service for Gitpod Flix
@@ -107,7 +107,7 @@ ports:
107107
automationUrl: baseAutomationUrl
108108
},
109109
database: {
110-
repository: 'flex-demo/database',
110+
repository: 'gitpodflix-demo/database',
111111
directory: '/services/database',
112112
automation: `name: database
113113
description: Database service for Gitpod Flix
@@ -173,4 +173,4 @@ ports:
173173
);
174174
};
175175

176-
export default SidePanel;
176+
export default SidePanel;

0 commit comments

Comments
 (0)