Skip to content
Snippets Groups Projects

Add a dockerfile and a script building "slim" AuTA images

3 files
+ 54
2
Compare changes
  • Side-by-side
  • Inline

Files

+ 10
2
@@ -19,11 +19,19 @@ Like the core, the worker requires a Java 11 runtime.
## Usage
### Core
**Jar**
Start the core as follows:
```sh
java -jar core.jar
```
**Docker**
```sh
docker run f00f/auta-core
```
The server allows for set-up using username `admin` and password `admin`. Configure the server
as needed and restart the process.
@@ -45,7 +53,7 @@ A table of arguments and their description:
**Docker**:
```sh
docker run -e {environment variables} wukl/auta-worker
docker run -e {environment variables} f00f/auta-worker
```
As opposed to running the worker with the jar, all environment variables are mandatory.
@@ -69,4 +77,4 @@ trampoline when polling the `GET /api/v1/assignment/{aid}/submission/{sid}` endp
This endpoint creates a new submission for the given sid, which should be equal to the SHA-1 commit hash
that GitLab generates. If a submission already exists in AuTA's database (for example if the pipeline for
a commit is run twice) then AuTA will delete previous submission data.
\ No newline at end of file
a commit is run twice) then AuTA will delete previous submission data.
Loading