Skip to content

Commit

Permalink
Release/2.2.0 (#154)
Browse files Browse the repository at this point in the history
* minor changes

* remove if duplicates in multiple cols (comma)

* remove multiple duplicated cols for stoptimes

* new app for utils with query_utils + jupyter test

* add utils app to settings

* minor formatting fixes

* variables for real table, col names

* new utils to filter in stoptimes

* use new utils to filter in stoptimes

* remove test inside file

* rename select_cols to select, standardization

* rename to cols_match_all, redability

* use function to query stop_id__all

* Informações sobre endpoint stoptimes

* update requirements and exec mode

* metadata changed

* clearify requirements

* update naming on creating application

* Update 'accessing application'

* fix list numbers

* minor updates

* project branches

* new error: pgadmin must be owner of database

* github project

* supercategory: managing the project

* how to create pr and card

* info about apps: utils

* add jupyter requirements

* unified router as home page

* minor refactor and comment

* filter stop_name

* document endpoint and params for stops

* [bugfix] Ajustar CI de staging

Alterando cd_stag para permitir que o deploy ocorra a partir de commits em qualquer branch release/*

* [bugfix] Ajustar CI de staging

Revertendo alteração.

* [bugfix] Ajustar CI de staging

Refazendo a alteração cd_stag para permitir que o deploy ocorra a partir de commits em qualquer branch release/*.
E realizando commit via PR

* remove duplicated line

* minor sdjustments

* use native django orm to get initial raw query.

* filter by stop_id or its children

* remove unecessary qu function

* TODO: filter stop_id or children invididually

* allow get more results

* new stop_id param info

* Revertendo alteração 

mantendo build apenas com commit em dev.

* ci - acertando o env para deploy em staging

Permitindo deploy de "hotfix/*" e "release/*" e acertando env.

* ci - Comenta o if em build

* trigger cd

* clearify condition between stop parent x child

* gtfs - remove unused tables

* feat(api): new endpoint for feedback of gtfs brt

Refs #150

* fix: allow any user to POST in feedback/brt

TODO: block POST for non auth users

* add stag to allow debug

* fix: get correct ip

* fix: get correct ip (try 2)

* fix: get correct ip (try 3)

* fix: get correct ip (try 4)

* Hotifx 2.2.1: Corrigir campos para duration, populate_db e README (#155)

* populate_db - dont abort (bug), yaml, merge tables

* feat: readme - populate_db, reorder and updates

* fix: arrival_time,departure_time use DurationField

refs #134

* fix: change type to charfield

To simplify and avoid more changes in code.

* remove utils/serializers.py

Not used.

* update comment

* update comment

---------

Co-authored-by: Fernanda Scovino <fscovinom@gmail.com>

---------

Co-authored-by: Raphael Rivas <raphaelrivas@hotmail.com>
Co-authored-by: Gabriel MOC <gmartinsoc@gmail.com>
Co-authored-by: hellcassius <caiorogerio.santos@gmail.com>
Co-authored-by: G. Perim <gsperim@gmail.com>
  • Loading branch information
5 people authored Mar 7, 2023
1 parent 5d7e724 commit fa2ae2d
Show file tree
Hide file tree
Showing 32 changed files with 1,363 additions and 381 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
build:
needs: [lint, tests]
name: Build and update deployments
if: github.ref == 'refs/heads/dev'
# if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/cd_stag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- "release/*"
- "hotfix/*"

env:
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
Expand Down Expand Up @@ -63,7 +64,6 @@ jobs:
build:
needs: [lint, tests]
name: Build and update deployments
if: github.ref == 'refs/heads/release/staging'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -106,6 +106,10 @@ jobs:
run: |-
envsubst < kustomization.yaml.tmpl > kustomization.yaml
- name: Set up Kustomize
run: |-
envsubst < kustomization.yaml.tmpl > kustomization.yaml
- name: Deploy
run: |-
./kustomize edit set image gcr.io/PROJECT_ID/IMAGE_API:TAG=gcr.io/$PROJECT_ID/$IMAGE:$GITHUB_SHA
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,5 @@ static/
secrets.y*ml
notebooks/

scripts/populate_db/csv_files/*
scripts/populate_db/fixtures/*
scripts/populate_db/logs/*
Loading

0 comments on commit fa2ae2d

Please sign in to comment.