-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update scripts/install.sh to install deps
- Loading branch information
1 parent
fafa45d
commit 4bc7bb1
Showing
13 changed files
with
88 additions
and
41 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 |
---|---|---|
|
@@ -36,3 +36,4 @@ terraform.rc | |
google-cloud-cli-* | ||
google-cloud-sdk/ | ||
*.plan | ||
awscliv2.zip |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
#! /bin/bash | ||
|
||
# Install Terraform | ||
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common | ||
wget -O- https://apt.releases.hashicorp.com/gpg | \ | ||
gpg --dearmor | \ | ||
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg | ||
gpg --no-default-keyring \ | ||
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \ | ||
--fingerprint | ||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \ | ||
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \ | ||
sudo tee /etc/apt/sources.list.d/hashicorp.list | ||
sudo apt update | ||
sudo apt-get install terraform | ||
|
||
# Install the Azure CLI | ||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | ||
|
||
# Install the AWS CLI | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
unzip awscliv2.zip | ||
sudo ./aws/install | ||
|
||
# Install the Google Cloud CLI | ||
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-455.0.0-linux-x86_64.tar.gz | ||
tar -xf google-cloud-cli-455.0.0-linux-x86_64.tar.gz | ||
./google-cloud-sdk/install.sh | ||
|
||
# Clean Up | ||
rm -rf awscliv2.zip ./aws google-cloud-cli-455.0.0-linux-x86_64.tar.gz | ||
|
||
# Refresh bash profile | ||
source ~/.bashrc |
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,4 @@ | ||
# S3 Bucket for Actions data | ||
resource "aws_s3_bucket" "this" { | ||
bucket = random_string.unique_name.result | ||
} |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
GHES_INSTANCE_NAME = "" | ||
GHES_URL = "" | ||
GHES_INSTANCE_NAME = "" | ||
GHES_URL = "" | ||
AZURE_SUBSCRIPTION_ID = "" | ||
GCP_PROJECT_ID = "" | ||
AWS_ACCESS_KEY = "" | ||
AWS_SECRET_KEY = "" | ||
GCP_PROJECT_ID = "" |
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,19 +1,19 @@ | ||
# The hostname of the GHES instance (e.g. my-ghes-instance) | ||
variable "GHES_INSTANCE_NAME" { | ||
type = string | ||
type = string | ||
description = "Name of the GHES instance (e.g. my-ghes-instance)" | ||
} | ||
|
||
# The URL of the GHES instance (e.g. my-ghes-instance.com) | ||
variable "GHES_URL" { | ||
type = string | ||
type = string | ||
description = "URL of the GHES instance without 'https://' (e.g. my-ghes-instance.com)" | ||
} | ||
|
||
# ID of the Azure subscription to use | ||
variable "AZURE_SUBSCRIPTION_ID" { | ||
type = string | ||
type = string | ||
description = "ID of the Azure subscription to use" | ||
} | ||
|
||
# ID of the Google Cloud project to use | ||
variable "GCP_PROJECT_ID" { | ||
type = string | ||
type = string | ||
description = "ID of the Google Cloud project to use" | ||
} |