Skip to content

Commit

Permalink
updating to release gradle-json-resume version
Browse files Browse the repository at this point in the history
  • Loading branch information
warlordofmars committed Mar 15, 2019
1 parent e48ffb0 commit 5edc637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ext {
wildcardCertARN = "arn:aws:acm:us-east-1:247631471946:certificate/471106fc-e3dd-4e0b-a20f-010a6e326283"
// list of strings to check for in postdeploy check of deployed html resume
ensureStrings = ['John A. Carter', '[email protected]', '(770) 598-7096']
ensureStrings = ['John A. Carter', '[email protected]', '(617) 334-5110']
// set stack name different if not promote
stackName = isPromote ? 'ResumeWebsite' : 'ResumeWebsiteTest'
Expand Down
28 changes: 1 addition & 27 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
classpath 'com.github.warlordofmars:gradle-release-helper:release-0.1.3'
classpath 'com.github.warlordofmars:gradle-slack-liveupdate:release-0.3.8'
classpath 'com.github.warlordofmars:gradle-cloudformation-helper:release-0.1.6'
classpath 'com.github.warlordofmars:gradle-json-resume:0.1.9'
classpath 'com.github.warlordofmars:gradle-json-resume:release-0.1.11'
}
}

Expand Down Expand Up @@ -43,29 +43,3 @@ ext {
websitePrefix = isPromote ? '' : "/${version}"

}

task('dockerBuild') {
doLast {
exec {
commandLine 'docker', 'build', '-t', 'resume-builder', '.'
}
}
}

task('containedBuild') {
dependsOn dockerBuild
doLast {
exec {
commandLine 'docker', 'run', '-v', "${System.env['HOME']}/.m2:/home/gradle/.m2", '-v', "${System.env['HOME']}/.aws:/home/gradle/.aws", '-v', "${System.env['HOME']}/.gradle:/home/gradle/.gradle", '-v', "${projectDir}:/home/gradle/src", 'resume-builder', 'sh', '-c', './gradlew build'
}
}
}

task('containedDeploy') {
mustRunAfter containedBuild
doLast {
exec {
commandLine 'docker', 'run', '-v', "${System.env['HOME']}/.m2:/home/gradle/.m2", '-v', "${System.env.HOME}/Library/Mobile Documents/com~apple~CloudDocs:/home/gradle/Library/Mobile Documents/com~apple~CloudDocs", '-v', "${System.env['HOME']}/.gdrive:/home/gradle/.gdrive", '-v', "${System.env['HOME']}/.aws:/home/gradle/.aws", '-v', "${System.env['HOME']}/.gradle:/home/gradle/.gradle", '-v', "${projectDir}:/home/gradle/src", 'resume-builder', 'sh', '-c', './gradlew deploy'
}
}
}

0 comments on commit 5edc637

Please sign in to comment.