Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISH-8589 FISH-8593 add jenkins config & Dependabot #83

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 162 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
# Configuration for Maven
- package-ecosystem: "maven"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
open-pull-requests-limit: 5
target-branch: "master"
ignore:
# Ignore major and minor version updates for dependencies with group IDs starting with jakarta
- dependency-name: "jakarta.*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]

# Ignore major and minor version updates for dependencies with group IDs starting with org.eclipse.microprofile
- dependency-name: org.eclipse.microprofile*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]

# Ignore major version updates for dependencies with group ID starting with fish.payara
- dependency-name: "fish.payara.*"
update-types: ["version-update:semver-major"]

# Ignore major version updates for individual dependencies within the org.eclipse.persistence group
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.core"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.jpa"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.jpa.spql"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.moxy"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.sdo"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.dbws"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.oracle"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.antlr"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.asm"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.jpa.modelgen.processor"
update-types: ["version-update:semver-major"]

# Ignore major version updates for org.glassfish and related dependencies
- dependency-name: "org.glassfish:jakarta.enterprise.concurrent"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.mq:mq"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish:jakarta.faces"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.soteria:jakarta.security.enterprise"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.soteria:soteria.spi.bean.decorator.weld"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.metro:webservices-osgi"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.metro:webservices-extra-jdk-packages"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.metro:webservices-api-osgi"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.web:jakarta.servlet.jsp.jstl"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.expressly:expressly"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.wasp:wasp"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.hk2:hk2-bom"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.grizzly:grizzly-bom"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.jersey:jersey-bom"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.tyrus:tyrus-bom"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.exousia:exousia"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.woodstock:woodstock-webui-jsf"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.woodstock:woodstock-webui-jsf-suntheme"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.jsftemplating:jsftemplating"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.annotations:logging-annotation-processor"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.pfl:pfl-tf-tools"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.pfl:pfl-basic-tools"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.pfl:pfl-dynamic"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.pfl:pfl-basic"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.corba:glassfish-corba-omgapi"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.corba:glassfish-corba-internal-api"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.corba:rmic"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.corba:glassfish-corba-orb"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.corba:glassfish-corba-csiv2-idl"
update-types: ["version-update:semver-major"]
- dependency-name: "org.glassfish.ha:ha-api"
update-types: ["version-update:semver-major"]

# Ignore major version updates for org.eclipse and related dependencies
- dependency-name: "org.eclipse:yasson"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.parsson:jakarta.json"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.parsson:parsson-media"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.angus:angus-activation"
update-types: ["version-update:semver-major"]
- dependency-name: "org.eclipse.angus:angus-mail"
update-types: ["version-update:semver-major"]

# Ignore major version updates for com.ibm.jbatch and related dependencies
- dependency-name: "com.ibm.jbatch:com.ibm.jbatch.container"
update-types: ["version-update:semver-major"]
- dependency-name: "com.ibm.jbatch:com.ibm.jbatch.spi"
update-types: ["version-update:semver-major"]

# Ignore major version updates for com.sun.xml.bind
- dependency-name: "com.sun.xml.bind:jaxb-osgi"
update-types: ["version-update:semver-major"]

# Ignore major version updates for org.hibernate.validator and related dependencies
- dependency-name: "org.hibernate.validator:hibernate-validator"
update-types: ["version-update:semver-major"]
- dependency-name: "org.hibernate.validator:hibernate-validator-cdi"
update-types: ["version-update:semver-major"]

# Ignore major version updates for org.jboss.weld and related dependencies
- dependency-name: "org.jboss.weld:weld-osgi-bundle"
update-types: ["version-update:semver-major"]
- dependency-name: "org.jboss.weld:weld-api"
update-types: ["version-update:semver-major"]
- dependency-name: "org.jboss.weld:weld-lite-extension-translator"
update-types: ["version-update:semver-major"]
- dependency-name: "org.jboss.weld:weld-core-impl"
update-types: ["version-update:semver-major"]
- dependency-name: "org.jboss.weld:weld-spi"
update-types: ["version-update:semver-major"]
- dependency-name: "org.jboss.weld.se:weld-se-shaded"
update-types: ["version-update:semver-major"]
- dependency-name: "org.jboss.weld.environment:weld-environment-common"
update-types: ["version-update:semver-major"]

- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "weekly"
ignore:
- dependency-name: "*"
target-branch: "master"
42 changes: 42 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!groovy

pipeline {

agent {
label 'general-purpose'
}
tools {
jdk "zulu-17"
maven "maven-3.6.3"
}
environment {
JAVA_HOME = tool("zulu-17")
MAVEN_OPTS = '-Xmx2G -Djavax.net.ssl.trustStore=${JAVA_HOME}/jre/lib/security/cacerts'
payaraBuildNumber = "${BUILD_NUMBER}"
}
stages {

stage('Checkout Master') {
steps {
script {
checkout changelog: false, poll: true, scm: [$class: 'GitSCM',
branches: [[name: "master"]],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
userRemoteConfigs: [[credentialsId: 'payara-devops-github-personal-access-token-as-username-password', url:"https://github.com/payara/ecosystem-eclipse-plugin.git"]]]
}
}
}
stage('Build') {
steps {
script {
echo '*#*#*#*#*#*#*#*#*#*#*#*# Building SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
sh """mvn -B -V -ff -e clean install --strict-checksums \
-Djavadoc.skip -Dsource.skip"""
echo '*#*#*#*#*#*#*#*#*#*#*#*# Built SRC *#*#*#*#*#*#*#*#*#*#*#*#*#*#*#'
}
}
}
}
}