-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat conan: do not use CPM in conan, test more services
------------------------ Note: by creating a PR or an issue you automatically agree to the CLA. See [CONTRIBUTING.md](https://github.com/userver-framework/userver/blob/develop/CONTRIBUTING.md). Feel free to remove this note, the agreement holds. Tests: протестировано CI Pull Request resolved: #835 commit_hash:893bb174d88f39bf2fdbcb76c6f74c51ca300036
- Loading branch information
Showing
11 changed files
with
67 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,13 +31,29 @@ jobs: | |
- name: Install Ubuntu packages | ||
if: matrix.os == 'ubuntu-22.04' | ||
run: | | ||
sudo apt-get install -y gcc g++ cmake wget git python3 python3-pip python3-venv postgresql redis clang-format | ||
sudo apt update | ||
sudo apt install -y \ | ||
gcc g++ cmake wget git clang-format \ | ||
python3 python3-pip python3-venv | ||
- name: Install test dependencies | ||
if: matrix.os == 'ubuntu-22.04' | ||
run: | | ||
wget -qO- https://pgp.mongodb.com/server-7.0.asc | sudo gpg --dearmor | sudo 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" \ | ||
| sudo tee -a /etc/apt/sources.list.d/mongodb-org-7.0.list | ||
sudo apt update | ||
sudo apt install -y postgresql redis mongodb-org mongodb-mongosh | ||
sudo ./scripts/kafka/ubuntu_install_kafka.sh | ||
./scripts/rabbitmq/ubuntu_install_rabbitmq_server.sh | ||
- name: Install MacOS packages | ||
if: matrix.os == 'macos-latest' | ||
run: | | ||
brew update | ||
brew install postgresql redis clang-format | ||
brew tap mongodb/brew | ||
brew install clang-format postgresql redis kafka rabbitmq mongodb-community | ||
brew install [email protected] | ||
- name: Install common packages | ||
|
@@ -64,9 +80,14 @@ jobs: | |
chaotic_service \ | ||
embedded_files \ | ||
grpc_service \ | ||
otlp_service \ | ||
hello_service \ | ||
https_service \ | ||
postgres_service \ | ||
redis_service \ | ||
kafka_service \ | ||
rabbitmq_service \ | ||
mongo_service \ | ||
s3api \ | ||
; do | ||
mv conanfile.py $SAMPLE/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh | ||
|
||
sudo apt install -y default-jre | ||
|
||
curl https://dlcdn.apache.org/kafka/3.8.0/kafka_2.13-3.8.0.tgz -o kafka.tgz | ||
mkdir -p /etc/kafka | ||
tar xf kafka.tgz --directory=/etc/kafka | ||
cp -r /etc/kafka/kafka_2.13-3.8.0/* /etc/kafka/ | ||
rm -rf /etc/kafka/kafka_2.13-3.8.0 | ||
rm kafka.tgz |