Skip to content
Snippets Groups Projects
Commit 4a5f9ef7 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

More cache fiddling.

Only on freebsd-amd64 now though... no need to leave stuff laying
everywhere.
parent f6de13e1
No related branches found
No related tags found
No related merge requests found
......@@ -188,6 +188,39 @@ spec:
- "src/sbbs3/git_*.h"
needs: []
"$[[ inputs.os ]]-$[[ inputs.platform ]] [cache-thing]":
extends:
- .$[[ inputs.os ]]-build
script:
- touch cache-me
cache:
key: "$[[ inputs.os ]]-${CI_PIPELINE_ID}-gitinfo"
paths:
- cache-me
policy: push
dependencies: []
rules:
- if: '"$[[ inputs.os ]]" != "freebsd"'
when: never
- if: '"$[[ inputs.platform ]]" != "amd64"'
when: never
"$[[ inputs.os ]]-$[[ inputs.platform ]] [cleanup]":
stage: cleanup
extends:
- .$[[ inputs.os ]]-build
script:
- echo "Delete ${CI_PIPELINE_ID}-gitinfo"
cache:
key: "$[[ inputs.os ]]-${CI_PIPELINE_ID}-gitinfo"
policy: push
dependencies: []
rules:
- if: '"$[[ inputs.os ]]" != "freebsd"'
when: never
- if: '"$[[ inputs.platform ]]" != "amd64"'
when: never
"$[[ inputs.os ]]-$[[ inputs.platform ]] [scfg]":
extends:
- .$[[ inputs.os ]]-build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment