-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move site into /docs for easier deploy * move all chart archives into /docs * regenerate index.yaml * doc updates * align license headers: 2020, apache2 Co-authored-by: Kelly <[email protected]>
- Loading branch information
1 parent
cd18f9c
commit 16d26fb
Showing
54 changed files
with
1,343 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/* | ||
* Copyright (c) 2020-present Sonatype, Inc. All rights reserved. | ||
* | ||
* This program is licensed to you under the Apache License Version 2.0, | ||
* and you may not use this file except in compliance with the Apache License Version 2.0. | ||
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the Apache License Version 2.0 is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under. | ||
*/ | ||
@Library(['private-pipeline-library', 'jenkins-shared', 'int-jenkins-shared']) _ | ||
|
||
dockerizedBuildPipeline( | ||
prepare: { | ||
githubStatusUpdate('pending') | ||
}, | ||
buildImageId: 'docker-all.repo.sonatype.com/alpine/helm:3.5.0', | ||
buildAndTest: { | ||
sh './build.sh' | ||
}, | ||
skipVulnerabilityScan: true, | ||
archiveArtifacts: 'docs/*', | ||
testResults: [], | ||
onSuccess: { | ||
buildNotifications(currentBuild, env, 'master') | ||
}, | ||
onFailure: { | ||
buildNotifications(currentBuild, env, 'master') | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright (c) 2020-present Sonatype, Inc. All rights reserved. | ||
* | ||
* This program is licensed to you under the Apache License Version 2.0, | ||
* and you may not use this file except in compliance with the Apache License Version 2.0. | ||
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0. | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the Apache License Version 2.0 is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the Apache License Version 2.0 for the specific language governing permissions and limitations there under. | ||
*/ | ||
@Library(['private-pipeline-library', 'jenkins-shared', 'int-jenkins-shared']) _ | ||
|
||
dockerizedBuildPipeline( | ||
prepare: { | ||
githubStatusUpdate('pending') | ||
}, | ||
buildImageId: 'docker-all.repo.sonatype.com/alpine/helm', | ||
buildAndTest: { | ||
sh './build.sh' | ||
}, | ||
skipVulnerabilityScan: true, | ||
archiveArtifacts: 'docs/*', | ||
testResults: [], | ||
deployCondition: { true }, | ||
deploy: { | ||
final branch = gitBranch(env) | ||
|
||
sh """ | ||
git config --global user.email '[email protected]' | ||
git config --global user.name 'Sonatype CI' | ||
|
||
git checkout ${branch} | ||
git commit -a -m 'Release Update' | ||
git push | ||
""" | ||
}, | ||
onSuccess: { | ||
buildNotifications(currentBuild, env, 'master') | ||
}, | ||
onFailure: { | ||
buildNotifications(currentBuild, env, 'master') | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
# | ||
# Copyright (c) 2020-present Sonatype, Inc. All rights reserved. | ||
# | ||
# This program is licensed to you under the Apache License Version 2.0, | ||
# and you may not use this file except in compliance with the Apache License Version 2.0. | ||
# You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the Apache License Version 2.0 is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the Apache License Version 2.0 for the specific language governing permissions and limitations there under. | ||
# | ||
|
||
set -e | ||
|
||
# lint yaml of charts | ||
helm lint charts/nexus-iq | ||
helm lint charts/nexus-repository-manager | ||
|
||
# package the charts into tgz archives | ||
helm package charts/nexus-iq --destination docs | ||
helm package charts/nexus-repository-manager --destination docs | ||
|
||
# index the existing tgz archives | ||
cd docs | ||
helm repo index . --url https://sonatype.github.io/helm3-charts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Helm3 Charts for Sonatype Products | ||
|
||
These charts are designed to work out of the box with minikube using both Ingress | ||
and Ingress DNS addons. | ||
|
||
The current releases have been tested on minikube v1.12.3 running k8s v1.18.3 | ||
|
||
### Add as a Helm Repo | ||
|
||
`helm repo add sonatype https://sonatype.github.io/helm3-charts/` | ||
|
||
### Install a Server | ||
|
||
- NXRM: `helm install nexus-repo sonatype/nexus-repository-manager` | ||
- Nexus IQ: `helm install nexus-iq sonatype/nexus-iq-server` | ||
|
||
### Source | ||
|
||
Visit https://github.com/sonatype/helm3-charts. |
Oops, something went wrong.