Compare commits
No commits in common. "3765fa11dade78540b4401f592f9801ef80fff85" and "6d80b2258896be0f2142e33d9e04e4dcc95ca595" have entirely different histories.
3765fa11da
...
6d80b22588
52
.gitlab-ci.yml
Normal file
52
.gitlab-ci.yml
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
stages:
|
||||||
|
- setup
|
||||||
|
- build
|
||||||
|
- upload
|
||||||
|
- release
|
||||||
|
|
||||||
|
variables:
|
||||||
|
PACKAGE_VERSION: "$CI_COMMIT_TAG"
|
||||||
|
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/resume"
|
||||||
|
RESUME_FILE: "resume.pdf"
|
||||||
|
GIT_DEPTH: 1
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
image: nixos/nix:latest
|
||||||
|
script: |
|
||||||
|
nix --extra-experimental-features "flakes nix-command" build
|
||||||
|
mv "./result/${RESUME_FILE}" $(pwd)
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1 week
|
||||||
|
paths:
|
||||||
|
- "${RESUME_FILE}"
|
||||||
|
|
||||||
|
upload:
|
||||||
|
stage: upload
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
image: curlimages/curl:latest
|
||||||
|
script:
|
||||||
|
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "${RESUME_FILE}" ${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/${RESUME_FILE}'
|
||||||
|
|
||||||
|
tag-release:
|
||||||
|
stage: release
|
||||||
|
needs:
|
||||||
|
- upload
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
script:
|
||||||
|
- echo "Releasing Resume @ ${CI_COMMIT_TAG}"
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG && $CI_COMMIT_TAG != "latest"
|
||||||
|
release:
|
||||||
|
tag_name: "${CI_COMMIT_TAG}"
|
||||||
|
description: "${CI_COMMIT_TAG}"
|
||||||
|
ref: "${CI_COMMIT_SHA}"
|
||||||
|
assets:
|
||||||
|
links:
|
||||||
|
- name: "${RESUME_FILE}"
|
||||||
|
url: "${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/${RESUME_FILE}"
|
||||||
|
filepath: /resume.pdf
|
||||||
|
link_type: other
|
13
README.md
13
README.md
@ -1,5 +1,14 @@
|
|||||||
# What is this?
|
# What is this?
|
||||||
|
|
||||||
This repository tracks my resume. All additions, deletions, and other changes to it.
|
This repository tracks my resume, all additions, deletions, etc.
|
||||||
|
|
||||||
_**You can access my latest resume [here](https://git.orion-technologies.io/Price/Resume/releases/download/Development/resume.pdf)**_.
|
I generate my resume on every tagged release, see the [releases
|
||||||
|
page](https://gitlab.orion-technologies.io/philler/resume/-/releases) for released versions of my resume, preference the
|
||||||
|
latest release for the most up to date information.
|
||||||
|
|
||||||
|
_**You can access my latest resume [here](https://gitlab.orion-technologies.io/philler/resume/-/releases/permalink/latest/downloads/resume.pdf)**_.
|
||||||
|
|
||||||
|
# Versions
|
||||||
|
|
||||||
|
See the [releases](https://gitlab.orion-technologies.io/philler/resume/-/releases) page for all "official" versions of
|
||||||
|
my resume as it has evolved through time. The resume I preference is of course the `latest` release.
|
||||||
|
Loading…
Reference in New Issue
Block a user