Skip to content

Commit

Permalink
Merge pull request #307 from ClusterCockpit/hotfix
Browse files Browse the repository at this point in the history
Prepare release v1.4.0
  • Loading branch information
moebiusband73 authored Dec 4, 2024
2 parents 9396e74 + 1e43654 commit fcf5079
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ archives:
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
checksum:
name_template: 'checksums.txt'
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
Expand Down Expand Up @@ -100,7 +100,7 @@ changelog:
release:
draft: false
footer: |
Supports job archive version 1 and database version 6.
Supports job archive version 2 and database version 8.
Please check out the [Release Notes](https://github.com/ClusterCockpit/cc-backend/blob/master/ReleaseNotes.md) for further details on breaking changes.
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
34 changes: 30 additions & 4 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,37 @@
# `cc-backend` version 1.3.1
# `cc-backend` version 1.4.0

Supports job archive version 1 and database version 7.
Supports job archive version 2 and database version 8.

This is a bugfix release of `cc-backend`, the API backend and frontend
This is a minor release of `cc-backend`, the API backend and frontend
implementation of ClusterCockpit.
For release specific notes visit the [ClusterCockpit Documentation](https://clusterockpit.org/docs/release/).

## Breaking changes

None
- You need to perform a database migration. Depending on your database size the
migration might require several hours!
- You need to adapt the `cluster.json` configuration files in the job-archive,
add new required attributes to the metric list and after that edit
`./job-archive/version.txt` to version 2.
- Continuous scrolling is default now in all job lists. You can change this back
to paging globally, also every user can configure to use paging or continuous
scrolling individually.
- Tags have a scope now. Existing tags will get global scope in the database
migration.

## New features

- Tags have a scope now. Tags created by a basic user are only visible by that
user. Tags created by an admin/support role can be configured to be visible by
all users (global scope) or only be admin/support role.
- Re-sampling support for running (requires a recent `cc-metric-store`) and
archived jobs. This greatly speeds up loading of large or very long jobs. You
need to add the new configuration key `enable-resampling` to the `config.json`
file.
- For finished jobs a total job energy is shown in the job view.
- Continuous scrolling in job lists is default now.
- All database queries (especially for sqlite) were optimized resulting in
dramatically faster load times.
- A performance and energy footprint can be freely configured on a per
subcluster base. One can filter for footprint statistics for running and
finished jobs.
6 changes: 3 additions & 3 deletions pkg/schema/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,13 @@ type ProgramConfig struct {
// Defines time X in seconds in which jobs are considered to be "short" and will be filtered in specific views.
ShortRunningJobsDuration int `json:"short-running-jobs-duration"`

// Array of Clusters
Clusters []*ClusterConfig `json:"clusters"`

// Energy Mix CO2 Emission Constant [g/kWh]
// If entered, displays estimated CO2 emission for job based on jobs totalEnergy
EmissionConstant int `json:"emission-constant"`

// Frequency of cron job workers
CronFrequency *CronFrequency `json:"cron-frequency"`

// Array of Clusters
Clusters []*ClusterConfig `json:"clusters"`
}
5 changes: 4 additions & 1 deletion pkg/schema/schemas/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
},
"apiAllowedIPs": {
"description": "Addresses from which secured API endpoints can be reached",
"type": "string"
"type": "array",
"items": {
"type": "string"
}
},
"user": {
"description": "Drop root permissions once .env was read and the port was taken. Only applicable if using privileged port.",
Expand Down

0 comments on commit fcf5079

Please sign in to comment.