Skip to content

Commit

Permalink
Merge branch 'master' into gitpod
Browse files Browse the repository at this point in the history
  • Loading branch information
sunix authored Aug 10, 2023
2 parents 96e0682 + 7b51ea7 commit 7964943
Show file tree
Hide file tree
Showing 1,247 changed files with 8,935 additions and 3,225 deletions.
150 changes: 0 additions & 150 deletions .circleci/config.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ body:
Useful Links:
- 📄 Documentation: https://www.eclipse.org/jkube/docs/
- 📝 Contributing: https://www.eclipse.org/jkube/contributing
- 📄 Documentation: https://www.eclipse.dev/jkube/docs/
- 📝 Contributing: https://www.eclipse.dev/jkube/contributing/
- type: textarea
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ body:
Useful Links:
- 📄 Documentation: https://www.eclipse.org/jkube/docs/
- 📝 Contributing: https://www.eclipse.org/jkube/contributing
- 📄 Documentation: https://www.eclipse.dev/jkube/docs/
- 📝 Contributing: https://www.eclipse.dev/jkube/contributing/
- type: dropdown
id: component
id: component
attributes:
label: Component
description: Component
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ body:
Useful Links:
- 📄 Documentation: https://www.eclipse.org/jkube/docs/
- 📝 Contributing: https://www.eclipse.org/jkube/contributing
- 📄 Documentation: https://www.eclipse.dev/jkube/docs/
- 📝 Contributing: https://www.eclipse.dev/jkube/contributing/
- type: dropdown
id: component
id: component
attributes:
label: Component
description: Component
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ What types of changes does your code introduce? Put an `x` in all the boxes that
test, version modification, documentation, etc.)

## Checklist
- [ ] I have read the [contributing guidelines](https://www.eclipse.org/jkube/contributing)
- [ ] I have read the [contributing guidelines](https://www.eclipse.dev/jkube/contributing)
- [ ] I signed-off my commit with a user that has signed the [Eclipse Contributor Agreement](https://www.eclipse.org/legal/ECA.php)
- [ ] My code follows the style guidelines of this project
- [ ] I Keep It Small and Simple: The smaller the PR is, the easier it is to review and have it merged
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604
with:
disable-sudo: true
egress-policy: block
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Setup Java 11
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
java-version: '11'
distribution: 'adopt'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/quickstarts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604
with:
disable-sudo: true
egress-policy: block
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Setup Java 11
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
java-version: '11'
distribution: 'adopt'
Expand Down
28 changes: 28 additions & 0 deletions .jenkins/pipelines/dependencies.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!groovy

pipeline {
agent any
tools {
maven 'apache-maven-latest'
// https://wiki.eclipse.org/Jenkins#JDK
jdk 'temurin-jdk11-latest'
}
options {
disableConcurrentBuilds(abortPrevious: true)
}
stages {
stage('Check dependency licenses') {
steps {
sh 'echo "Eclipse Dash Tool"'
// Eclipse Dash tool retrieves dependencies from submodules which might need artifacts from previous modules
sh './mvnw -V -B -e -DskipTests install'
sh 'ECLIPSE_DASH_VERSION=1.0.2 ./scripts/eclipse-dash-tool.sh'
}
}
}
post {
success {
archiveArtifacts artifacts: 'target/dependencies-resolved.csv', fingerprint: true
}
}
}
23 changes: 23 additions & 0 deletions .jenkins/pipelines/doc-preview.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!groovy

pipeline {
agent any
tools {
maven 'apache-maven-latest'
// https://wiki.eclipse.org/Jenkins#JDK
jdk 'temurin-jdk11-latest'
}
options {
disableConcurrentBuilds(abortPrevious: true)
}
stages {
stage('Generate documentation preview') {
when { changeRequest() }
steps {
sh 'echo "Generating project documentation"'
sh './scripts/generateDoc.sh'
archiveArtifacts artifacts: 'docs-generated/*.html,docs-generated/*.txt,docs-generated/*.css', fingerprint: true
}
}
}
}
29 changes: 29 additions & 0 deletions .jenkins/pipelines/java-8.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!groovy

pipeline {
agent any
tools {
maven 'apache-maven-latest'
// https://wiki.eclipse.org/Jenkins#JDK
jdk 'temurin-jdk8-latest'
}
options {
disableConcurrentBuilds(abortPrevious: true)
}
stages {
stage('Build & Test (Java 8)') {
steps {
sh 'echo "Building Project with Java 8"'
sh '''
if [[ `javac -version 2>&1` == *"1.8.0"* ]]; then
echo "Java 8 Present."
else
echo "Java 8 Not Present."
exit 1
fi
'''
sh './mvnw -V -B -e install'
}
}
}
}
21 changes: 21 additions & 0 deletions .jenkins/pipelines/javadoc.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!groovy

pipeline {
agent any
tools {
maven 'apache-maven-latest'
// https://wiki.eclipse.org/Jenkins#JDK
jdk 'temurin-jdk11-latest'
}
options {
disableConcurrentBuilds(abortPrevious: true)
}
stages {
stage('Validate Javadoc') {
steps {
sh 'echo "Building Project with Javadoc"'
sh './mvnw -V -B -e -Pjavadoc -DskipTests install javadoc:jar'
}
}
}
}
44 changes: 44 additions & 0 deletions .jenkins/pipelines/release-snapshots.Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!groovy

def jKubeInfraEmail = 'jkube-infra@eclipse.org'

pipeline {
agent any
tools {
maven 'apache-maven-latest'
jdk 'temurin-jdk8-latest'
}
stages {
stage('Release Snapshots') {
steps {
withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING')]) {
sh 'echo "Setting up GPG signing keys"'
sh 'gpg --batch --import "${KEYRING}"'
sh 'for fpr in $(gpg --list-keys --with-colons | awk -F: \'/fpr:/ {print $10}\' | sort -u); do echo -e "5\ny\n" | gpg --batch --command-fd 0 --expert --edit-key ${fpr} trust; done'
}
sshagent(['github-bot-ssh']) {
sh 'echo "Cloning Project"'
sh 'git clone git@github.com:eclipse/jkube.git'
}
dir('jkube') {
sh 'echo "Deploying Snapshots"'
sh 'mvn -V -B -e -U -Prelease -Denforcer.skip=true deploy'
}
}
}
}
post {
unsuccessful {
emailext subject: '[JKube] SNAPSHOT deployment: Failure $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER',
body: '''Check console output at $BUILD_URL to view the results.''',
recipientProviders: [recipients()],
to: jKubeInfraEmail
}
fixed {
emailext subject: '[JKube] SNAPSHOT deployment: Bach to normal $BUILD_STATUS $PROJECT_NAME #$BUILD_NUMBER',
body: '''Check console output at $BUILD_URL to view the results.''',
recipientProviders: [recipients()],
to: jKubeInfraEmail
}
}
}
Loading

0 comments on commit 7964943

Please sign in to comment.