Generate CV per a commit
ci/woodpecker/push/spellcheck Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details

In order to have different CV versions, I've decided to publish each CV
with a commit SHA in the name. They should be put in the ./n.rodionov
directory. Once the change is merged to the main, it should be copied to
the root directory of a bucket without a hash in the name
This commit is contained in:
Nikolai Rodionov 2024-04-23 12:24:49 +02:00
parent 7decf2b0cf
commit f4bbc1e5fa
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
3 changed files with 322 additions and 443 deletions

View File

@ -40,3 +40,4 @@ ceph
- index.md
Rodionov
db-operator
Tekton

View File

@ -20,9 +20,20 @@ steps:
- npm install
- npm run build
- mkdir $CI_WORKSPACE/cv
- mv index.pdf $CI_WORKSPACE/cv/n.rodionov.pdf
- mv index.pdf $CI_WORKSPACE/cv/n.rodionov.$CI_COMMIT_SHA.pdf
upload:
name: Upload the CV
image: rclone/rclone:latest
secrets:
- rclone_config_content
environment:
RCLONE_CONFIG: /tmp/rclone.conf
commands:
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
- rclone copy -P $CI_WORKSPACE/cv badhouseplants-minio:/public-download/n.rodionov
release:
when:
branch: main
name: Upload the CV
@ -33,4 +44,4 @@ steps:
RCLONE_CONFIG: /tmp/rclone.conf
commands:
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
- rclone copy -P $CI_WORKSPACE/cv badhouseplants-minio:/public-download
- rclone copy -P badhouseplants-minio:/public-download/n.rodionov/n.rodionov.$CI_COMMIT_SHA.pdf badhouseplants-minio:/public-download/n.rodionov.pdf

749
package-lock.json generated

File diff suppressed because it is too large Load Diff