-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Support For RHEL and Oracle AMI Tests And Upload Integration Test…
- Loading branch information
1 parent
0c6d2dd
commit 49d5264
Showing
8 changed files
with
155 additions
and
23 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
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,13 @@ | ||
Instance assumptions | ||
|
||
1. docker | ||
1. starts on start up | ||
2. does not require sudo | ||
2. docker-compose | ||
3. golang | ||
4. openssl | ||
5. git | ||
6. make | ||
7. rpm-build (on centos8 based os -rhel8 ol8-) | ||
8. aws-cli | ||
9. CloudWatchAgentServerRole is attached |
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,22 @@ | ||
# You can use this script to install all required deps for integration testing to a centos8 based linux (rhel8 ol8) | ||
sudo yum install -y yum-utils | ||
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | ||
sudo yum install -y git make rpm-build nano docker-ce docker-ce-cli containerd.io wget | ||
sudo systemctl start docker | ||
# sudo groupadd docker on rhel this is already added | ||
sudo usermod -aG docker $USER | ||
newgrp docker | ||
sudo systemctl enable docker.service | ||
sudo systemctl enable containerd.service | ||
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | ||
sudo chmod +x /usr/local/bin/docker-compose | ||
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose | ||
docker-compose --version | ||
wget https://dl.google.com/go/go1.17.linux-amd64.tar.gz | ||
sudo tar -C /usr/local -xzf go1.17.linux-amd64.tar.gz | ||
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bashrc | ||
source ~/.bashrc | ||
# assume open ssl is installed by default | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
unzip awscliv2.zip | ||
sudo ./aws/install |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
provider "aws" { | ||
access_key = var.aws_access_key | ||
secret_key = var.aws_secret_access_key | ||
region = var.region | ||
} |
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