Skip to content

Commit d4c5663

Browse files
authored
Merge branch 'release/1.21.0' into misc-fixes
2 parents 369b58d + 4f9d4ca commit d4c5663

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ env:
2929
jobs:
3030
docker:
3131
runs-on: ubuntu-latest
32+
env:
33+
dockerhub: ${{ secrets.DOCKERHUB_USERNAME }}
3234
permissions:
3335
packages: write
3436
strategy:
@@ -95,7 +97,9 @@ jobs:
9597
9698
push_tags=""
9799
for tag in ${tags}; do
98-
push_tags="${push_tags}${{ env.DOCKERHUB_ORG }}/${{ matrix.IMAGE }}:${tag},"
100+
if [ "${{ secrets.DOCKERHUB_USERNAME }}" == "" ]; then
101+
push_tags="${push_tags}${{ env.DOCKERHUB_ORG }}/${{ matrix.IMAGE }}:${tag},"
102+
fi
99103
push_tags="${push_tags}ghcr.io/${{ github.repository_owner }}/${{ matrix.IMAGE }}:${tag},"
100104
done
101105
push_tags="${push_tags%,*}"
@@ -127,6 +131,7 @@ jobs:
127131
128132
# login to registries
129133
- name: Login to DockerHub
134+
if: env.dockerhub != ''
130135
uses: docker/login-action@v2
131136
with:
132137
username: ${{ secrets.DOCKERHUB_USERNAME }}
@@ -193,7 +198,7 @@ jobs:
193198
194199
# update README at DockerHub
195200
- name: Docker Hub Description
196-
if: matrix.README != '' && github.event_name == 'push' && github.repository == env.MASTER_REPO && env.BRANCH == 'master'
201+
if: env.dockerhub != '' && matrix.README != '' && github.event_name == 'push' && github.repository == env.MASTER_REPO && env.BRANCH == 'master'
197202
uses: peter-evans/dockerhub-description@v2
198203
env:
199204
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88

9-
## Unreleased
9+
## 1.21.0 - 2022-08-23
10+
11+
### Fixed
12+
- Fix to remove dataset from a space [#349](https://github.com/clowder-framework/clowder/issues/349)
13+
(The count might be off to existing spaces, please run fixCounts script)
1014

1115
**_Important:_** This update requires a MongoDB update schema due to a bug in the original migration of showing summary statistics at the
1216
space level. Make sure to start the application with -DMONGOUPDATE=1. You can also run the [fixCounts.js](https://github.com/clowder-framework/clowder/blob/develop/scripts/updates/fix-counts.js)
@@ -23,6 +27,7 @@ script prior to upgrading to minimize the downtime.
2327
- Send email to all admins in a single email when a user submits 'Request access' for a space
2428
- Send email to all admins and request user in a single email when any admin accepts/rejects 'Request access' for a space [#330](https://github.com/clowder-framework/clowder/issues/330)
2529
- script/code to count space in files was not correct [#366](https://github.com/clowder-framework/clowder/issues/336)
30+
- github actions would fail for docker builds due to secrets not existing
2631

2732
## 1.20.3 - 2022-06-10
2833

app/services/mongodb/MongoDBSpaceService.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ class MongoDBSpaceService @Inject() (
429429
datasets.get(dataset) match {
430430
case Some(x) => {
431431
val datasetBytes = datasets.getBytesForDataset(dataset)
432-
datasets.addToSpace(dataset, space)
433432
ProjectSpaceDAO.update(MongoDBObject("_id" -> new ObjectId(space.stringify)), $inc("spaceBytes" -> -1 * datasetBytes), upsert=false, multi=false, WriteConcern.Safe)
434433
ProjectSpaceDAO.update(MongoDBObject("_id" -> new ObjectId(space.stringify)), $inc("fileCount" -> -1 * x.files.length), upsert=false, multi=false, WriteConcern.Safe)
435434
ProjectSpaceDAO.update(MongoDBObject("_id" -> new ObjectId(space.stringify)), $inc("datasetCount" -> -1), upsert=false, multi=false, WriteConcern.Safe)

doc/src/sphinx/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Luigi Marini'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.20.3'
25+
release = '1.21.0'
2626

2727

2828
# -- General configuration ---------------------------------------------------

project/Build.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import NativePackagerKeys._
1313
object ApplicationBuild extends Build {
1414

1515
val appName = "clowder"
16-
val version = "1.20.3"
16+
val version = "1.21.0"
1717
val jvm = "1.7"
1818

1919
def appVersion: String = {

public/swagger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ info:
99
Clowder is a customizable and scalable data management system to support any
1010
data format and multiple research domains. It is under active development
1111
and deployed for a variety of research projects.
12-
version: 1.20.3
12+
version: 1.21.0
1313
termsOfService: https://clowder.ncsa.illinois.edu/clowder/tos
1414
contact:
1515
name: Clowder

0 commit comments

Comments
 (0)