Skip to content

Commit 81f78a0

Browse files
moved content-gen to root
1 parent 9ca3dd0 commit 81f78a0

171 files changed

Lines changed: 8 additions & 216 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.

.github/workflows/azure-dev.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ jobs:
3737
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
3838
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
3939
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
40-
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
4140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4241

4342
# Step 3: Print the result of the validation

azure.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ parameters:
4343

4444
infra:
4545
provider: bicep
46-
path: ./content-gen/infra
46+
path: ./infra
4747
module: main
4848

4949
workflows:
@@ -82,10 +82,10 @@ hooks:
8282
elseif (Test-Path "../.venv/Scripts/python.exe") { $python = "../.venv/Scripts/python.exe" }
8383
elseif (Test-Path "./.venv/bin/python") { $python = "./.venv/bin/python" }
8484
elseif (Test-Path "../.venv/bin/python") { $python = "../.venv/bin/python" }
85-
& $python -m pip install -r ./content-gen/scripts/requirements-post-deploy.txt --quiet | Out-Null
85+
& $python -m pip install -r ./scripts/requirements-post-deploy.txt --quiet | Out-Null
8686
87-
if (Test-Path "./content-gen/scripts/post_deploy.py") {
88-
& $python ./content-gen/scripts/post_deploy.py --skip-tests
87+
if (Test-Path "./scripts/post_deploy.py") {
88+
& $python ./scripts/post_deploy.py --skip-tests
8989
9090
if ($LASTEXITCODE -eq 0) {
9191
Write-Host "Post-deploy script completed successfully!" -ForegroundColor Green
@@ -124,7 +124,7 @@ hooks:
124124
echo "===== Running Post-Deploy Script ====="
125125
echo "This will upload sample data and create the search index..."
126126
127-
if [ -f "./content-gen/scripts/post_deploy.py" ]; then
127+
if [ -f "./scripts/post_deploy.py" ]; then
128128
# Prefer local venv if present (repo root or content-gen)
129129
if [ -x "./.venv/bin/python" ]; then
130130
PYTHON_BIN="./.venv/bin/python"
@@ -134,8 +134,8 @@ hooks:
134134
PYTHON_BIN="python3"
135135
fi
136136
137-
"$PYTHON_BIN" -m pip install -r ./content-gen/scripts/requirements-post-deploy.txt --quiet > /dev/null \
138-
&& "$PYTHON_BIN" ./content-gen/scripts/post_deploy.py --skip-tests \
137+
"$PYTHON_BIN" -m pip install -r ./scripts/requirements-post-deploy.txt --quiet > /dev/null \
138+
&& "$PYTHON_BIN" ./scripts/post_deploy.py --skip-tests \
139139
&& echo "Post-deploy script completed successfully!" \
140140
|| echo "Post-deploy script completed with warnings (some steps may have failed)"
141141
else
@@ -150,3 +150,4 @@ hooks:
150150
shell: sh
151151
continueOnError: false
152152
interactive: true
153+

content-gen/.devcontainer/Dockerfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

content-gen/.devcontainer/devcontainer.json

Lines changed: 0 additions & 40 deletions
This file was deleted.

content-gen/.devcontainer/setup_env.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

content-gen/azure.yaml

Lines changed: 0 additions & 153 deletions
This file was deleted.

content-gen/infra/vscode_web/.env

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)