Skip to content

Commit

Permalink
Merge pull request #8 from holywen/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
holywen authored Mar 20, 2024
2 parents 590f50a + 4035d2f commit e78443f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ tfpreFlightChecks: ## Run preflight checks for terraform according to getting-st
tfpreFlightChecks: guard-ROOT
@if [ "$(shell whoami)" != "$(BP_AGENT_USER)" ]; then printf $(MSG_WARN) "$(BP_AGENT_USER) user is not detected. Note that blueprints validations use the companion Blueprint Docker Agent available via: make dRun"; fi
@if [ ! -f blueprints/$(ROOT)/.auto.tfvars ]; then printf $(MSG_ERROR) "blueprints/$(ROOT)/.auto.tfvars file does not exist and it is required to store your own values"; exit 1; fi
@if ([ ! -f blueprints/$(ROOT)/k8s/flow_admin_secrets-values.yml ] && [ $(ROOT) == "02-at-scale" ]); then printf $(MSG_ERROR) "blueprints/$(ROOT)/flow_admin_secrets-values.yml file does not exist and it is required to store your secrets"; exit 1; fi
@if ([ ! -f blueprints/$(ROOT)/k8s/flow_db_secrets-values.yml ] && [ $(ROOT) == "02-at-scale" ]); then printf $(MSG_ERROR) "blueprints/$(ROOT)/flow_db_secrets-values.yml file does not exist and it is required to store your secrets"; exit 1; fi
$(eval USER_ID := $(shell aws sts get-caller-identity | grep UserId | cut -d"," -f 1 | xargs ))
@if [ "$(USER_ID)" == "" ]; then printf $(MSG_ERROR) "AWS Authention for CLI is not configured" && exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion blueprints/01-getting-started/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ output "cbcd_url" {

output "cbcd_password" {
description = "Command to get the admin password of Cloudbees CD"
value = "module.eks_blueprints_addon_cbcd.cbcd_password"
value = module.eks_blueprints_addon_cbcd.cbcd_password
}

output "acm_certificate_arn" {
Expand Down
2 changes: 1 addition & 1 deletion blueprints/02-at-scale/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ output "cbcd_url" {

output "cbcd_password" {
description = "command to get the admin password of Cloudbees CD"
value = "module.eks_blueprints_addon_cbcd.cbcd_password"
value = module.eks_blueprints_addon_cbcd.cbcd_password
}

output "acm_certificate_arn" {
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ output "cbcd_domain_name" {

output "cbcd_flowserver_pod" {
description = "Flow Server Pod for CloudBees CD Add-on."
value = "kubectl get pod -n ${helm_release.cloudbees_cd.namespace} flow-server"
value = "kubectl get pods -l app=flow-server -n ${helm_release.cloudbees_cd.namespace}"
}

0 comments on commit e78443f

Please sign in to comment.