Skip to content

Commit

Permalink
Merge pull request #501 from raft-tech/release/v3.2.0-Sprint-90
Browse files Browse the repository at this point in the history
Release/v3.2.0 sprint 90
  • Loading branch information
ADPennington authored Jan 19, 2024
2 parents 5cb3563 + d5a44ff commit 537356f
Show file tree
Hide file tree
Showing 120 changed files with 10,470 additions and 2,344 deletions.
16 changes: 3 additions & 13 deletions .circleci/deployment/jobs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# jobs:
deploy-dev:
executor: docker-executor
parameters:
target_env:
type: string
executor: docker-executor
working_directory: ~/tdp-deploy
steps:
- deploy-cloud-dot-gov:
Expand Down Expand Up @@ -33,26 +33,16 @@
cf-username: CF_USERNAME_STAGING

deploy-infrastructure-dev:
executor: terraform/default
working_directory: ~/tdp-deploy
parameters:
target_env:
type: string
steps:
- deploy-infrastructure:
cf-app: << parameters.target_env >>

deploy-infrastructure-staging:
executor: terraform/default
working_directory: ~/tdp-deploy
steps:
- deploy-infrastructure:
cf-password: CF_PASSWORD_STAGING
cf-username: CF_USERNAME_STAGING
cf-space: tanf-staging
tf-path: ./terraform/staging
cf-app: << parameters.target_env >>

deploy-infrastructure-develop:
deploy-infrastructure-staging:
executor: terraform/default
working_directory: ~/tdp-deploy
steps:
Expand Down
120 changes: 58 additions & 62 deletions .circleci/deployment/workflows.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,51 @@
#workflows:
dev-deployment:
deployment:
when:
<< pipeline.parameters.run_dev_deployment >>
and:
- or:
- equal: [ master, << pipeline.git.branch >> ]
- equal: [ main, << pipeline.git.branch >> ]
- equal: [ develop, << pipeline.git.branch >> ]
- << pipeline.parameters.run_dev_deployment >>
- not: << pipeline.parameters.run_nightly_owasp_scan >>

jobs:
- deploy-project-updates-site:
filters:
branches:
only:
- develop
- deploy-infrastructure-dev:
target_env: << pipeline.parameters.target_env >>
- enable-versioning:
requires:
- deploy-infrastructure-dev
filters:
branches:
ignore:
- develop
- main
- master
- deploy-dev:
target_env: << pipeline.parameters.target_env >>
requires:
- deploy-infrastructure-dev

staging-deployment:
unless:
or:
- << pipeline.parameters.run_dev_deployment >>
- << pipeline.parameters.run_nightly_owasp_scan >>
jobs:
- deploy-project-updates-site:
- deploy-infrastructure-staging:
filters:
branches:
only:
- develop
- deploy-infrastructure-develop:
- main
- deploy-infrastructure-production:
filters:
branches:
only:
- master
- enable-versioning:
requires:
- deploy-infrastructure-dev
filters:
branches:
ignore:
- develop
- main
- master
- enable-versioning:
requires:
- deploy-infrastructure-develop
- deploy-infrastructure-staging
target_env: develop
cf-password: CF_PASSWORD_STAGING
cf-username: CF_USERNAME_STAGING
Expand All @@ -46,88 +54,76 @@
branches:
only:
- develop
- deploy-develop:
- enable-versioning:
requires:
- deploy-infrastructure-develop
- deploy-infrastructure-staging
target_env: staging
cf-password: CF_PASSWORD_STAGING
cf-username: CF_USERNAME_STAGING
cf-space: tanf-staging
filters:
branches:
only:
- develop
- test-deployment-e2e:
- main
- enable-versioning:
requires:
- deploy-develop
- deploy-infrastructure-production
target_env: prod
cf-password: CF_PASSWORD_PROD
cf-username: CF_USERNAME_PROD
cf-space: tanf-prod
filters:
branches:
only:
- develop
- make_erd: # from ../util folder
- master
- prod-deploy-clamav:
requires:
- deploy-infrastructure-production
filters:
branches:
only:
- develop
- deploy-infrastructure-staging:
- master
- deploy-dev:
target_env: << pipeline.parameters.target_env >>
requires:
- deploy-infrastructure-dev
filters:
branches:
only:
ignore:
- develop
- main
- enable-versioning:
- master
- deploy-develop:
requires:
- deploy-infrastructure-staging
target_env: staging
cf-password: CF_PASSWORD_STAGING
cf-username: CF_USERNAME_STAGING
cf-space: tanf-staging
filters:
branches:
only:
- main
- develop
- deploy-staging:
requires:
- deploy-infrastructure-staging
filters:
branches:
only:
- main

production-deployment:
unless:
or:
- << pipeline.parameters.run_dev_deployment >>
- << pipeline.parameters.run_nightly_owasp_scan >>
jobs:
- deploy-infrastructure-production:
filters:
branches:
only:
- master
- enable-versioning:
requires:
- deploy-infrastructure-production
target_env: prod
cf-password: CF_PASSWORD_PROD
cf-username: CF_USERNAME_PROD
cf-space: tanf-prod
filters:
branches:
only:
- master
- deploy-production:
requires:
- deploy-infrastructure-production
filters:
branches:
only:
- master
- prod-deploy-clamav:
- test-deployment-e2e:
requires:
- deploy-infrastructure-production
- deploy-develop
filters:
branches:
only:
- master
- develop
- make_erd: # from ../util folder
filters:
branches:
only:
- develop
- master

5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@
*.jpg binary
*.gif binary
*.pdf binary

# Annoying product-updates zip files
product-updates/knowledge-center/FTANF_2009.zip binary eol=lf
product-updates/knowledge-center/SSPMOE_2009.zip binary eol=lf
product-updates/knowledge-center/ftanf.zip binary eol=lf
52 changes: 0 additions & 52 deletions .github/workflows/deploy-develop-on-merge.yml

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Security-Compliance/File-Transfer-TDRS/diagram.drawio

Large diffs are not rendered by default.

Binary file modified docs/Security-Compliance/File-Transfer-TDRS/diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 537356f

Please sign in to comment.