This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How Can I Use Gertty? |
|
Answer» After getting a Gerrit API key (as EXPLAINED in), use the BASIC auth-type in gertty.yaml, Example: After getting a Gerrit API key (as explained in), use the basic auth-type in gertty.yaml, Example: |
|
| 2. |
How Can I Use The Gerrit Rest Api? |
|
Answer» The GERRIT REST API is OPEN for QUERIES by default on all Software Factory deployments. There is an extensive documentation available online: getting open changed with cURL would be: The Gerrit REST API is open for queries by default on all Software Factory deployments. There is an extensive documentation available online: getting open changed with cURL would be: |
|
| 3. |
How To Restart A Config-update Job ? |
|
Answer» When the config-update job FAILS, you can manually restart the job using the command BELLOW. MAKE sure to SET the ref-sha which is the last commit hash of the config repository. When the config-update job fails, you can manually restart the job using the command bellow. Make sure to set the ref-sha which is the last commit hash of the config repository. |
|
| 4. |
How To Setup A Mirror On Swift For External Dependencies ? |
|
Answer» The mirror service uses the mirror2swift UTILITY to provide a local cache for external ressources. For example we use it to mirror RPM repositories, which speeds up building times of our test environments. The yaml files in the config repository represent the list of mirrors as documented here: https://github.com/cschwede/mirror2swift. For example, config/mirrors/centos.yaml: The mirror service uses the mirror2swift utility to provide a local cache for external ressources. For example we use it to mirror RPM repositories, which speeds up building times of our test environments. The yaml files in the config repository represent the list of mirrors as documented here: https://github.com/cschwede/mirror2swift. For example, config/mirrors/centos.yaml: |
|
| 5. |
How Can I Change My Deployment’s Hostname? |
|
Answer» You can CHANGE the hostname after the deployment by CHANGING the FQDN parameter in /etc/software-factory/sfconfig.yaml, removing the existing SSL certificates (only required if running functional tests and using the default self-signed certificates) and running sfconfig again: You can change the hostname after the deployment by changing the fqdn parameter in /etc/software-factory/sfconfig.yaml, removing the existing SSL certificates (only required if running functional tests and using the default self-signed certificates) and running sfconfig again: |
|
| 6. |
Why Does My Build Stay In “queued” State ? |
|
Answer» This happens when no WORKER nodes are AVAILABLE to execute a build:
This happens when no worker nodes are available to execute a build: |
|
| 7. |
Why Does My Build Fail With The “not_registered” Error ? |
|
Answer» This error happens when zuul can’t build a job. Most of the time it’s because:
This error happens when zuul can’t build a job. Most of the time it’s because: |
|
| 8. |
Why Can’t I +2 A Change After Being Added To The Core Group ? |
|
Answer» This may HAPPEN because of WEB browser CACHE issues. Remove all cookies then LOG out and log in again to refresh your gerrit PRIVILEGES. This may happen because of web browser cache issues. Remove all cookies then log out and log in again to refresh your gerrit privileges. |
|
| 9. |
Can I Disable Gerrit ? |
|
Answer» As of now, Gerrit is mandatory in Software Factory for a COUPLE of reasons:
Gerrit will be made optional in a future release [1] of Software Factory As of now, Gerrit is mandatory in Software Factory for a couple of reasons: Gerrit will be made optional in a future release [1] of Software Factory |
|
| 10. |
What Is The Added Value Of Software Factory ? |
|
Answer» If you are not sure about using Software Factory, here are some perks that might convince you:
If you are not sure about using Software Factory, here are some perks that might convince you: |
|