Skip to content

Commit 3e9d58e

Browse files
Joshua Spreycesmarvin
authored andcommitted
Merge branch 'release/v3.34.1-1'
2 parents b51f9e9 + 1d2411c commit 3e9d58e

File tree

11 files changed

+97
-37
lines changed

11 files changed

+97
-37
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v3.34.1-1] - 2021-09-28
10+
### Changed
11+
- Upgrade to Nexus 3.34.1; #83
12+
- Upgrade to java 8u282
13+
914
## [v3.32.0-2] - 2021-09-08
1015
### Fixed
1116
- Login workflow with CAS 6 in combination with OIDC.

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# registry.cloudogu.com/official/nexus
2-
FROM registry.cloudogu.com/official/java:8u252-1
3-
LABEL maintainer="robert.auer@cloudogu.com" \
2+
FROM registry.cloudogu.com/official/java:8u282-1
3+
LABEL maintainer="hello@cloudogu.com" \
44
NAME="official/nexus" \
5-
VERSION="3.32.0-2"
5+
VERSION="3.34.1-1"
66

77
# The version of nexus to install
8-
ENV NEXUS_VERSION=3.32.0-03 \
8+
ENV NEXUS_VERSION=3.34.1-01 \
99
TINI_VERSION=0.19.0 \
1010
NEXUS_CLAIM_VERSION=1.0.0 \
1111
NEXUS_CARP_VERSION=1.3.0 \
@@ -16,7 +16,7 @@ ENV NEXUS_VERSION=3.32.0-03 \
1616
NEXUS_WORKDIR=/opt/sonatype/nexus \
1717
NEXUS_SERVER="http://localhost:8081/nexus" \
1818
SHA256_TINI="c5b0666b4cb676901f90dfcb37106783c5fe2077b04590973b885950611b30ee" \
19-
SHA256_NEXUS_TAR="f5b8021d26b4faa9b56fc79fc342656640dbdb60f80ac2c65d8fb418f65d8f9d" \
19+
SHA256_NEXUS_TAR="58d69f6fc28a9ed1616ad99c3ef390c7484e88cf729efc450c6e21273e8571e3" \
2020
SHA256_NEXUS_CLAIM="a34608ac7b516d6bc91f8a157bea286919c14e5fb5ecc76fc15edccb35adec42" \
2121
SHA256_NEXUS_SCRIPTING="60c7f3d8a0c97b1d90d954ebad9dc07dbeb7927934b618c874b2e72295cafb48" \
2222
SHA256_NEXUS_CARP="67948805a0395e658d07aa7759653c6309d20f5f128015b9c0d2782b43cf7824"

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!groovy
2-
@Library(['github.com/cloudogu/ces-build-lib@1.44.2', 'github.com/cloudogu/dogu-build-lib@v1.3.0', 'github.com/cloudogu/[email protected].1'])
2+
@Library(['github.com/cloudogu/ces-build-lib@v1.48.0', 'github.com/cloudogu/dogu-build-lib@v1.4.1'])
33
import com.cloudogu.ces.cesbuildlib.*
44
import com.cloudogu.ces.dogubuildlib.*
55
import com.cloudogu.ces.zaleniumbuildlib.*

