Skip to content

Commit

Permalink
Release version 0.1.3 (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 30, 2022
1 parent aedbf25 commit 194c604
Show file tree
Hide file tree
Showing 364 changed files with 11,079 additions and 7,216 deletions.
90 changes: 13 additions & 77 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,26 @@ on:
- '[0-9]+.[0-9]+.[0-9]+'
release:
types:
- released
- published
pull_request:
paths-ignore:
- 'charts/**'
branches:
- '*'
workflow_dispatch:

jobs:
secret-presence:
runs-on: ubuntu-latest
outputs:
CXNG_GHCR_PAT: ${{ steps.secret-presence.outputs.CXNG_GHCR_PAT }}
ORG_VERACODE_API_ID: ${{ steps.secret-presence.outputs.ORG_VERACODE_API_ID }}
ORG_VERACODE_API_KEY: ${{ steps.secret-presence.outputs.ORG_VERACODE_API_KEY }}
SONAR_TOKEN: ${{ steps.secret-presence.outputs.SONAR_TOKEN }}
steps:
-
name: Check whether secrets exist
id: secret-presence
run: |
[ ! -z "${{ secrets.CXNG_GHCR_PAT }}" ] && echo "::set-output name=CXNG_GHCR_PAT::true"
[ ! -z "${{ secrets.ORG_VERACODE_API_ID }}" ] && echo "::set-output name=ORG_VERACODE_API_ID::true"
[ ! -z "${{ secrets.ORG_VERACODE_API_KEY }}" ] && echo "::set-output name=ORG_VERACODE_API_KEY::true"
[ ! -z "${{ secrets.SONAR_TOKEN }}" ] && echo "::set-output name=SONAR_TOKEN::true"
exit 0
Expand All @@ -41,12 +38,12 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
-
name: Set up JDK 11
uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v3.6.0
with:
java-version: '11'
distribution: 'adopt'
Expand All @@ -64,23 +61,16 @@ jobs:
# Set-Up
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
-
name: Set up JDK 11
uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v3.6.0
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
-
name: Init git submodule
run: git submodule update --init
-
name: Build edc with Gradle to get specific snapshot
run: ./gradlew publishToMavenLocal -Pskip.signing=true -PedcVersion=0.0.1-20220922-SNAPSHOT -xjavadoc
working-directory: edc
-
name: Cache SonarCloud packages
uses: actions/cache@v3
Expand Down Expand Up @@ -110,22 +100,15 @@ jobs:
# Set-Up
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.1.0
-
name: Set up JDK 11
uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v3.6.0
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
# Build
-
name: Init git submodule
run: git submodule update --init
-
name: Build edc with Gradle to get specific snapshot
run: ./gradlew publishToMavenLocal -Pskip.signing=true -PedcVersion=0.0.1-20220922-SNAPSHOT -xjavadoc
working-directory: edc
-
name: Build Extensions
run: |-
Expand All @@ -142,13 +125,14 @@ jobs:
matrix:
name:
- edc-controlplane-memory
- edc-controlplane-memory-hashicorp-vault
- edc-controlplane-postgresql
- edc-controlplane-postgresql-hashicorp-vault
steps:
# Set-Up
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.1.0
-
name: Login to GitHub Container Registry
if: |
Expand All @@ -160,19 +144,12 @@ jobs:
password: ${{ secrets.CXNG_GHCR_PAT }}
-
name: Set up JDK 11
uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v3.6.0
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
# Build
-
name: Init git submodule
run: git submodule update --init
-
name: Build edc with Gradle to get specific snapshot
run: ./gradlew publishToMavenLocal -Pskip.signing=true -PedcVersion=0.0.1-20220922-SNAPSHOT -xjavadoc
working-directory: edc
-
name: Build Controlplane
run: |-
Expand Down Expand Up @@ -206,23 +183,6 @@ jobs:
${{ (needs.secret-presence.outputs.CXNG_GHCR_PAT && github.event_name != 'pull_request' && 'true') || 'false' }}
tags: ${{ steps.edc_controlplane_meta.outputs.tags }}
labels: ${{ steps.edc_controlplane_meta.outputs.labels }}
-
name: Veracode Upload And Scan
uses: veracode/[email protected]
if: |
needs.secret-presence.outputs.ORG_VERACODE_API_ID && needs.secret-presence.outputs.ORG_VERACODE_API_KEY && contains('
refs/heads/develop
refs/heads/release/
refs/tags/
refs/heads/main', github.ref)
continue-on-error: true
with:
appname: product-edc/${{ matrix.name }}
createprofile: true
version: ${{ github.ref }}-${{ github.sha }}
filepath: edc-controlplane/${{ matrix.name }}/target/${{ matrix.name }}.jar
vid: ${{ secrets.ORG_VERACODE_API_ID }}
vkey: ${{ secrets.ORG_VERACODE_API_KEY }}

build-dataplane:
runs-on: ubuntu-latest
Expand All @@ -237,7 +197,7 @@ jobs:
# Set-Up
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v3.1.0
-
name: Login to GitHub Container Registry
if: |
Expand All @@ -249,19 +209,12 @@ jobs:
password: ${{ secrets.CXNG_GHCR_PAT }}
-
name: Set up JDK 11
uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v3.6.0
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
# Build
-
name: Init git submodule
run: git submodule update --init
-
name: Build edc with Gradle to get specific snapshot
run: ./gradlew publishToMavenLocal -Pskip.signing=true -PedcVersion=0.0.1-20220922-SNAPSHOT -xjavadoc
working-directory: edc
-
name: Build Dataplane
run: |-
Expand Down Expand Up @@ -295,20 +248,3 @@ jobs:
${{ (needs.secret-presence.outputs.CXNG_GHCR_PAT && github.event_name != 'pull_request' && 'true') || 'false' }}
tags: ${{ steps.edc_dataplane_meta.outputs.tags }}
labels: ${{ steps.edc_dataplane_meta.outputs.labels }}
-
name: Veracode Upload And Scan
uses: veracode/[email protected]
if: |
needs.secret-presence.outputs.ORG_VERACODE_API_ID && needs.secret-presence.outputs.ORG_VERACODE_API_KEY && contains('
refs/heads/develop
refs/heads/release/
refs/tags/
refs/heads/main', github.ref)
continue-on-error: true
with:
appname: product-edc/${{ matrix.name }}
createprofile: true
version: ${{ github.ref }}-${{ github.sha }}
filepath: edc-dataplane/${{ matrix.name }}/target/${{ matrix.name }}.jar
vid: ${{ secrets.ORG_VERACODE_API_ID }}
vkey: ${{ secrets.ORG_VERACODE_API_KEY }}
Loading

0 comments on commit 194c604

Please sign in to comment.