|
@ -14,7 +14,7 @@ jobs: |
|
|
plan: |
|
|
plan: |
|
|
- get: resume-git |
|
|
- get: resume-git |
|
|
trigger: true |
|
|
trigger: true |
|
|
- task: build-resume |
|
|
|
|
|
|
|
|
- task: build-resume-pdf |
|
|
config: |
|
|
config: |
|
|
platform: linux |
|
|
platform: linux |
|
|
image_resource: |
|
|
image_resource: |
|
@ -23,16 +23,38 @@ jobs: |
|
|
inputs: |
|
|
inputs: |
|
|
- name: resume-git |
|
|
- name: resume-git |
|
|
outputs: |
|
|
outputs: |
|
|
- name: resume-files |
|
|
|
|
|
|
|
|
- name: resume-pdf |
|
|
run: |
|
|
run: |
|
|
path: /bin/sh |
|
|
path: /bin/sh |
|
|
args: |
|
|
args: |
|
|
- -c |
|
|
- -c |
|
|
- | |
|
|
- | |
|
|
cd resume-git |
|
|
cd resume-git |
|
|
./scripts/build-pdf-resume.sh |
|
|
|
|
|
./scripts/build-pdf-resume-for-recruiters.sh |
|
|
|
|
|
./scripts/build-html-resume.sh |
|
|
|
|
|
mv resume.pdf ../resume-files/ |
|
|
|
|
|
mv resume_for_recruiters.pdf ../resume-files/ |
|
|
|
|
|
mv ResumeSite.tar.gz ../resume-files/ |
|
|
|
|
|
|
|
|
latex --output-format pdf resume.tex |
|
|
|
|
|
latex --output-format pdf resume_for_recruiters.tex |
|
|
|
|
|
mv resume.pdf ../resume-pdf/ |
|
|
|
|
|
mv resume_for_recruiters.pdf ../resume-pdf/ |
|
|
|
|
|
- task: build-resume-html |
|
|
|
|
|
config: |
|
|
|
|
|
platform: linux |
|
|
|
|
|
image_resource: |
|
|
|
|
|
type: registry-image |
|
|
|
|
|
source: |
|
|
|
|
|
repository: nexus.nulloctet.com:5000/sothr/pdf2htmlex |
|
|
|
|
|
tag: "stable" |
|
|
|
|
|
username: ((nexus_docker_read.username)) |
|
|
|
|
|
password: ((nexus_docker_read.password)) |
|
|
|
|
|
inputs: |
|
|
|
|
|
- name: resume-pdf |
|
|
|
|
|
outputs: |
|
|
|
|
|
- name: resume-html |
|
|
|
|
|
run: |
|
|
|
|
|
path: /bin/sh |
|
|
|
|
|
args: |
|
|
|
|
|
- -c |
|
|
|
|
|
- | |
|
|
|
|
|
cd resume-pdf |
|
|
|
|
|
pdf2htmlEX --zoom 1.5 --embed cfijo --dest-dir out resume.pdf |
|
|
|
|
|
mv out/resume.html out/index.html |
|
|
|
|
|
tar -czvf resume_site.tgz -C out/ . |
|
|
|
|
|
mv resume_site.tgz ../resume-html/ |