Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/odpi/egeria into code2023
Browse files Browse the repository at this point in the history
  • Loading branch information
mandy-chessell committed Oct 12, 2023
2 parents e8691b0 + 074878c commit 0e9173c
Show file tree
Hide file tree
Showing 32 changed files with 616 additions and 305 deletions.
27 changes: 25 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ updates:
- "*tomcat*"
janusgraph:
patterns:
- "*janus*"
- "*gremlin*"
- "*janusgraph*"
- "*tinkerpop*"
- "*elasticsearch*"
- "*lucene*"
slf4j:
Expand All @@ -30,6 +30,29 @@ updates:
jackson:
patterns:
- "com.fasterxml.*"
ignore:
- dependency-name: "org.apache.tinkerpop:tinkergraph-gremlin"
versions: [ "1.0.0-20231003-025335.faa9072" ]
- dependency-name: "org.janusgraph:janusgraph-core"
versions: [ "1.0.0-20231003-025335.faa9072" ]
- dependency-name: "org.janusgraph:janusgraph-inmemory"
versions: [ "1.0.0-20231003-025335.faa9072" ]
- dependency-name: "org.apache.tinkerpop:gremlin-driver"
versions: [ "3.7.0" ]
- dependency-name: "org.apache.tinkerpop:gremlin-driver"
versions: [ "3.7.0" ]
- dependency-name: "org.apache.tinkerpop:gremlin-core"
versions: [ "3.7.0" ]
- dependency-name: "org.apache.tinkerpop:gremlin-groovy"
versions: [ "3.7.0" ]
- dependency-name: "org.apache.tinkerpop:gremlin-shaded"
versions: [ "3.7.0" ]
- dependency-name: "org.elasticsearch.client:elasticsearch-rest-client"
versions: [ "8.10.2" ]
- dependency-name: "org.elasticsearch:elasticsearch"
versions: [ "8.10.2" ]
- dependency-name: "co.elastic.clients:elasticsearch-java"
versions: [ "8.10.2" ]
- package-ecosystem: docker
directory: "/open-metadata-resources/open-metadata-deployment/docker/egeria"
schedule:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.0
- uses: gradle/wrapper-validation-action@v1
- name: Setup Java JDK
uses: actions/setup-java@v3
Expand All @@ -38,7 +38,7 @@ jobs:
java-version: '17'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2.20.1
uses: github/codeql-action/init@v2.21.0
with:
languages: java
queries: security-and-quality
Expand All @@ -51,6 +51,6 @@ jobs:
cache-disabled: true
arguments: -x javadoc -x test build -PskipOpenTypesFVT
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2.20.1
uses: github/codeql-action/analyze@v2.21.0
with:
ram: 4096
2 changes: 1 addition & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.repository,'odpi/')
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.0
- name: Link Checker
uses: lycheeverse/[email protected]
with:
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/merge-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: "Merge v4"
if: startsWith(github.repository,'odpi/')
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.0
name: Checkout source
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
Expand Down Expand Up @@ -65,22 +65,22 @@ jobs:
branch: gh-pages
folder: build/docs/javadoc
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to container registry (Quay.io)
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_ACCESS_TOKEN }}
- name: Login to container registry (Docker Hub)
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
# QEMU is needed for ARM64 build for egeria-configure
# egeria-configure needs to install utilities
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set Release version env variable
run: |
echo "VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_ENV
Expand All @@ -91,15 +91,15 @@ jobs:
cp -r open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${{ env.VERSION }}-distribution.tar.gz/. open-metadata-resources/open-metadata-deployment/docker/egeria/build/assembly
- name: Build and push(egeria) to quay.io and docker.io (tag latest only for main!)
if: ${{ github.ref == 'refs/heads/main'}}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria:${{ env.VERSION }}, odpi/egeria:latest, quay.io/odpi/egeria:${{ env.VERSION }}, quay.io/odpi/egeria:latest
context: ./open-metadata-resources/open-metadata-deployment/docker/egeria
platforms: linux/amd64,linux/arm64
- name: Build and push(egeria) to quay.io and docker.io (no tag latest)
if: ${{ github.ref != 'refs/heads/main'}}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria:${{ env.VERSION }}, quay.io/odpi/egeria:${{ env.VERSION }}
Expand All @@ -108,7 +108,7 @@ jobs:
# Publish container images(egeria-configure) to quay.io and docker.io
- name: Build and push(egeria-configure) to quay.io and docker.io (tag latest)
if: ${{ github.ref == 'refs/heads/main'}}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria-configure:${{ env.VERSION }}, odpi/egeria-configure:latest, quay.io/odpi/egeria-configure:${{ env.VERSION }}, quay.io/odpi/egeria-configure:latest
Expand All @@ -118,27 +118,27 @@ jobs:
# Publish container images(egeria-configure) to quay.io and docker.io
- name: Build and push(egeria-configure) to quay.io and docker.io (no tag latest)
if: ${{ github.ref != 'refs/heads/main'}}
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria-configure:${{ env.VERSION }}, quay.io/odpi/egeria-configure:${{ env.VERSION }}
context: ./open-metadata-resources/open-metadata-deployment/docker/configure
platforms: linux/amd64,linux/arm64
# --
- name: Upload Log of any dependency failures
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: Dependency Analysis Report (on failure)
path: build/reports/dependency-analysis/build-health-report.txt
if-no-files-found: ignore
# Mostly for verification - not published to the release itself for now
- name: Upload assemblies
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: Assemblies
path: open-metadata-distribution/open-metadata-assemblies/build/distributions/*.gz
- name: Upload Test coverage report
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: Jacoco Coverage Report
path: build/reports/jacoco/codeCoverageReport
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: "Verify PR v4"
if: startsWith(github.repository,'odpi/')
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.0
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v3
Expand All @@ -32,12 +32,12 @@ jobs:
build
--scan
- name: Upload Test coverage report
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: Jacoco Coverage Report
path: build/reports/jacoco/codeCoverageReport
- name: Upload Log of any dependency failures
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: Dependency Analysis Report (on failure)
path: build/reports/dependency-analysis/build-health-report.txt
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
name: "Release"
if: startsWith(github.repository,'odpi/')
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.0
name: Checkout source
- uses: gradle/wrapper-validation-action@v1
# Prep for docker builds
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to container registry (Quay.io)
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_ACCESS_TOKEN }}
- name: Login to container registry (docker.io)
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
Expand All @@ -62,7 +62,7 @@ jobs:
# QEMU is needed for ARM64 build for egeria-configure
# egeria-configure needs to install utilities
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set Release version env variable
run: |
echo "VERSION=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_ENV
Expand All @@ -72,23 +72,23 @@ jobs:
mkdir -p ./open-metadata-resources/open-metadata-deployment/docker/egeria/build/assembly
cp -r open-metadata-distribution/open-metadata-assemblies/build/unpacked/egeria-${{ env.VERSION }}-distribution.tar.gz/. open-metadata-resources/open-metadata-deployment/docker/egeria/build/assembly
- name: Build and push(egeria) to quay.io and docker.io
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria:${{ env.VERSION }}, odpi/egeria:stable, quay.io/odpi/egeria:${{ env.VERSION }}, quay.io/odpi/egeria:stable
context: ./open-metadata-resources/open-metadata-deployment/docker/egeria
platforms: linux/amd64,linux/arm64
# Publish container images(egeria-configure) to quay.io and docker.io
- name: Build and push(egeria-configure) to quay.io and docker.io
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
push: true
tags: odpi/egeria-configure:${{ env.VERSION }}, odpi/egeria-configure:stable, quay.io/odpi/egeria-configure:${{ env.VERSION }}, quay.io/odpi/egeria-configure:stable
context: ./open-metadata-resources/open-metadata-deployment/docker/configure
platforms: linux/amd64,linux/arm64
# Mostly for verification - not published to the release itself for now
- name: Upload assemblies
uses: actions/[email protected].2
uses: actions/[email protected].3
with:
name: Assemblies
path: open-metadata-distribution/open-metadata-assemblies/build/distributions/*.gz
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@v3.5.3 # tag=v3.0.0
uses: actions/checkout@v4.1.0 # tag=v3.0.0
with:
persist-credentials: false

Expand All @@ -54,14 +54,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/[email protected].2 # tag=v3.0.0
uses: actions/[email protected].3 # tag=v3.0.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@v2.20.1 # tag=v1.0.26
uses: github/codeql-action/upload-sarif@v2.21.0 # tag=v1.0.26
with:
sarif_file: results.sarif
Loading

0 comments on commit 0e9173c

Please sign in to comment.