Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12 from fecgov/Sprint36
Browse files Browse the repository at this point in the history
Sprint36
  • Loading branch information
rsanchez-s authored Aug 4, 2020
2 parents 50d3bed + efbdc69 commit d83cda3
Show file tree
Hide file tree
Showing 7 changed files with 1,076 additions and 616 deletions.
16 changes: 13 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ pipeline{
stage('Deploy Dev'){
when { branch 'develop' }
steps {
deployImage("${VERSION}", "dev")
deployImage16("${VERSION}", "dev")
code_quality("${BUILD_ID}", "${VERSION}")
}
}
stage('Deploy QA'){
when { branch 'release' }
steps {
deployImage("${VERSION}", "qa")
deployImage16("${VERSION}", "qa")
}
}
stage('Deploy UAT'){
when { branch 'master' }
steps {
deployImage("${VERSION}", "uat")
deployImage16("${VERSION}", "uat")
}
}
}
Expand All @@ -61,6 +61,16 @@ def deployImage(String version, String toEnv) {
"""
}

def deployImage16(String version, String toEnv) {
sh """
kubectl16 \
--context=arn:aws:eks:us-east-1:813218302951:cluster/fecnxg-dev1 \
--namespace=${toEnv} \
set image deployment/fecfile-imagegenerator \
fecfile-imagegenerator=813218302951.dkr.ecr.us-east-1.amazonaws.com/fecfile-imagegenerator:${version}
"""
}

def code_quality(String id, String hash) {
sh(""" sh successful_test.sh "${id}" ${hash} """)
junit '**/reports/*.xml'
Expand Down
1,676 changes: 1,063 additions & 613 deletions routes/src/form3x.py

Large diffs are not rendered by default.

Binary file modified templates/forms/F1M.pdf
Binary file not shown.
Binary file modified templates/forms/F3X.pdf
Binary file not shown.
Binary file modified templates/forms/SB.pdf
Binary file not shown.
Binary file modified templates/forms/SC.pdf
Binary file not shown.
Binary file modified templates/forms/SH2.pdf
Binary file not shown.

0 comments on commit d83cda3

Please sign in to comment.