Skip to content

Commit

Permalink
Update examples' source and release.sh sed
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Aug 26, 2019
1 parent 1e37fa3 commit 881efd4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions examples/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
}

module "aws" {
source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//aws"
source = "git::https://github.com/ComputeCanada/magic_castle.git//aws"

cluster_name = "phoenix"
domain = "calculquebec.cloud"
Expand Down Expand Up @@ -51,7 +51,7 @@ output "public_ip" {

## Uncomment to register your domain name with CloudFlare
# module "dns" {
# source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//dns/cloudflare"
# source = "git::https://github.com/ComputeCanada/magic_castle.git//dns/cloudflare"
# name = module.aws.cluster_name
# domain = module.aws.domain
# public_ip = module.aws.ip
Expand Down
4 changes: 2 additions & 2 deletions examples/azure/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
}

module "azure" {
source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//azure"
source = "git::https://github.com/ComputeCanada/magic_castle.git//azure"

cluster_name = "phoenix"
domain = "calculquebec.cloud"
Expand Down Expand Up @@ -54,7 +54,7 @@ output "public_ip" {

## Uncomment to register your domain name with CloudFlare
# module "dns" {
# source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//dns/cloudflare"
# source = "git::https://github.com/ComputeCanada/magic_castle.git//dns/cloudflare"
# name = module.azure.cluster_name
# domain = module.azure.domain
# public_ip = module.azure.ip
Expand Down
4 changes: 2 additions & 2 deletions examples/gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
}

module "gcp" {
source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//gcp"
source = "git::https://github.com/ComputeCanada/magic_castle.git//gcp"

cluster_name = "phoenix"
domain = "calculquebec.cloud"
Expand Down Expand Up @@ -56,7 +56,7 @@ output "public_ip" {

## Uncomment to register your domain name with CloudFlare
# module "dns" {
# source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//dns/cloudflare"
# source = "git::https://github.com/ComputeCanada/magic_castle.git//dns/cloudflare"
# name = module.gcp.cluster_name
# domain = module.gcp.domain
# public_ip = module.gcp.ip
Expand Down
4 changes: 2 additions & 2 deletions examples/openstack/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
}

module "openstack" {
source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//openstack"
source = "git::https://github.com/ComputeCanada/magic_castle.git//openstack"

cluster_name = "phoenix"
domain = "calculquebec.cloud"
Expand Down Expand Up @@ -50,7 +50,7 @@ output "public_ip" {

## Uncomment to register your domain name with CloudFlare
# module "dns" {
# source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//dns/cloudflare"
# source = "git::https://github.com/ComputeCanada/magic_castle.git//dns/cloudflare"
# name = module.openstack.cluster_name
# domain = module.openstack.domain
# public_ip = module.openstack.ip
Expand Down
4 changes: 2 additions & 2 deletions examples/ovh/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ terraform {
}

module "ovh" {
source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//ovh"
source = "git::https://github.com/ComputeCanada/magic_castle.git//ovh"

cluster_name = "phoenix"
domain = "calculquebec.cloud"
Expand Down Expand Up @@ -50,7 +50,7 @@ output "public_ip" {

## Uncomment to register your domain name with CloudFlare
# module "dns" {
# source = "git::ssh://[email protected]/magic_castle/slurm_cloud.git//dns/cloudflare"
# source = "git::https://github.com/ComputeCanada/magic_castle.git//dns/cloudflare"
# name = module.ovh.cluster_name
# domain = module.ovh.domain
# public_ip = module.ovh.ip
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ for provider in "${CLOUD[@]}"; do
cp -rf cloud-init/*.yaml $cur_folder/$provider/cloud-init/
cp -rf dns $cur_folder
cp examples/$provider/main.tf $cur_folder
sed -i '' 's;git::ssh://[email protected]/magic_castle/slurm_cloud.git//;./;g' $cur_folder/main.tf
sed -i '' 's;git::https://github.com/ComputeCanada/magic_castle.git//;./;g' $cur_folder/main.tf
sed -i '' "s;default = \"master\";default = \"$PUPPET_REV\";" $cur_folder/$provider/variables.tf
cp LICENSE $cur_folder
cp $provider/README.md $cur_folder
Expand Down

0 comments on commit 881efd4

Please sign in to comment.