summaryrefslogtreecommitdiff
path: root/scripts/review_apps
Commit message (Collapse)AuthorAgeFilesLines
* Add more logging in the Review Apps deployment steps59569-some-steps-are-missed-during-review-apps-deploymentsRémy Coutable2019-03-281-125/+161
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix the .review-deploy-base job so that env variables are passedRémy Coutable2019-03-191-0/+10
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Only use 2 replicas for nginx-ingress.controllerRémy Coutable2019-02-011-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't install Prometheus in Review AppsRémy Coutable2019-02-011-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fine-tune Review Apps pod resource requestsRémy Coutable2019-02-011-0/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Introduce echoinfo for informationLin Jen-Shin2019-01-241-13/+14
|
* Use $CI_COMMIT_REF_SLUG in review-apps.shRémy Coutable2019-01-241-5/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [Review Apps] Don't exit when dependable job failsRémy Coutable2019-01-171-1/+0
| | | | | | | | | | | | | The function that retrieves the dependable job is pretty basic and retrieves the first job found with the matching name, but this job can be failed but then successfully retried. In that case, we would exit the depending job even though the dependable job actually succeeded (the second time). Let's simplify things, be optimistic and continue with the depending job even if the dependable job fails. That reverts to the original behavior. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch ↵Rémy Coutable2019-01-101-1/+3
|\ | | | | | | | | | | | | | | | | '55323-review-apps-use-2-replicas-for-the-tiller-deploy-deployment' into 'master' [Review Apps] Use 2 replicas for the `tiller-deploy` Deployment Closes #55323 See merge request gitlab-org/gitlab-ce!23806
| * Use 2 replicas for the Deployment55323-review-apps-use-2-replicas-for-the-tiller-deploy-deploymentRémy Coutable2018-12-191-1/+3
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Exit as error if job failsexit-error-if-job-waited-failsMark Lapierre2018-12-211-0/+1
|/ | | | | If a script is waiting for a job to be done and that job fails, exit with an error status so that the script doesn't continue with a prerequisite in an invalid state.
* Specify the 'sync' policy for the external-dns deploymentsRémy Coutable2018-12-181-1/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Run gitlab:assets:compile on qa jobsMark Lapierre2018-12-171-2/+2
| | | | | | Optionally compiling assets when needed for qa jobs proved unworkable so instead we fall back on compiling them for all qa jobs.
* [QA] Better retrieve job ID for a retried jobRémy Coutable2018-12-061-5/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add a manual job to run QA against a Review App49570-add-review_qa-jobRémy Coutable2018-11-261-13/+132
| | | | | | | | | | | | | | | | | 1. Renames review to review-deploy. 2. Renames stop_review to review-stop. 3. Adds a build-qa-image job to the prepare stage and save the QA Docker image as artifact (example: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967019). 4. Adds a manual review-qa job to the test stage to run QA tests against the Review App (example: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120967238). 5. Make the review-deploy job plays the review-qa job as soon as the Review App is deployed (example: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/120988775). 6. Updates the Review Apps documentation accordingly. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ensure we abort the cleanup if release is emptyRémy Coutable2018-11-131-6/+20
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Disable usage pings in review appsdisable-usage-ping-review-appsBalasankar "Balu" C2018-11-111-0/+1
|
* Ensure we create the secrets at the right time53621-review-app-credentials-does-not-reliably-workRémy Coutable2018-11-091-0/+3
| | | | | | | | | | | | In `deploy`, if the previous deployment failed, we delete/cleanup all the objects related to the release, including secrets. The problem is that if we create the root password before that, it will be then recreated during the deploy with a random value! By creatigng the secret just before actually deplying a new release, we ensure that it won't be overriden. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add omitted indentation fixIan Baum2018-10-231-4/+4
|
* Add review app to gitlab-ceIan Baum2018-10-231-4/+33
| | | | | | | | | | * Uses the same supporting code as used in EE * Includes automated cleanup * Install external-dns helm chart to review apps cluster if it isn't already * Adds variables REVIEW_APPS_AWS_SECRET_KEY and REVIEW_APPS_AWS_ACCESS_key * review-apps-ce uses a different cipher
* Improve automated Review Apps cleanupce-52112-fix-review-apps-cleanup-ceRémy Coutable2018-10-221-25/+77
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Cleanup review apps more rapidlyRémy Coutable2018-10-011-2/+2
| | | | | | | | - Stop review app's environment after 2 days - Delete review app's environment after 3 days - Delete Helm release after 4 days Signed-off-by: Rémy Coutable <remy@rymai.me>
* [CE] Port review apps file to CEce-improve-review-appsRémy Coutable2018-09-252-0/+293
Signed-off-by: Rémy Coutable <remy@rymai.me>