Skip to content

Commit

Permalink
ci: remove all refs to frontend-map or ui-map
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 20, 2023
1 parent 6a554b4 commit 1010e20
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 38 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,10 @@ jobs:
env:
API_VERSION: ${{ needs.extract-versions.outputs.api_version }}
FRONTEND_MAIN_VERSION: ${{ needs.extract-versions.outputs.frontend_main_version }}
FRONTEND_MAP_VERSION: ${{ needs.extract-versions.outputs.frontend_map_version }}
run: |
echo "${{ secrets.DOTENV }}" > .env
echo "API_VERSION=${API_VERSION}" >> .env
echo "FRONTEND_MAIN_VERSION=${FRONTEND_MAIN_VERSION}" >> .env
echo "FRONTEND_MAP_VERSION=${FRONTEND_MAP_VERSION}" >> .env
- name: Backend smoke test
run: |
Expand Down Expand Up @@ -107,12 +105,10 @@ jobs:
env:
API_VERSION: ${{ needs.extract-versions.outputs.api_version }}
FRONTEND_MAIN_VERSION: ${{ needs.extract-versions.outputs.frontend_main_version }}
FRONTEND_MAP_VERSION: ${{ needs.extract-versions.outputs.frontend_map_version }}
run: |
echo "${{ secrets.DOTENV }}" > .env
echo "API_VERSION=${API_VERSION}" >> .env
echo "FRONTEND_MAIN_VERSION=${FRONTEND_MAIN_VERSION}" >> .env
echo "FRONTEND_MAP_VERSION=${FRONTEND_MAP_VERSION}" >> .env
- uses: webfactory/[email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/r-build_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ jobs:
APP_VERSION=${{ inputs.app_version }}
API_URL=${{ vars.URL_SCHEME }}://${{ vars.API_URL }}
FRONTEND_MAIN_URL=${{ vars.URL_SCHEME }}://${{ vars.FRONTEND_MAIN_URL }}
FRONTEND_MAP_URL=${{ vars.URL_SCHEME }}://${{ vars.FRONTEND_MAP_URL }}
10 changes: 2 additions & 8 deletions .github/workflows/r-extract_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ on:
frontend_main_version:
description: "Frontend Main Version"
value: ${{ jobs.extract-versions.outputs.frontend_main_version }}
frontend_map_version:
description: "Frontend Map Version"
value: ${{ jobs.extract-versions.outputs.frontend_map_version }}

jobs:
extract-versions:
runs-on: ubuntu-latest
outputs:
api_version: ${{ steps.extract_api_version.outputs.api_version }}
frontend_main_version: ${{ steps.extract_frontend_versions.outputs.frontend_main_version }}
frontend_map_version: ${{ steps.extract_frontend_versions.outputs.frontend_map_version }}
frontend_main_version: ${{ steps.extract_frontend_version.outputs.frontend_main_version }}

steps:
- name: Checkout repository
Expand All @@ -33,10 +29,8 @@ jobs:
echo "api_version=${API_VERSION}" >> $GITHUB_OUTPUT
- name: Extract frontend versions
id: extract_frontend_versions
id: extract_frontend_version
run: |
cd src/frontend
FRONTEND_MAIN_VERSION=$(jq -r '.version' main/package.json)
FRONTEND_MAP_VERSION=$(jq -r '.version' fmtm_openlayer_map/package.json)
echo "frontend_main_version=${FRONTEND_MAIN_VERSION}" >> $GITHUB_OUTPUT
echo "frontend_map_version=${FRONTEND_MAP_VERSION}" >> $GITHUB_OUTPUT
1 change: 0 additions & 1 deletion .github/workflows/r-frontend_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
with:
path: |
src/frontend/main/node_modules
src/frontend/fmtm_openlayer_map/node_modules
keys: node-modules-${{ env.cache_id }}
restore-keys: |
node-modules-
Expand Down
24 changes: 0 additions & 24 deletions docker-compose.noodk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,27 +90,3 @@ services:
networks:
- fmtm-dev
restart: unless-stopped

ui-map:
image: "ghcr.io/hotosm/fmtm/frontend/map:debug"
build:
context: src/frontend
dockerfile: debug.dockerfile
args:
APP_NAME: fmtm_openlayer_map
API_URL: ${URL_SCHEME}://${API_URL}
FRONTEND_MAIN_URL: ${URL_SCHEME}://${FRONTEND_MAIN_URL}
container_name: fmtm_map
depends_on:
- api
volumes:
- ./src/frontend/fmtm_openlayer_map:/app
- /app/node_modules/
environment:
- API_URL=${URL_SCHEME}://${API_URL}
- FRONTEND_MAIN_URL=${URL_SCHEME}://${FRONTEND_MAIN_URL}
ports:
- "8082:8082"
networks:
- fmtm-dev
restart: unless-stopped

0 comments on commit 1010e20

Please sign in to comment.