mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Add correct versions
This commit is contained in:
parent
113cb863e0
commit
85c7b9e357
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ TARGET = ./cc-backend
|
|||||||
VAR = ./var
|
VAR = ./var
|
||||||
CFG = config.json .env
|
CFG = config.json .env
|
||||||
FRONTEND = ./web/frontend
|
FRONTEND = ./web/frontend
|
||||||
VERSION = 1
|
VERSION = 1.0.0
|
||||||
GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development')
|
GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development')
|
||||||
CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S")
|
CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S")
|
||||||
LD_FLAGS = '-s -X main.buildTime=${CURRENT_TIME} -X main.version=${VERSION} -X main.hash=${GIT_HASH}'
|
LD_FLAGS = '-s -X main.buildTime=${CURRENT_TIME} -X main.version=${VERSION} -X main.hash=${GIT_HASH}'
|
||||||
|
27
ReleaseNotes.md
Normal file
27
ReleaseNotes.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
# `cc-backend` version 1.0.0
|
||||||
|
|
||||||
|
Supports job archive version 1 and database version 4.
|
||||||
|
|
||||||
|
This is the initial release of `cc-backend`, the API backend and frontend
|
||||||
|
implementation of ClusterCockpit.
|
||||||
|
|
||||||
|
**Breaking changes**
|
||||||
|
|
||||||
|
The aggregate job statistic core hours is now computed using the job table
|
||||||
|
column `num_hwthreads`. In a the future release this column will be renamed to
|
||||||
|
`num_cores`. For correct display of core hours `num_hwthreads` must be correctly
|
||||||
|
filled on job start. If your existing jobs do not provide the correct value in
|
||||||
|
this column then you can set this with one SQL INSERT statement. This only applies
|
||||||
|
if you have exclusive jobs, only. Please be aware that we treat this column as
|
||||||
|
it is the number of cores. In case you have SMT enabled and `num_hwthreads`
|
||||||
|
is not the number of cores the core hours will be too high by a factor!
|
||||||
|
|
||||||
|
**Features**
|
||||||
|
* Supports user roles admin, support, manager, user, and api.
|
||||||
|
* Unified search bar supports job id, job name, project id, user name, and name
|
||||||
|
* Performance improvements for sqlite db backend
|
||||||
|
* Extended REST api supports to query job metrics
|
||||||
|
* Better support for shared jobs
|
||||||
|
* More flexible metric list configuration
|
||||||
|
* Versioning and migration for database and job archive
|
||||||
|
|
@ -32,7 +32,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// @title ClusterCockpit REST API
|
// @title ClusterCockpit REST API
|
||||||
// @version 1
|
// @version 1.0.0
|
||||||
// @description API for batch job control.
|
// @description API for batch job control.
|
||||||
|
|
||||||
// @tag.name Job API
|
// @tag.name Job API
|
||||||
|
Loading…
Reference in New Issue
Block a user