mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 23:38:09 +00:00
ci: simplify regular expressions for release and tags
This commit is contained in:
parent
2b031990f8
commit
6901cb7cdf
@ -16,7 +16,7 @@ release core fw regular deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^core\/v[0-9.]*$/
|
- /^core\//
|
||||||
except:
|
except:
|
||||||
- branches # run for tags only
|
- branches # run for tags only
|
||||||
tags:
|
tags:
|
||||||
@ -36,7 +36,7 @@ release core fw btconly deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^core\/v[0-9.]*$/
|
- /^core\//
|
||||||
except:
|
except:
|
||||||
- branches # run for tags only
|
- branches # run for tags only
|
||||||
tags:
|
tags:
|
||||||
@ -56,7 +56,7 @@ release legacy fw regular deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^legacy\/v[0-9.]*$/
|
- /^legacy\//
|
||||||
except:
|
except:
|
||||||
- branches # run for tags only
|
- branches # run for tags only
|
||||||
tags:
|
tags:
|
||||||
@ -76,7 +76,7 @@ legacy fw btconly deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^legacy\/v[0-9.]*$/
|
- /^legacy\//
|
||||||
except:
|
except:
|
||||||
- branches # run for tags only
|
- branches # run for tags only
|
||||||
tags:
|
tags:
|
||||||
@ -98,7 +98,7 @@ rc core fw regular deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^release\/[0-9]{4}-[0-9]{2}$/
|
- /^release\//
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
@ -115,7 +115,7 @@ rc core fw btconly deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^release\/[0-9]{4}-[0-9]{2}$/
|
- /^release\//
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
@ -132,7 +132,7 @@ rc legacy fw regular deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^release\/[0-9]{4}-[0-9]{2}$/
|
- /^release\//
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ rc legacy fw btconly deploy:
|
|||||||
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
- mkdir -p "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}"
|
||||||
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
- rsync --delete -va $NAME "${DEPLOY_BASE_DIR}/${DEPLOY_DIRECTORY}/$NAME"
|
||||||
only:
|
only:
|
||||||
- /^release\/[0-9]{4}-[0-9]{2}$/
|
- /^release\//
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
@ -169,7 +169,7 @@ upgrade tests core deploy:
|
|||||||
- echo "Deploying to $DEST"
|
- echo "Deploying to $DEST"
|
||||||
- rsync --delete -va core/build/unix/micropython "$DEST"
|
- rsync --delete -va core/build/unix/micropython "$DEST"
|
||||||
only:
|
only:
|
||||||
- /^core\/v[0-9.]*$/
|
- /^core\//
|
||||||
except:
|
except:
|
||||||
- branches # run for tags only
|
- branches # run for tags only
|
||||||
tags:
|
tags:
|
||||||
@ -189,7 +189,7 @@ upgrade tests legacy deploy:
|
|||||||
- echo "Deploying to $DEST"
|
- echo "Deploying to $DEST"
|
||||||
- rsync --delete -va legacy/firmware/trezor.elf "$DEST"
|
- rsync --delete -va legacy/firmware/trezor.elf "$DEST"
|
||||||
only:
|
only:
|
||||||
- /^legacy\/v[0-9.]*$/
|
- /^legacy\//
|
||||||
except:
|
except:
|
||||||
- branches # run for tags only
|
- branches # run for tags only
|
||||||
tags:
|
tags:
|
||||||
|
@ -326,8 +326,8 @@ hardware legacy device test:
|
|||||||
extends: .legacy_job
|
extends: .legacy_job
|
||||||
only:
|
only:
|
||||||
- schedules # nightly build
|
- schedules # nightly build
|
||||||
- /^legacy\/v[0-9.]*$/
|
- /^legacy\//
|
||||||
- /^release\/[0-9]{4}-[0-9]{2}$/
|
- /^release\//
|
||||||
tags:
|
tags:
|
||||||
- tpmb
|
- tpmb
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user