How to excecute different environments in Gitlab CI/CD
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to excecute different environments in Gitlab CI/CD
Dear Community,
I would like to know if it is possible to trigger specific environments from my readyapi test project via gitlab CI/CD. Our test projects are stored and executed in gitlab but I have not yet figured out how to run a specific environment within my test project (eg. environment1 runs against https://endpoint1.com and environment2 runs against https://endpoint2.com)
Thanks for your answers in advance
Regards
Holger
- Labels:
-
Configuration
-
Function Tests
-
Integrations
-
REST
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use testruner utility from $READYAPI_HOME/bin directory. and pass the the environment name, say for QA environment,
-EQA
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answer @nmrao,
this would be a fixed setting for all test projects then, right? If that is the case it wouldn't help me, since I have a variety of test projects with different endpoints (services). Until now I'm using the workaround of creating a dedicated project for each endpoint in order to trigger them from our gitlab ci/cd pipeline.
I was hoping to find a way where I integrate the two environments in one project and use some sort of configuration (eg. tags) within the project pipe line yaml.
Cheers
Holger
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is way to achieve environments with using Environments features. Let me pull out the details.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please see below thread if that would be of help
You may also look at the below thread
Regards,
Rao.
