The page has been translated by Gen AI.

Creating a Project (VM Deployment)

Note

The user must be a member of a project group and tenant to create a project.

For more information on joining a project group and tenant, see Creating a Project Group.

Users can create a project that deploys to a specific VM server using App Template and Tool Management.

Before creating a project for VM deployment, register the VM server information. For more information on registering a VM server, see Getting Started with VM Server Group.

Starting Project Creation

To start creating a project, follow these steps:

  1. Main page, click the Create Project button. This will take you to the Create Project page.

Entering Basic Information

  1. On the Create Project page, enter the project name and project ID.
  2. For the Project Configuration Method, select App Template.
  3. For the Deployment Target, select VM (Artifact) or VM (Docker).
    • VM (Artifact) creates a war/jar file and deploys it to the target server.
    • VM (Docker) builds and deploys a Docker image using the docker command.
  4. Select the Deployment Method.
  5. After completing each input, click the Start button.

Selecting App Template

Note
For more information on application templates, see App Template.

Users can select an application template to configure their project.

If you create a project based on an application template with sample source code, you can verify the application to be deployed.

On the other hand, using a template marked as Environment Only configures only the build/deployment environment without sample source code.

If you are using an already configured source code repository to configure your project, select a template marked as Environment Only.

To start choosing an application template, follow these steps:

  1. Application Template screen, enter the template name to select the desired application template card and click it.
  2. When the Next button is activated, click the Next button.
ItemDescription
FilterYou can easily find application templates through predefined filters.
SearchYou can easily find application templates through search.
Table. Project Creation Application Template Items

Setting Up Code Repository

The user can set up a repository to manage the source code through the code repository setting step.

Creating a New Repository and Using an Existing Repository activation conditions vary depending on the Application Template and Tool.

Repository TypeApp. template with source code
+
DevOps Console registered tool / DevOps Code
App. template with source code
+
DevOps Console unregistered tool
App. template without source code (Environment Only)
+
DevOps Console registered tool / DevOps Code
App. template without source code (Environment Only)
+
DevOps Console unregistered tool
New Repository CreationXX
Existing Repository UseXX
Table. New Repository Creation and Existing Repository Activation Conditions

Note
Authentication information, once saved, can be used for Using Saved Authentication Information without entering account information, and Connection Test can be performed from then on.

To modify or delete saved authentication information, please refer to Managing Authentication Information.

To set up a code repository, follow these steps:

  1. In the Code Repository section, select the Code Repository type.
  2. Select Create a New Repository or Use an Existing Repository and enter the information.
  3. Enter the Authentication Information and click the Connection Test button.
  4. If the Next button is activated, click the Next button.
ItemDescription
Repository TypeSelect the code repository to use
  • Registered Tool: You can select and use the types of SCM Repository tools available to the user (Github, Gitlab, etc.).
  • DevOps Code: Available if you have applied for DevOps Code in the Samsung Cloud Platform Console.
  • Unregistered Tool: You can use it by entering the domain of an unregistered tool. The unregistered tool item only appears when the App. template is Environment Only (without source code).
New/Existing UsageSelect whether to Create a New Repository or Use an Existing Repository.
Repository InformationEnter repository information
  • When creating a new repository, the URL is composed of the project group name/project name.
Authentication InformationEnter authentication information
  • If you don’t have an account, you can create one by clicking the Don’t have an account? link and opening the Account Creation Information popup window.
  • After creating a new account, please change your password through the Initial Password Setting link.
(Unregistered Tool)
Repository Information
Enter repository information
  • You can use a code repository that is not registered as a tool in DevOps Console.
  • You must go through an additional verification process by clicking the URL Check button.
Table. Project Creation Code Repository Setting Items

Setting Up Code Quality

The user can configure a repository for quality management.

To set up code quality, follow the procedure below.

  1. Code Quality item, select the Repository Type.
  2. Enter Basic Information and Authentication Information, then click the Connection Test button.
  3. When the Next button is activated, click the Next button.
ItemDescription
Repository TypeSelect the repository to use
  • The types of Code Quality tools available to the user are displayed.
New/Existing/Not UsedSelect the repository creation method
  • If you select Create New Repository, you must enter the quality project name/quality project key.
  • If you select Not Created, you can proceed to the next step immediately.
Base URLSelect the SonarQube URL.
Quality Project NameEnter the name of the SonarQube project.
Quality Project KeyEnter the key of the SonarQube project.
Authentication InformationEnter authentication information
  • You can create a new user or use existing authentication information.
