Skip to content

Commit d8cdef4

Browse files
committed
Try #2
1 parent fb3afb0 commit d8cdef4

File tree

5 files changed

+41
-8
lines changed

5 files changed

+41
-8
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118

119119
- name: Build and push
120120
run: |
121-
docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION} ${{github.event.inputs.build_flag}}
121+
docker compose -f docker-compose.build.yml --env-file tdei_uw.env build --build-arg CODE_VERSION=${CODE_VERSION} ${{github.event.inputs.build_flag}}
122122
docker compose -f docker-compose.build.yml --env-file tdei_uw.env push
123123
124124
env:
@@ -131,13 +131,13 @@ jobs:
131131
WS_POSM_DB_HOST: ${{ vars.WS_POSM_DB_HOST }}
132132

133133
# passwords
134-
WS_API_DB_PASS: ${{ secrets.WS_API_DB_PASS }}
135-
WS_MAPBOX_ACCESS_TOKEN: ${{ secrets.WS_MAPBOX_ACCESS_TOKEN }}
136-
WS_OSM_DB_PASS: ${{ secrets.WS_OSM_DB_PASS }}
137-
WS_OSM_SECRET_KEY_BASE: ${{ secrets.WS_OSM_SECRET_KEY_BASE }}
138-
WS_SMTP_PASS: ${{ secrets.WS_SMTP_PASS }}
139-
WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
140-
WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
134+
#WS_API_DB_PASS: ${{ secrets.WS_API_DB_PASS }}
135+
#WS_MAPBOX_ACCESS_TOKEN: ${{ secrets.WS_MAPBOX_ACCESS_TOKEN }}
136+
#WS_OSM_DB_PASS: ${{ secrets.WS_OSM_DB_PASS }}
137+
#WS_OSM_SECRET_KEY_BASE: ${{ secrets.WS_OSM_SECRET_KEY_BASE }}
138+
#WS_SMTP_PASS: ${{ secrets.WS_SMTP_PASS }}
139+
#WS_TASKS_DB_PASS: ${{ secrets.WS_TASKS_DB_PASS }}
140+
#WS_TASKS_SECRET_KEY: ${{ secrets.WS_TASKS_SECRET_KEY }}
141141

142142
- name: Deploy
143143
env:

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,10 @@ dev.env
55
stage.env
66
prod.env
77

8+
frontend/
9+
leaderboard/
10+
osm-cgimap/
11+
osm-rails/
12+
pathways-editor/
13+
rapid/
14+
tasking-manager/

checkout_repos.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
3+
# A script to prep the repos as the CI/CD pipeline does, e.g. when you're developing on your local machine
4+
#
5+
# Run as ./checkout-repos.sh <tag name> e.g. ./checkout-repos.sh dev
6+
#
7+
8+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-frontend.git frontend
9+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-cgimap.git osm-cgimap
10+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-openstreetmap-website.git osm-rails
11+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-pathways-editor.git pathways-editor
12+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-rapid.git rapid
13+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-tasking-manager.git tasking-manager
14+
git clone --depth 1 --branch $1 https://github.com/TaskarCenterAtUW/workspaces-leaderboard.git leaderboard

cleanup_repos.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
rm -rf tasking-manager/
4+
rm -rf rapid/
5+
rm -rf pathways-editor/
6+
rm -rf osm-rails/
7+
rm -rf osm-cgimap/
8+
rm -rf leaderboard/
9+
rm -rf frontend/

tdei_uw.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ WS_PLATFORM_WEBSITE=https://sidewalks.washington.edu/
2424
WS_PLATFORM_ORG_WEBSITE=https://tcat.cs.washington.edu/
2525
WS_PLATFORM_PRIVACY_POLICY=https://sidewalks.washington.edu/privacy
2626

27+
SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
28+
SENTRY_DSN=${SENTRY_DSN}
29+
2730
###############################################################################
2831
# Web
2932
###############################################################################

0 commit comments

Comments
 (0)