mirror of
https://github.com/actions/runner-images.git
synced 2025-12-12 20:26:49 +00:00
* added mongodb postgres java tests * fixed 1.7 and 12 Java on Ubuntu 20 * several improvments * removed update-environment function * add etc-environment import * removed sourcing invoke-tests Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
18 lines
664 B
Bash
18 lines
664 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: homebrew.sh
|
|
## Desc: Installs Mongo DB
|
|
################################################################################
|
|
|
|
# Source the helpers
|
|
source $HELPER_SCRIPTS/os.sh
|
|
|
|
# Install Mongo DB
|
|
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
|
|
version=$(getOSVersionLabel)
|
|
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu $version/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
|
|
sudo apt-get update
|
|
sudo apt-get install -y mongodb-org
|
|
|
|
invoke_tests "Databases" "MongoDB"
|