README.md

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,10 @@ cesapp install official/nexus
2525
cesapp start nexus
2626
```
2727

28-
## Claim
28+
## Where do I find more information about the Nexus dogu?
2929

30-
The preconfigured nexus repositories can be changed by using [nexus-claim](https://github.com/cloudogu/nexus-claim).
31-
First we have to create a model for our changes, e.g.: [sample](https://raw.githubusercontent.com/cloudogu/nexus-claim/develop/resources/nexus3/nexus3-initial-example.hcl).
32-
We could test our model by using the plan command against a running instance of nexus (note: do not forget to set credentials):
33-
34-
```bash
35-
nexus-claim plan -i nexus3-initial-example.hcl
36-
```
37-
38-
If the output looks good, we could store our model in the registry.
39-
If we want to apply our model only once:
40-
41-
```bash
42-
cat mymodel.hcl | etcdctl set /config/nexus/claim/once
43-
```
44-
45-
Or we could apply our model on every start of nexus:
46-
47-
```bash
48-
cat mymodel.hcl | etcdctl set /config/nexus/claim/always
49-
```
50-
51-
## Nexus-Scripting
52-
[Nexus-Scripting](https://github.com/cloudogu/nexus-scripting) provides an go api and a command line interface for the scripting api Sonatype Nexus 3.
53-
54-
## Nexus-Carp
55-
[Nexus-Carp](https://github.com/cloudogu/nexus-carp) is the CAS Authentication Reverse Proxy for Sonatype Nexus.
30+
- [Deutsch] [Dokumentation](docs/getting_started_de.md)
31+
- [English] [Documentation](docs/getting_started_en.md)
5632

5733
---
5834
### What is the Cloudogu EcoSystem?

docs/getting_started_de.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: "Getting Started"
3+
---
4+
5+
# Nexus-Dokumentation
6+
7+
## Nexus-Scripting
8+
[Nexus-Scripting](https://github.com/cloudogu/nexus-scripting) bietet eine Go-Api und eine Kommandozeilen-Schnittstelle für die Scripting-Api Sonatype Nexus 3.
9+
10+
## Nexus-Carp
11+
[Nexus-Carp](https://github.com/cloudogu/nexus-carp) ist der CAS Authentication Reverse Proxy für Sonatype Nexus.
12+
13+
## Guides
14+
15+
- [Nexus-claim zur Vorkonfiguration von Repositories verwenden](operations/preconfigure_repositories_de.md)
16+

docs/getting_started_en.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: "Getting Started"
3+
---
4+
5+
# Nexus documentation
6+
7+
## Nexus-Scripting
8+
[Nexus-Scripting](https://github.com/cloudogu/nexus-scripting) provides a go api and a command line interface for the scripting api Sonatype Nexus 3.
9+
10+
## Nexus-Carp
11+
[Nexus-Carp](https://github.com/cloudogu/nexus-carp) is the CAS Authentication Reverse Proxy for Sonatype Nexus.
12+
13+
## Guides
14+
15+
- [Use nexus-claim to preconfigure repositories](operations/preconfigure_repositories_en.md)
16+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Verwenden Sie nexus-claim, um die Repositories vorzukonfigurieren
2+
3+
Die vorkonfigurierten Nexus-Repositories können mit [nexus-claim](https://github.com/cloudogu/nexus-claim) geändert werden.
4+
Zuerst müssen wir ein Model für unsere Änderungen erstellen, z.B.: [sample](https://raw.githubusercontent.com/cloudogu/nexus-claim/develop/resources/nexus3/nexus3-initial-example.hcl).
5+
Wir können unser Model testen, indem wir den Befehl plan gegen eine laufende Instanz von Nexus verwenden (Hinweis: Vergessen Sie nicht, die Anmeldedaten zu setzen):
6+
7+
```bash
8+
nexus-claim plan -i nexus3-initial-example.hcl
9+
```
10+
11+
Wenn die Ausgabe gut aussieht, können wir unser Model in der Registry speichern.
12+
Wenn wir unser Model nur einmal anwenden wollen:
13+
14+
```bash
15+
cat mymodel.hcl | etcdctl set /config/nexus/claim/once
16+
```
17+
18+
Oder wir könnten unser Model bei jedem Start von Nexus anwenden:
19+
20+
```bash
21+
cat mymodel.hcl | etcdctl set /config/nexus/claim/always
22+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## Use nexus-claim to preconfigure repositories
2+
3+
The preconfigured Nexus repositories can be changed by using [nexus-claim](https://github.com/cloudogu/nexus-claim).
4+
First we have to create a model for our changes, e.g.: [sample](https://raw.githubusercontent.com/cloudogu/nexus-claim/develop/resources/nexus3/nexus3-initial-example.hcl).
5+
We could test our model by using the plan command against a running instance of Nexus (note: do not forget to set credentials):
6+
7+
```bash
8+
nexus-claim plan -i nexus3-initial-example.hcl
9+
```
10+
11+
If the output looks good, we could store our model in the registry.
12+
If we want to apply our model only once:
13+
14+
```bash
15+
cat mymodel.hcl | etcdctl set /config/nexus/claim/once
16+
```
17+
18+
Or we could apply our model on every start of nexus:
19+
20+
```bash
21+
cat mymodel.hcl | etcdctl set /config/nexus/claim/always
22+
```

dogu.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/nexus",
3-
"Version": "3.32.0-2",
3+
"Version": "3.34.1-1",
44
"DisplayName": "Sonatype Nexus",
55
"Description": "The Nexus Repository is like the local warehouse where all of the parts and finished goods used in your software supply chain are stored and distributed.",
66
"Url": "http://www.sonatype.org/nexus",

integrationTests/cypress/support/step_definitions/dogu_integration_test_library_steps.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ doguTestLibrary.registerSteps()
55
When(/^the user clicks the dogu logout button$/, function () {
66
Cypress.on('uncaught:exception', () => { return false; }); // Catch nexus errors and prevent test from failing
77
cy.fullyLoadPageAndClosePopups()
8-
cy.get('#nx-header-signout-1144-btnEl').click();
8+
cy.get('#nx-header-signout-1146-btnInnerEl').click();
99
});
1010

1111
Then(/^the user has administrator privileges in the dogu$/, function () {
1212
Cypress.on('uncaught:exception', () => { return false; }); // Catch nexus errors and prevent test from failing
1313
cy.fullyLoadPageAndClosePopups()
14-
cy.get('#button-1125-btnIconEl').should('be.visible')
14+
cy.get('#button-1127-btnIconEl').should('be.visible')
1515
});
1616

1717
Then(/^the user has no administrator privileges in the dogu$/, function () {
1818
Cypress.on('uncaught:exception', () => { return false; }); // Catch nexus errors and prevent test from failing
1919
cy.fullyLoadPageAndClosePopups()
20-
cy.get('#button-1125-btnIconEl').should('not.be.visible')
20+
cy.get('#button-1127-btnIconEl').should('not.be.visible')
2121
});

0 commit comments

Comments
 (0)