Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitpod support #613

Closed
pnoltes opened this issue Aug 14, 2023 · 0 comments
Closed

Gitpod support #613

pnoltes opened this issue Aug 14, 2023 · 0 comments
Labels
build/environment Categorizes an issue or PR relevant to the build environment. good first issue Denotes an issue ready for a new contributor kind/wish Categorizes issue or PR as a wish.

Comments

@pnoltes
Copy link
Contributor

pnoltes commented Aug 14, 2023

Gitpod

Add support for Gitpod, so that it possible to develop / try out Apache Celix directly from a browser.

Background

Gitpod is an open-source Kubernetes application for ready-to-code cloud development environments that spins up fresh, automated dev environments for each task, in the cloud, in seconds. It enables you to describe your dev environment as code and start instant, remote and cloud development environments directly from your browser or your Desktop IDE.

Tightly integrated with GitLab, GitHub, and Bitbucket, Gitpod automatically and continuously prebuilds dev environments for all your branches. As a result, team members can instantly start coding with fresh, ephemeral, and fully-compiled dev environments - no matter if you are building a new feature, want to fix a bug, or do a code review.

Source: https://github.com/gitpod-io/gitpod

Implementation hints

Add a gitpod launch link to the top level README.md in Apache Celix. Something like:

![Celix MacOS](https://github.com/apache/celix/workflows/Celix%20MacOS/badge.svg)
[![codecov](https://codecov.io/gh/apache/celix/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/celix) 
[![Coverity Scan Build Status](https://scan.coverity.com/projects/6685/badge.svg)](https://scan.coverity.com/projects/6685)
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/apache/celix)

Tryout, test and eventually add the needed gitpod configuration files to develop Apache Celix in gitpod. In 2020 the following files were needed:

.gitpod.Dockerfile:

FROM gitpod/workspace-full
RUN sudo apt-get update && \
        sudo apt-get install -yq --no-install-recommends \
          build-essential \
          curl \
          uuid-dev \
          libjansson-dev \
          libcurl4-openssl-dev \
          default-jdk \
          cmake \
          libffi-dev \
          libxml2-dev \
          libczmq-dev \
          libcpputest-dev \
          libtbb-dev

.gitpod.yml:

vscode:
  extensions:
    - [email protected]:QI2POGDzx7mhyCmZyf/3vg==

image:
  file: .gitpod.Dockerfile

But these configuration snippets will probably be outdated.

Configure vscode to work with C, C++, CMake and maybe google test (C++ TestMate pluging) and commit the needed configuration (.theia/settings.json ?).

If needed also update the .gitignore file to ignore cache/build dirs/files.

@pnoltes pnoltes added build/environment Categorizes an issue or PR relevant to the build environment. good first issue Denotes an issue ready for a new contributor kind/wish Categorizes issue or PR as a wish. labels Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/environment Categorizes an issue or PR relevant to the build environment. good first issue Denotes an issue ready for a new contributor kind/wish Categorizes issue or PR as a wish.
Projects
None yet
Development

No branches or pull requests

2 participants