Adding job to upload commits to GitHub

Add job to publish tis-repo repo to GitHub

Change-Id: Ied15a8a2fbb33faeffbe8874e6617132af98ad1c
Story: 2007252
Task: 38695
Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
Bin Qian 2020-02-06 15:35:55 -05:00
parent cb83b4f9b0
commit 68637ffa0e

View File

@ -7,6 +7,9 @@
vars:
stx_remote_repo: https://github.com/starlingx-staging/tools-contrib.git
stx_remote_branch: master
post:
jobs:
- stx-tis-repo-upload-git-mirror
- job:
name: stx-github-debug
@ -17,3 +20,95 @@
stx_repo_dest: src/test-repo
tox_envlist: debug
pre-run: playbooks/fetch-remote-repo/pre.yaml
- job:
name: stx-tis-repo-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/tis-repo to
github.com/starlingx/tis-repo
vars:
git_mirror_repository: starlingx/tis-repo
secrets:
- name: git_mirror_credentials
secret: stx-tis-repo-github-secret
pass-to-parent: true
- secret:
name: stx-tis-repo-github-secret
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
ssh_key: !encrypted/pkcs1-oaep
- jGK/Fy9/whdI3MG9in1yo6ph8tf0N/fsF/4GYs+fdoQ2IoT8DsE+aT0oB4sIRi8E/Q7WH
XGOe4ele6xdyxBbshYdBL/3WK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