Skip to content

Commit

Permalink
Merge pull request #2501 from HHS/TTAHUB-3613/admin-build-info2
Browse files Browse the repository at this point in the history
[TTAHUB-3613] fix merge issue
  • Loading branch information
GarrettEHill authored Nov 27, 2024
2 parents bac8e5e + 9ca3a55 commit f52ae0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,19 +250,11 @@ commands:
build_branch:
description: "The branch of the build being deployed"
type: string
default: ${CIRCLE_BRANCH}
default: << pipeline.git.branch >>
build_commit:
description: "The commit of the build being deployed"
type: string
default: ${CIRCLE_SHA1}
build_number:
description: "The number of the build being deployed"
type: string
default: ${CIRCLE_BUILD_NUM}
build_timestamp:
description: "The number of the build being deployed"
type: string
default: $(date +"%Y-%m-%d %H:%M:%S")
default: << pipeline.git.revision >>
auth_client_id:
description: "Name of CircleCi project environment variable that
holds authentication client id, a required application variable"
Expand Down Expand Up @@ -364,6 +356,7 @@ commands:
- run:
name: Push application with deployment vars
command: |
set -x
cf push \
--vars-file << parameters.deploy_config_file >> \
--var AUTH_CLIENT_ID=${<< parameters.auth_client_id >>} \
Expand All @@ -389,10 +382,10 @@ commands:
--var ITAMS_MD_USERNAME=${<< parameters.itams_md_username >>} \
--var ITAMS_MD_PASSWORD=${<< parameters.itams_md_password >>} \
--var SMARTSHEET_ACCESS_TOKEN=${<< parameters.smartsheet_access_token >>} \
--var BUILD_BRANCH=${<< parameters.build_branch >>} \
--var BUILD_COMMIT=${<< parameters.build_commit >>} \
--var BUILD_NUMBER=${<< parameters.build_number >>} \
--var BUILD_TIMESTAMP=${<< parameters.build_timestamp >>}
--var BUILD_BRANCH=<< parameters.build_branch >> \
--var BUILD_COMMIT=<< parameters.build_commit >> \
--var BUILD_NUMBER=<< pipeline.number >> \
--var BUILD_TIMESTAMP="$(date +"%Y-%m-%d %H:%M:%S")"
# - run:
# name: Push maintenance application
# command: |
Expand Down Expand Up @@ -672,7 +665,7 @@ parameters:
default: "kw-unsafe-inline"
type: string
sandbox_git_branch: # change to feature branch to test deployment
default: "mb/TTAHUB-3483/checkbox-to-activity-reports"
default: "TTAHUB-3613/admin-build-info2"
type: string
prod_new_relic_app_id:
default: "877570491"
Expand Down
4 changes: 4 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ applications:
SIMILARITY_ENDPOINT: ((SIMILARITY_ENDPOINT))
SMARTSHEET_ENDPOINT: ((SMARTSHEET_ENDPOINT))
SMARTSHEET_ACCESS_TOKEN: ((SMARTSHEET_ACCESS_TOKEN))
BUILD_BRANCH: ((BUILD_BRANCH))
BUILD_COMMIT: ((BUILD_COMMIT))
BUILD_NUMBER: ((BUILD_NUMBER))
BUILD_TIMESTAMP: ((BUILD_TIMESTAMP))
services:
- ttahub-((env))
- ttahub-redis-((env))
Expand Down

0 comments on commit f52ae0c

Please sign in to comment.