Skip to content

Commit

Permalink
Merge branch 'dev' into cli-token-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbochok authored Sep 4, 2020
2 parents c29ff25 + 78d0131 commit 14f6b10
Show file tree
Hide file tree
Showing 42 changed files with 3,089 additions and 3,390 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/promote-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
run: |
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASSWORD }}
zksync update-images
echo "::set-env name=IMAGE_TAG::$(f sh -c 'echo $IMAGE_TAG')"
echo "::set-env name=IMAGE_TAG::$(git rev-parse --short HEAD)"
- name: promote-to-gitlab
run: |
curl -X POST \
-F token=${{ secrets.GITLAB_TOKEN }} \
-F "ref=gitlab-deploy" \
-F "ref=master" \
-F "variables[SERVER_TAG]=$IMAGE_TAG" \
-F "variables[PROVER_TAG]=$IMAGE_TAG" \
-F "variables[EXPLORER_TAG]=$IMAGE_TAG" \
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# zkSync changelog

### zksync.js 0.6.5

- Support of fast withdrawals was added. Corresponding optional field was added to the object passed to the `withdrawFromSyncToEthereum` method
and `getTransactionFee` now accepts `FastWithdraw` fee type.

### zksync.js 0.6.3

- Bundled version for browsers added. File `dist/main.js` can be used in `<script>` html tag.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export CI_PIPELINE_ID ?= $(shell date +"%Y-%m-%d-%s")
export IMAGE_TAG = $(shell git rev-parse --short HEAD)
export SERVER_DOCKER_IMAGE ?=matterlabs/server:$(IMAGE_TAG)
export SERVER_DOCKER_IMAGE_LATEST ?=matterlabs/server:latest
export PROVER_DOCKER_IMAGE ?=matterlabs/prover:$(IMAGE_TAG)
Expand Down
3 changes: 0 additions & 3 deletions bin/cluster-ip

This file was deleted.

6 changes: 0 additions & 6 deletions bin/dc

This file was deleted.

19 changes: 0 additions & 19 deletions bin/do-clusters

This file was deleted.

76 changes: 0 additions & 76 deletions bin/do-configure

This file was deleted.

27 changes: 0 additions & 27 deletions bin/do-create

This file was deleted.

5 changes: 0 additions & 5 deletions bin/do-create-prover

This file was deleted.

7 changes: 0 additions & 7 deletions bin/do-curl

This file was deleted.

24 changes: 0 additions & 24 deletions bin/do-destory

This file was deleted.

19 changes: 0 additions & 19 deletions bin/do-loadbalancers

This file was deleted.

11 changes: 0 additions & 11 deletions bin/do-main-id

This file was deleted.

34 changes: 0 additions & 34 deletions bin/do-scale-single

This file was deleted.

7 changes: 0 additions & 7 deletions bin/do-sizes

This file was deleted.

9 changes: 0 additions & 9 deletions bin/k8s-apply

This file was deleted.

13 changes: 0 additions & 13 deletions bin/k8s-configmap

This file was deleted.

11 changes: 0 additions & 11 deletions bin/k8s-gen-resource-definitions

This file was deleted.

38 changes: 38 additions & 0 deletions bin/k8s-server-env-cm-from-env
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#!/bin/bash

USAGE='Usage: zksync k8s-server-env-cm-from-env
Used to generate server-env-custom configmap in the k8s cluster from etc/env file.
'

. .setup_env

set -e

echo "Update server-env-custom configmap for zskync env: $ZKSYNC_ENV"

update_configmap() {
kubectl delete configmap server-env-custom -n $1
kubectl create configmap server-env-custom --from-env-file=etc/env/$ZKSYNC_ENV.env -n $1
}

case $ZKSYNC_ENV in
dev)
echo "This command requires environment with k8s cluster" && exit 1
;;
development)
update_configmap dev
;;
prod)
update_configmap zksync
;;
stage | rinkeby | ropsten | breaking)
update_configmap $ZKSYNC_ENV
;;
-h|--h)
echo "$USAGE" && exit 0
;;
*)
echo "$USAGE" && exit 1
;;
esac
5 changes: 0 additions & 5 deletions bin/kube

This file was deleted.

6 changes: 0 additions & 6 deletions bin/kube-update-server-vars

This file was deleted.

5 changes: 0 additions & 5 deletions bin/promote-to.sh

This file was deleted.

5 changes: 0 additions & 5 deletions bin/provers-patch-deployments

This file was deleted.

8 changes: 0 additions & 8 deletions bin/restart-kube

This file was deleted.

Loading

0 comments on commit 14f6b10

Please sign in to comment.