Skip to content
Snippets Groups Projects
Commit 725cb96a authored by Zachary Sabourin's avatar Zachary Sabourin
Browse files

feat: Update Gitlab image to pull current version

Resolves #136
parent 20b9c9ef
No related branches found
No related tags found
No related merge requests found
......@@ -17,12 +17,14 @@ generate-spec: validate-spec;
yarn run generate-json-schema
validate-spec: install-yarn;
compile-start: compile-quick start;
compile-start-full: compile-quick start-full;
## Docker/service binds - services soft split from application to enable dev-start easier
start:;
docker compose build
docker compose up -d
start-services: stop-services;
docker compose up mariadb -d
start-full: start start-opt;
start-opt: stop-opt;
docker compose --profile optional-services up -d
stop: stop-application;
......
# git-eca-rest-api
---
**NOTE**
This project was migrated to [Eclipse Gitlab](https://gitlab.eclipse.org/eclipsefdn/it/api/git-eca-rest-api) on October 14, 2021.
......@@ -30,7 +31,9 @@ If you want to learn more about Quarkus, please visit its website: https://quark
<!-- /TOC -->
## About validation
### What is a valid commit?
To be considered a valid commit, the following set of rules are checked against all commits that are submitted to this service. If any fail and the commit is related to a project, the service returns a message indicating the commit is not suitable for submission along with messages as hints.
1. All users that commit or author changes within a project within the Eclipse space must have a signed [ECA](https://accounts.eclipse.org/user/eca), and therefore, Eclipse accounts.
......@@ -74,15 +77,17 @@ Different operating system, different file paths!
Windows: C:\Windows\System32\drivers\etc\hosts
Linux / MacOS: /etc/hosts
```
```bash
127.0.0.1 api.eclipse.dev.docker
127.0.0.1 gitlab.eclipse.dev.docker
```
## Application setup and operation
### Setting up the application for local use
Pre-requisites:
- Make
- Maven (apt install maven)
- Java 11 > (apt install openjdk-11-jdk)
......@@ -92,15 +97,21 @@ Pre-requisites:
To build and start the server:
```
```bash
make compile-start
```
To build and start with a running Gitlab instance:
```bash
make compile-start-full
```
### Running the application in dev mode
You can run your application in dev mode that enables live coding using:
```
```bash
make dev-start
```
......@@ -113,6 +124,7 @@ Be aware that it’s not an _über-jar_ as the dependencies are copied into the
The application is now runnable using `java -jar target/git-eca-rest-api-0.0.1-runner.jar`.
## Private Project Reports
### Usage
The private project reports are accessed through `/git/reports/gitlab/private-projects` and can be filtered using various parameters.
......
......@@ -24,7 +24,7 @@ services:
cpus: '0.001'
memory: 192M
gitlab:
image: 'gitlab/gitlab-ee:latest'
image: 'gitlab/gitlab-ee:15.11.10-ee.0'
restart: always
hostname: 'gitlab.eclipse.dev.docker'
profiles:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment