Create a new source control credential and a new project, and assign a role to one of your teams that allows the team to use that project.
Outcomes
Create a source control credential.
Create a new project.
Assign roles to the project.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command ensures that automation controller is installed and configured with any necessary resources created in previous exercises.
[student@workstation ~]$ lab start provision-project
Procedure 4.1. Instructions
Navigate to https://controller.lab.example.com and log in as the admin user with redhat as the password.
Create a new source control credential to use in the new project.
Navigate to → and then click to display the page.
Enter the following details, and then click :
| Field | Value |
|---|---|
Student Git Credential
| |
git
| |
(Content of the /home/student/.ssh/gitlab_rsa file.) |
If you choose to browse for the /home/student/.ssh/gitlab_rsa file, then right-click anywhere in the directory navigation and select . With this option enabled you can see the .ssh directory within the /home/student directory.
Create a new project called My Webservers DEV.
Navigate to → and then click to display the page.
Enter the following details, and then click :
| Field | Value |
|---|---|
My Webservers DEV
| |
Development Webservers Project
| |
git@git.lab.example.com:git/my_webservers_DEV.git
| |
After you click , automation controller immediately attempts to synchronize the project.
On the tab, verify that the value of shows Successful.
If the project synchronization fails, then ensure that the project specifies the correct source control URL and the correct source control credential. Ensure that the source control credential uses the correct values and then attempt the project synchronization again.
Assign the Developers team the Admin role on the My Webservers DEV project.
Navigate to → and then click the link for the My Webservers DEV project entry.
Click the tab to manage the permissions for the My Webservers DEV project.
Click to start adding permissions.
Click and then click to display the list of available teams.
Select the Developers team and then click to display the possible roles to apply.
Select the Admin role and then click . This redirects you to the list of permissions for the My Webservers DEV project, which now shows that all members of the Developers team are assigned the Admin role on the My Webservers DEV project.