Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preprod to Main #325

Merged
merged 45 commits into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
104119b
Update README.md
sprotest Dec 16, 2022
1d4d920
Alternative chains support (#281)
tafonina Dec 16, 2022
5dccd27
update readme with chains list
tafonina Dec 16, 2022
c82051f
test negative scenario
tafonina Dec 16, 2022
1f20476
return goerli cobfig
tafonina Dec 16, 2022
3f3d883
remove console metamask error (#286)
tafonina Dec 19, 2022
c029847
Merge branch 'develop' into preprod
tafonina Jan 25, 2023
eb2d4a0
Merge pull request #1 from ProxeusApp/preprod
sprotest Jan 25, 2023
33f810e
Update README.md
sprotest Jan 31, 2023
a890af1
add console logs on default accounts setup and on sign request
Feb 3, 2023
42938d9
Merge pull request #3 from sprotest/feature/test-autodeploy
tafonina Feb 3, 2023
3edb833
Test autodeploy flow (#290)
tafonina Feb 3, 2023
eb86793
add more static js to Cache-Control
epadalkin Feb 21, 2023
20e0707
Merge pull request #4 from epadalkin/feature/fix_load_preview
tafonina Feb 22, 2023
e84518f
Merge pull request #5 from ProxeusApp/preprod
tafonina Feb 22, 2023
942a06b
Fix preview document bug (#295)
tafonina Feb 22, 2023
e5ad6bc
fix open prevuew
epadalkin Feb 23, 2023
1d5722f
Merge pull request #6 from epadalkin/feature/fix_load_preview
tafonina Feb 23, 2023
8a26ab7
Update docker-compose-cloud.override.yml
sprotest Feb 24, 2023
5fe455a
Merge pull request #7 from ProxeusApp/preprod
tafonina Feb 24, 2023
b4a3e86
Update docker-compose-cloud.override.yml
sprotest Feb 24, 2023
cbfc147
The Watchtower service will never be used (#296)
sprotest Feb 24, 2023
2cd2ee7
back merge master to preprod
Mar 31, 2023
7513ff3
Merge pull request #8 from ProxeusApp/preprod
tafonina Mar 31, 2023
17eca00
add configuration for polygon and update addresses
Mar 31, 2023
448e920
Merge pull request #9 from sprotest/feature/polygon
tafonina Mar 31, 2023
045c662
update configs atrribute for polygon
Mar 31, 2023
82d3a82
Merge pull request #10 from sprotest/feature/polygon
tafonina Mar 31, 2023
5e6e35f
Add polygon configs (#301)
tafonina Apr 3, 2023
6691fb5
Documentation changes, Yarn update (#303)
loleg Jun 8, 2023
0d6bccc
update support for sopelia network in the code and docs
Jun 9, 2023
0d70290
Merge pull request #11 from sprotest/feature/sepolia-support
tafonina Jun 9, 2023
a24335a
Merge branch 'develop' into preprod
tafonina Jun 9, 2023
c7d7858
Merge branch 'main' into preprod
tafonina Jun 9, 2023
f7ab5b0
update go mod
Jun 9, 2023
6547457
Light script for Docker
loleg Jun 13, 2023
07edf75
Network usage notes
loleg Jun 13, 2023
31d7c8a
Go modules updated
loleg Jun 13, 2023
6482176
Feature/fix web3 method from ascii (#312)
tafonina Jun 13, 2023
b183b2a
Update from ascii call in web3 (#313)
tafonina Jun 13, 2023
f83ddf7
Update CircleCI build config
loleg Jun 14, 2023
5d9ec48
Merge branch 'preprod' of github.com:proxeusapp/proxeus-core into pre…
loleg Jun 14, 2023
9df4364
yarn lock conflicts resolve
Jul 20, 2023
d740ae9
Update Go modules (#323)
loleg Aug 18, 2023
36e4d81
Merge branch 'main' into preprod
tafonina Aug 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 3 additions & 93 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,60 +219,9 @@ jobs:
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $CONTAINER_IMAGE_NAME:latest

publish-staging:
executor: docker-publisher
steps:
- attach_workspace:
at: /tmp/workspace
- setup_remote_docker
- run:
name: Load archived Docker image
command: docker load -i /tmp/workspace/image.tar
- run:
name: Tag staging docker image
command: docker tag $CONTAINER_IMAGE_NAME $CONTAINER_IMAGE_NAME:staging
- run:
name: Publish staging Docker Image to Docker Hub
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $CONTAINER_IMAGE_NAME:staging

publish-demo:
executor: docker-publisher
steps:
- attach_workspace:
at: /tmp/workspace
- setup_remote_docker
- run:
name: Load archived Docker image
command: docker load -i /tmp/workspace/image.tar
- run:
name: Tag demo docker image
command: docker tag $CONTAINER_IMAGE_NAME $CONTAINER_IMAGE_NAME:demo
- run:
name: Publish demo Docker Image to Docker Hub
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $CONTAINER_IMAGE_NAME:demo

publish-handelsregister:
executor: docker-publisher
steps:
- attach_workspace:
at: /tmp/workspace
- setup_remote_docker
- run:
name: Load archived Docker image
command: docker load -i /tmp/workspace/image.tar
- run:
name: Tag handelsregister docker image
command: docker tag $CONTAINER_IMAGE_NAME $CONTAINER_IMAGE_NAME:handelsregister
- run:
name: Publish handelsregister Docker Image to Docker Hub
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
docker push $CONTAINER_IMAGE_NAME:handelsregister
name: Tag the latest Docker release with current Git version
command: docker tag $CONTAINER_IMAGE_NAME:$CIRCLE_TAG $CONTAINER_IMAGE_NAME:latest

workflows:
version: 2
Expand Down Expand Up @@ -315,43 +264,4 @@ workflows:
- build-docker-image
filters:
branches:
only: main
- approve-staging:
type: approval
requires:
- build-docker-image
filters:
branches:
only: main
- publish-staging:
requires:
- approve-staging
filters:
branches:
only: main
- approve-demo:
type: approval
requires:
- publish-staging
filters:
branches:
only: main
- publish-demo:
requires:
- approve-demo
filters:
branches:
only: main
- approve-handelsregister:
type: approval
requires:
- publish-staging
filters:
branches:
only: main
- publish-handelsregister:
requires:
- approve-handelsregister
filters:
branches:
only: main
only: main
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ coverage:
.PHONY: clean
clean:
cd artifacts && rm -rf `ls . | grep -v 'cache'`
echo "Clearing the JS cache"
cd ui && yarn cache clean && cd ..
echo "Clearing the Go module cache"
go clean -modcache

.PHONY: run
run: server
Expand Down
4 changes: 2 additions & 2 deletions docs/build_docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ docker-compose -f docker-compose.yml -f docker-compose-cloud.override.yml
There is also a Docker Compose configure in one file with a 'minimal' Proxeus installation. The only extra nodes are 'mail-sender' and 'json-sender':

```
docker-compose -f docker-compose-light.yml
```
docker-compose -f docker-compose-light.yml up
```
12 changes: 9 additions & 3 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ dependencies:
2. [Install docker-compose](https://docs.docker.com/compose/install/)


You easily deploy Proxeus using Docker. The repository includes several `docker-compose` YAML files that can be
used to deploy the platform in different context:
You easily deploy Proxeus using Docker. The repository includes several `docker-compose` YAML files that can be used to deploy the platform in different context:

* `docker-compose.yml`
* `docker-compose.override.yml`
* `docker-compose-cloud-override.yml`

In each case you can then use the **logs** command to see the system status (with the useful `-f` parameter):

`docker-compose logs`

For more usage instructions, visit the [Docker Compose CLI reference](https://docs.docker.com/compose/reference/).


## Simple Docker Compose

This is the simplest method to experiment with Proxeus. This will start a local Proxeus platform
Expand Down Expand Up @@ -148,7 +154,7 @@ with the `docker-compose.yml` file as described in [Multiple Compose files](http
It will add the required configuration to deploy Proxeus on a hosted VM for example on Google Cloud or AWS,
including
* [nginx](https://hub.docker.com/r/jwilder/nginx-proxy/) reverse proxy,
* [letsencrypt ](https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/) HTTPS provider and
* [letsencrypt](https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/) HTTPS provider and
* [watchtower](https://hub.docker.com/r/v2tec/watchtower/) automatic container update.

Please refer to [Use Compose in production](https://docs.docker.com/compose/production/) for more information about
Expand Down
52 changes: 23 additions & 29 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ module github.com/ProxeusApp/proxeus-core
go 1.20

require (
github.com/DataDog/zstd v1.5.2 // indirect
github.com/SparkPost/gosparkpost v0.2.0
github.com/asdine/storm v0.0.0-20190418133842-e0f77eada154
github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b
github.com/cespare/cp v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.1
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/disintegration/imaging v1.6.2
github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3
github.com/ethereum/go-ethereum v1.12.0
github.com/dop251/goja v0.0.0-20230806174421-c933cf95e127
github.com/ethereum/go-ethereum v1.12.1
github.com/fatih/structs v1.1.0 // indirect
github.com/golang/mock v1.6.0
github.com/google/go-querystring v1.1.0 // indirect
Expand All @@ -22,20 +21,18 @@ require (
github.com/imkira/go-interpol v1.1.0 // indirect
github.com/labstack/gommon v0.4.0
github.com/mattn/go-runewidth v0.0.10 // indirect
github.com/onsi/gomega v1.27.8
github.com/onsi/gomega v1.27.10
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/pkg/errors v0.9.1
github.com/robertkrimen/otto v0.2.1
github.com/satori/go.uuid v1.2.0
github.com/stretchr/testify v1.8.4
github.com/tidwall/pretty v1.1.0 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
go.etcd.io/bbolt v1.3.7 // indirect
go.mongodb.org/mongo-driver v1.11.7
golang.org/x/crypto v0.10.0
golang.org/x/net v0.10.0
golang.org/x/crypto v0.12.0
golang.org/x/net v0.14.0
gopkg.in/gavv/httpexpect.v2 v2.15.0
)

Expand All @@ -47,33 +44,30 @@ require (
github.com/go-stack/stack v1.8.1 // indirect
github.com/gorilla/context v1.1.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/klauspost/compress v1.16.6 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/labstack/echo v3.3.10+incompatible
github.com/labstack/echo-contrib v0.15.0
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/prometheus/tsdb v0.10.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rjeczalik/notify v0.9.2 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/status-im/keycard-go v0.2.0 // indirect
github.com/tklauser/go-sysconf v0.3.11 // indirect
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/valyala/fasthttp v1.47.0 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/valyala/fasthttp v1.48.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
golang.org/x/image v0.8.0 // indirect
golang.org/x/image v0.11.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.30.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
)

require go.mongodb.org/mongo-driver v1.12.1

require (
github.com/ajg/form v1.5.1 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/deckarep/golang-set/v2 v2.3.0 // indirect
github.com/deckarep/golang-set/v2 v2.3.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-bindata/go-bindata v3.1.2+incompatible // indirect
Expand All @@ -82,10 +76,10 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/pprof v0.0.0-20230602150820-91b7bce49751 // indirect
github.com/google/pprof v0.0.0-20230808223545-4887780b67fb // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/securecookie v1.1.1 // indirect
github.com/holiman/uint256 v1.2.2 // indirect
github.com/holiman/uint256 v1.2.3 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/montanaflynn/stats v0.7.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
Expand All @@ -99,15 +93,15 @@ require (
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0 // indirect
github.com/yudai/gojsondiff v1.0.0 // indirect
github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect
github.com/yuin/goldmark v1.5.4 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/sync v0.2.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
golang.org/x/tools v0.9.1 // indirect
github.com/yuin/goldmark v1.4.13 // indirect
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
golang.org/x/tools v0.12.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/sourcemap.v1 v1.0.5 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
moul.io/http2curl v1.0.1-0.20190925090545-5cd742060b0e // indirect
)
Expand All @@ -117,4 +111,4 @@ replace (
github.com/labstack/echo-contrib => github.com/labstack/echo-contrib v0.0.0-20180222075343-7d9d9632a4aa // fix https://github.com/ProxeusApp/proxeus-core/issues/216
gopkg.in/gavv/httpexpect.v2 => github.com/gavv/httpexpect/v2 v2.2.0 // fix https://github.com/gavv/httpexpect/issues/60
gopkg.in/urfave/cli.v1 => github.com/urfave/cli v1.22.5 // fix https://github.com/ProxeusApp/proxeus-core/issues/213
)
)
Loading