circlesubi / api-server Goto Github PK
View Code? Open in Web Editor NEWThe API Server of CirclesUBI
License: GNU Affero General Public License v3.0
The API Server of CirclesUBI
License: GNU Affero General Public License v3.0
Describe the bug
The api-server
migrations declared in
and executed in
api-server/Dockerfile.migrations
Line 20 in 19c70b9
are manually prepared for their execution environment
api-server/Dockerfile.migrations
Lines 13 to 15 in 19c70b9
and would not pick up newer migrations, which are not explicitly cared for in Dockerfile.migrations
. This is in contrast to the initialisation container of the local development environment, which improves on this with dynamically replacing environmental variables within https://github.com/CirclesUBI/land-local/blob/3cb9f3085b63d584eb63667723bdc35821c31fab/modules/api-db-init/seed.sh#L18
ls src/api-db-migrations/*.sql | xargs -I% sh -c 'psql ${CONNECTION_STRING_ROOT} << envsubst < %'
Additionally, a recent changes in the code have led to some drift between the migrations
container and its source SQL declarations, which results in all 0.1.504-fix1
rules not to be applied anymore.
To Reproduce
Steps to reproduce the behavior:
api-server
. Take example in the workload-*-api-server
manifests.0.1.504-fix1
missing in the logs of the initialisation container.Expected behavior
All migrations are loaded when initialising a database from them.
Additional context
We can consider this Dockerfile here as a base layer for the fixture installation in land-local
.
Is your feature request related to a problem? Please describe.
Node 16 LTS is determined to enter EOL on 11.09.2023.
Describe the solution you'd like
Migrate to Node 18 by September 11, 2023.
Describe alternatives you've considered
The alternative is to run from an unsupported code base.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.