first commit

This commit is contained in:
Ramiro Paz
2026-03-11 10:54:11 -03:00
parent bfeecb334a
commit aa0525a78c
85 changed files with 14079 additions and 0 deletions

99
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,99 @@
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: golang:1.24
default:
before_script:
- go clean -modcache
- git config --global url."https://$USERNAME:$MULTIDB_ACCESS_TOKEN@gitlab.com/quantex-exchange".insteadOf "https://gitlab.com/quantex-exchange"
- export GOPRIVATE="quantex.com.ar/multidb"
- go get quantex.com.ar/multidb@v1.2.2
- make gogenerate
- make swag
- go mod vendor
artifacts:
when: always
paths:
- qfixpt.gz
stages:
- lint
- build
regular:
stage: build
needs: []
except:
- master
- develop
- demo
- open-demo
script:
- go clean -cache
- make gogenerate
- make swag
- make test
- make check
- make build
- mv build/out/distribution/qfixpt.gz .
develop:
stage: build
needs: []
only:
- develop
script:
- make gogenerate
- make swag
- make test
- make only-build
- mv build/out/distribution/qfixpt.gz .
environment:
name: dev
url: https://dev.quantex.com.ar
master:
stage: build
needs: []
only:
- master
script:
- go clean -cache
- make gogenerate
- make swag
- make test
- make build
- mv build/out/distribution/qfixpt.gz .
environment:
name: prod
url: https://app.quantex.com.ar
demo:
stage: build
needs: []
only:
- demo
script:
- make test
- make only-build
- apt-get update
- apt-get install sshpass
- mv build/out/distribution/qfixpt.gz .
environment:
name: demo
url: https://demo.quantex.com.ar
open-demo:
stage: build
needs: []
only:
- open-demo
script:
- make test
- make only-build
- apt-get update
- apt-get install sshpass
- mv build/out/distribution/qfixpt.gz .
environment:
name: open-demo
url: https://open-demo.quantex.com.ar