Skip to content

Commit

Permalink
Update docker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin authored Dec 29, 2024
1 parent 87cb537 commit bdb1453
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,19 @@ jobs:
- name: Setup ccache
run: docker-compose run --rm mongo_grpc_service_template-container bash -c 'ccache -M 2.0GB && ccache -s'

- name: Install mongo
run: |
docker-compose run --entrypoint="" --rm mongo_grpc_service_template-container bash -c '
wget -qO- https://pgp.mongodb.com/server-7.0.asc | gpg --dearmor | tee /usr/share/keyrings/mongodb-server-7.0.gpg >/dev/null
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" \
| tee -a /etc/apt/sources.list.d/mongodb-org-7.0.list
apt update
apt install -y mongodb-org mongodb-mongosh
'
- name: Cmake
run: make docker-cmake-release

- name: Build
run: make docker-build-release

- name: Run tests
run: make docker-test-release
run: |
docker-compose run --entrypoint="" --rm mongo_grpc_service_template-container bash -c '
#wget -qO- https://pgp.mongodb.com/server-7.0.asc | gpg --dearmor | tee /usr/share/keyrings/mongodb-server-7.0.gpg >/dev/null
#echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" \
# | tee -a /etc/apt/sources.list.d/mongodb-org-7.0.list
apt update
apt install -y mongodb-org mongodb-mongosh
./tests/run_as_user.sh make test-release
'

0 comments on commit bdb1453

Please sign in to comment.