Table. Project Creation Code Quality Setting Items

Setting Up Artifact Repository

Users can configure a repository for artifacts.

If you select Not Created, you can proceed to the next step.

To set up an artifact repository, follow these steps:

  1. On the Artifact Repository screen, select the repository type.
  2. Enter the basic information and authentication information, then click the Connection Test button.
  3. If the Next button is activated, click it.
ItemDescription
Repository TypeSelect the type of repository to use
  • The available types of Artifact Repository tools are displayed.
New/Existing/Not UsedSelect the method of creating a repository
  • If you select Not Created, you can proceed to the next step.
Base URL / Endpoint URLSelect the Nexus URL or Object Storage URL.
Repository Type / Bucket Name
  • If Nexus, it is automatically registered as raw (hosted).
  • If Object Storage, the bucket name entered during tool registration is automatically registered.
Repository Name / Folder Name
  • Enter the repository name to use in Nexus.
  • Enter the folder name to use in Object Storage.
Authentication InformationEnter the authentication information
  • You can create a new user or use existing authentication information.
Table. Artifact Repository Setup Input Items

Setting Up Deployment Target Environment

Note

Deployment Target Setting requires a registered VM Server Group/VM Server.

For registration methods and more information, see VM Server Group.

To set up the deployment target environment, follow these steps:

  1. On the Deployment Target Environment screen, enter the required information and click the Next button.
ItemDescription
Deployment ConfigurationChoose whether to write a deployment script directly
  • If you select to write a deployment script directly, you will write the content in the user-defined stage.
Deployment MethodThe selected deployment method is displayed.
Artifact RepositoryThe address of the repository to use for the agent method is displayed.
  • Activated when the Deployment Method is Agent.
Manual DeploymentSelect the default value for manual deployment
  • Select the default setting value for manual deployment-related parameters when running the pipeline.
Deployment OrderChoose whether to deploy to multiple target servers in parallel or sequentially.
Deployment Target SettingSet up the deployment target server.
  • When you click Setting, the Deployment Target VM Setting popup window opens.
Auto-Restore SettingChoose whether to set up automatic restoration.
  • If deployment fails, it will be restored to the previous successful deployment.
  • Activated when the Deployment Method is Agent.
Command Before File DeploymentEnter the command to be executed before file deployment.
Files to be Deployed
  • Source: Enter the file path after the Jenkins workspace where the build pipeline is executed.
  • Target: Enter the path where the file will be deployed on the VM server.
  • You can add files using the Add button.
Command After File DeploymentEnter the command to be executed after file deployment.
Table. Deployment Target Environment Setup Items

Setting Up Build Pipeline

Users can configure a pipeline to build and deploy an application.

You can check each stage of the pipeline to be configured and change the build job name.

To set up a build pipeline, follow these steps:

  1. On the build pipeline setup stage, enter the Authentication Information and click the Connection Test button.
  2. If the Next button is activated, click it.
ItemDescription
Build/Deployment PipelineDisplays build/deployment pipeline information.
ClassificationSelect the development/operation classification.
URLSelect the Jenkins to configure the pipeline and enter the job name.
  • The available Jenkins are displayed.
Build AgentSelect the agent to use for pipeline build.
Build Environment OSDisplays the OS information of the environment where the build agent is executed.
Authentication InformationEnter the authentication information for Jenkins.
Environment Variable SettingSet the environment variables to be registered in the Jenkins pipeline.
Deployment Result RecipientSelect the user to receive the result of the build pipeline completion.
Table. Build Pipeline Setup Input Items

Setting Up User-Defined Configuration

If you selected Direct Deployment Script Writing in the deployment target and deployment setting stage, modify the pipeline content in this stage to complete the deployment setting.

To set up a user-defined configuration, follow these steps:

  1. On the User-Defined stage, review and modify the content, then click the Next button.

Completing Project Creation

The user can finally check the project and tool information to be created and start creating the project.

To complete the project creation, follow the procedure below.

  1. Summary Information screen, check the information and click the Complete button.
  2. The Project Creation popup window opens and the project creation proceeds.
  3. After the project creation is complete, click the Confirm button to move to the Project page.
Notice
It cannot be canceled during creation, and if the project is created normally, the Confirm button is activated.
Creating an ArgoCD Deployment Project
Creating an Empty Project