Skip to content

Commit

Permalink
Remove unused file and docker release instruction(moved to internal) (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored May 11, 2019
1 parent f0a613b commit fca9176
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ go test -v <path> -run <TestSuite> -testify.m <TestSpercificTaskName>
# example:
go test -v github.com/uber/cadence/common/persistence -run TestCassandraPersistenceSuite -testify.m TestPersistenceStartWorkflow
```

21 changes: 1 addition & 20 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,4 @@ docker run -e CASSANDRA_CONSISTENCY=Quorum \ -- Default cassandra con
-e LOG_LEVEL=debug,info \ -- Logging level
ubercadence/server:<tag>
```
Update docker-compose.yml when releasing new version
=========================
0. Create new version tag in the repo
1. Build the new docker image and push into docker hub
```bash
docker build . -t ubercadence/server:THE.LATEST.VERSION --build-arg git_branch=vTHE.LATEST.VERSION
docker login
docker push ubercadence/server:THE.LATEST.VERSION
```
2. Remember to update the docker-compose.yml to use latest version and check in to master
```yaml
cadence:
image: ubercadence/server:THE.LATEST.VERSION
ports
```
3. Create the tar.gz file and upload to release page
```bash
cd github.com/uber/cadence/docker
tar -cvf docker.tar.gz *
```

15 changes: 0 additions & 15 deletions docker/auto-build-docker-image.sh

This file was deleted.

0 comments on commit fca9176

Please sign in to comment.