Skip to content

giubacc/ceph-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ceph development with Visual Studio Code

Requirements

Users should ensure to have the following programs installed on their system:

  • bash, id, getent

Steps

  1. Clone ceph-vscode project to a local folder
  2. Clone ceph project to a local folder
  3. Copy ceph-vscode's .devcontainer and .vscode directories into ceph project folder
  4. VSCode -> open ceph project folder -> >< (left bottom button) -> Open Folder in Container...

Functionalities

Users can build, develop and test Ceph inside a Docker container without being forced to install or configure anything on their own machine.
Visual Studio Code can take care of automatically download and build a developer Docker image.
Host's user will match UID and GID with the user inside the container.
This ensures that every modification from inside the container will be completely transparent from the host's perspective.
Moreover, host's user ~/.ssh directory will be mounted on the container's user ~/.ssh directory. This is especially convenient if an ssh authentication type is configured to work with GitHub.
From inside the container, users will be able to access the host's Docker engine as if they were just in a regular host's shell.

Build radosgw with dbstore & sfs backends

To build radosgw, simply press: ctrl + shift + b and choose an option.
Typically, for an upstream build of radosgw you want to execute in sequence these tasks:

  • cmake-upstream
  • build [radosgw]

If you are developing the radosgw in the context of s3gw project, you can execute:

  • cmake-s3gw
  • build [radosgw]

Some tasks have been defined for building certain unit tests, for example:

  • build [unittest_rgw_sfs_sfs_bucket]

You can use these templates to define other build configurations.

Debug radosgw with dbstore & sfs backends

radosgw has debug configurations set up to use dbstore and sfs SAL backends with wd_dbstore and wd_sfs directories as working directories.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published