github.com/redhat-appstudio/e2e-tests@v0.0.0-20230619105049-9a422b2094d7/pipelines/sync-hac-frontend-configs/README.md (about) 1 # Pipeline for syncing private frontend-configs repo to public github repo 2 ### Why? 3 Private frontend-configs repo (hosted on internal gitlab instance) is the last thing 4 preventing us from being able to deploy ephemeral HAC from public internet (openshift-ci). 5 6 ### What? 7 This pipeline just clones private gitlab repo, adds remote for public github and pushes it there. 8 9 In case of any failure, this pipeline sends message to Stonesoup QE Slack Channel 10 11 ## Installation 12 * Create secrets for 13 * ssh access to gitlab ([documentation](https://tekton.dev/vault/pipelines-v0.15.2/auth/#ssh-authentication-git)) 14 * basic-auth for github ([documentation](https://tekton.dev/vault/pipelines-v0.15.2/auth/#basic-authentication-git)) 15 * slack token used for posting the messages to slack named `slack-token` (key is `token`) 16 * Link the git access secrets to `pipeline` service account: 17 ``` 18 $ oc secrets link pipeline gitlab-ssh 19 $ oc secrets link pipeline github-basic 20 ``` 21 * Apply all resources from this folder 22 ``` 23 $ oc apply -f . 24 ```