ci: migrate trezor-common sync to github actions

This commit is contained in:
vdovhanych
2024-08-29 13:11:45 +02:00
committed by matejcik
parent 3bfc0b61e5
commit 11b923959a
3 changed files with 26 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
GH_USER="$GH_TREZOR_BOT"
GH_TOKEN="$GH_TOKEN_COMMON_SYNC"
GH_USER="$GITHUB_BOT_USERNAME"
GH_TOKEN="$GITHUB_BOT_TOKEN"
# checkout to temporary branch
git checkout -B tmp

View File

@@ -324,20 +324,3 @@ sync emulators to aws:
- branches # run for tags only
tags:
- deploy
# common sync to trezor-common
common sync:
stage: deploy
variables:
GIT_SUBMODULE_STRATEGY: "none"
GIT_STRATEGY: clone # clone entire repo instead of reusing workspace
GIT_DEPTH: 0 # avoid shallow clone
only:
- schedules
interruptible: false
needs: []
before_script: [] # no poetry
script:
- echo "Synchronizing common with the trezor-common repository"
- ./ci/common_sync/common_repo_sync.sh