Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Scalar Terraform is a set of terraform modules and provisioing scritps that can
* [Terraform >= 0.12.x](https://www.terraform.io/downloads.html)
* [Ansible >= 2.8.x](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
* Cloud provider CLI tools such as `aws` and `az` (they need to be configured with credentials)
* Docker Engine (with access to `scalarlabs/scalar-ledger` docker registry)
* Docker Engine (with access to `ghcr.io/scalar-labs/scalar-ledger` docker registry)
* `scalar-ledger` is available to only our partners and customers at the moment.

## Getting Started
Expand All @@ -26,7 +26,7 @@ The modules directory is where the terraform modules are located. The provider s
#### [Provision](provision)
The provision directory is where Ansible Playbooks are located. The Ansible Playbooks are designed to run on the most common Linux distributions.

## Contributing
## Contributing
This repo is mainly maintained by the Scalar Engineering Team, but of course we appreciate any help.

* For asking questions, finding answers and helping other users, please go to [stackoverflow](https://stackoverflow.com/) and use [scalardl](https://stackoverflow.com/questions/tagged/scalardl) tag.
Expand Down
16 changes: 8 additions & 8 deletions docs/BlueGreenDeploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ This module manages two Scalar DL clusters, blue and green. At any given time on
scalardl = {
blue_resource_count = "3"
blue_image_tag = "2.0.1"
blue_image_name = "scalarlabs/scalar-ledger"
blue_image_name = "ghcr.io/scalar-labs/scalar-ledger"
blue_discoverable_by_envoy = "true"
green_resource_count = "0"
green_image_tag = "2.0.1"
green_image_name = "scalarlabs/scalar-ledger"
green_image_name = "ghcr.io/scalar-labs/scalar-ledger"
green_discoverable_by_envoy = "false"
}
```
Expand All @@ -34,11 +34,11 @@ scalardl = {
scalardl = {
blue_resource_count = "3"
blue_image_tag = "2.0.1"
blue_image_name = "scalarlabs/scalar-ledger"
blue_image_name = "ghcr.io/scalar-labs/scalar-ledger"
blue_discoverable_by_envoy = "true"
green_resource_count = "3"
green_image_tag = "2.1.0"
green_image_name = "scalarlabs/scalar-ledger"
green_image_name = "ghcr.io/scalar-labs/scalar-ledger"
green_discoverable_by_envoy = "true" # <- this is set to `true`
}
```
Expand All @@ -49,11 +49,11 @@ This makes all the requests from Envoy will go to green eventually.
scalardl = {
blue_resource_count = "3"
blue_image_tag = "2.0.1"
blue_image_name = "scalarlabs/scalar-ledger"
blue_image_name = "ghcr.io/scalar-labs/scalar-ledger"
blue_discoverable_by_envoy = "false" # <- this is set to `false`
green_resource_count = "3"
green_image_tag = "2.1.0"
green_image_name = "scalarlabs/scalar-ledger"
green_image_name = "ghcr.io/scalar-labs/scalar-ledger"
green_discoverable_by_envoy = "true"
}
```
Expand All @@ -64,11 +64,11 @@ It should be done after making sure that requests from Envoy are not going to bl
scalardl = {
blue_resource_count = "0" # <- this is set to 0
blue_image_tag = "2.0.1"
blue_image_name = "scalarlabs/scalar-ledger"
blue_image_name = "ghcr.io/scalar-labs/scalar-ledger"
blue_discoverable_by_envoy = "false"
green_resource_count = "3"
green_image_tag = "2.1.0"
green_image_name = "scalarlabs/scalar-ledger"
green_image_name = "ghcr.io/scalar-labs/scalar-ledger"
green_discoverable_by_envoy = "true"
}
```
4 changes: 2 additions & 2 deletions docs/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ pip install --user ansible
### Docker
* Docker install instructions can be found here: https://docs.docker.com/install/

#### Post Install Steps (Make sure you connect to DockerHub)
#### Post Install Steps (Make sure you connect to GitHub Container Registry)
```console
docker login
echo $GITHUB_PAT | docker login ghcr.io -u $GITHUB_USER --password-stdin
```

### AWS CLI (If using AWS)
Expand Down
4 changes: 2 additions & 2 deletions modules/aws/scalardl/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ locals {
resource_root_volume_size = 64
blue_resource_count = 3
blue_image_tag = "2.1.0"
blue_image_name = "scalarlabs/scalar-ledger"
blue_image_name = "ghcr.io/scalar-labs/scalar-ledger"
blue_discoverable_by_envoy = true
green_resource_count = 0
green_image_tag = "2.1.0"
green_image_name = "scalarlabs/scalar-ledger"
green_image_name = "ghcr.io/scalar-labs/scalar-ledger"
green_discoverable_by_envoy = false
target_port = 50051
privileged_target_port = 50052
Expand Down
4 changes: 2 additions & 2 deletions modules/azure/scalardl/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ locals {
resource_root_volume_size = 64
blue_resource_count = 3
blue_image_tag = "2.1.0"
blue_image_name = "scalarlabs/scalar-ledger"
blue_image_name = "ghcr.io/scalar-labs/scalar-ledger"
blue_subnet_id = var.network.blue_subnet_id
blue_discoverable_by_envoy = true
blue_enable_accelerated_networking = false
green_resource_count = 0
green_image_tag = "2.1.0"
green_image_name = "scalarlabs/scalar-ledger"
green_image_name = "ghcr.io/scalar-labs/scalar-ledger"
green_subnet_id = var.network.green_subnet_id
green_discoverable_by_envoy = false
green_enable_accelerated_networking = false
Expand Down
6 changes: 3 additions & 3 deletions modules/universal/ca/provision/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ services:
# they start up at the same time (by commands like `docker-compose up`),
# they both attempt to generate the same missing certificate files, which
# results in a race condition.
image: scalarlabs/scalar-cfssl:1.0.0
image: ghcr.io/scalar-labs/scalar-cfssl:1.0.0
volumes:
- ca_data:/cfssl/data
command: /bin/true

cfssl-serve:
image: scalarlabs/scalar-cfssl:1.0.0
image: ghcr.io/scalar-labs/scalar-cfssl:1.0.0
volumes:
- ca_data:/cfssl/data
depends_on:
Expand All @@ -27,7 +27,7 @@ services:
restart: always

cfssl-ocspserve:
image: scalarlabs/scalar-cfssl:1.0.0
image: ghcr.io/scalar-labs/scalar-cfssl:1.0.0
volumes:
- ca_data:/cfssl/data
depends_on:
Expand Down
4 changes: 2 additions & 2 deletions modules/universal/cassy/provision/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.7'
version: "3.7"

services:
cassy:
image: scalarlabs/cassy:${IMAGE_TAG}
image: ghcr.io/scalar-labs/cassy:${IMAGE_TAG}
ports:
- "20051:20051"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion modules/universal/scalardl/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ variable "scalardl_image_tag" {
}

variable "schema_loader_image" {
default = "scalarlabs/scalardl-schema-loader:1.3.0"
default = "ghcr.io/scalar-labs/scalardl-schema-loader:1.3.0"
description = "The docker image for the schema loader"
}

Expand Down