Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP. Add backstage e2e workflow and template Signed-off-by: cmoulliard <cmoulliard@redhat.com> * WIP. Use kustomize to create the VM resource where images are pused on namespace: vm-images Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add write permissions Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Use manifest like test-data folders to get data to play, templates Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add events to see if the job is triggered part of this PR Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add pull_request to see if the job is triggered part of this PR Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Set the node version using an env var. Remove the non needed step to checkout this project as done by the first step Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Use double quotes as the action cannot get the env var Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Use proper syntax to pass the NODE version Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Increase sync reconciliation process time for argocd Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Create gitea organization to be used within the e2e test Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Let's make a test using gitea as repository Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Specify the port of the server: 8443 and prefix the curl URL with https Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add missing " char end of the echo line Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Removing the workingDir Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Remove from path backstage-playground/ as non needed Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Fix the wrong enum value of the imageRepository Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Create the gitea registry credentials as kube secret Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Adding missing gitea provider to the template. Add missing values to the data body Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Tekton pipeline will fail as the git repo ingress url cannot be accessed in a pod. WIP Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Revert the template and test data to use github. Job will fail as tokens are not yet passed using github secrets Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add more enum. WIP Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Fix typo error. WIP Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Comment the step to create the gitea org as non used. Pass the ARGOCD_SERVER_URL Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Remove suffix -job. Add missing enum Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Remove suffix -job Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Set the proper step name to get the repoContentsUrl Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Use now github and quay to create repo or image with credentials Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Remove the double port 8443 Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Rename ARGO_* to ARGOCD_* env vars Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Pass the github secreats as ENV vars Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add missing $ in front of env var QUAY_ORG Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add rewrite rule for pod to pod communication using gitea Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Switch quay org from snowdrop to qshift Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Use catalogInfoUrl for both gitea and github Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Get task events Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Replace simple quotes with double quotes otherwise we dont pass the TASK_ID but the env var name Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Sleep before to fetch the events Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Double quotes the GITEA_PASSWORD as it includes special chars Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Increase sleeping time to get all the events = log messages Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Use qshift instead of snowdrop for quay.io image repository Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Describe the resource not found. Show the pods running within the namespace used to test Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add 2>&1 and change the logic to wait till we got an event of type completion Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add missing double quote Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Add missing until reties Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Remove non needed -n chars Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Rename variable from RESPONSE to EVENTS Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Let's trigger a change to see if the job succeeded or if we still have a missing github token Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Increase time to wait to get the events Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Stop the job if the scaffolding fails Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Fix bash syntax error with done and add break Signed-off-by: cmoulliard <cmoulliard@redhat.com> * fix the race condition error and improve the logging. #163 Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Removing dummy as only used for e2e test and added: amunozhe Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Fix wrong git repo for Aurea Signed-off-by: cmoulliard <cmoulliard@redhat.com> --------- Signed-off-by: cmoulliard <cmoulliard@redhat.com>
- Loading branch information