-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add issuer component * build: add helm chart for issuer component * feat(notification): adjust notification endpoint * fix(build): enable build of docker images (#21) * feat: add callback process step * chore: enable helm chart (#22) * fix: remove lint issue * fix: solve templating issues * chore: change setup of cronjobs: remove hooks * chore: change name setup of job resources * chore: add line breaks * chore: move placeholder value into resources * chore: change to unique templates for db subchart * chore: change secret setup * chore: move passwords from db dependency to according section * chore: remove upgrade env file * chore: change centralidp setup * chore: rearrange health checks * chore: rearrange values file * chore: change ingress to trg-5.04 * chore: fix container name and namespace * chore: change image tag retrieval * chore: change version * chore(db-dependency): change image tag to get latest minor updates * chore: set resource limits * chore: update readme files * chore: change credentialexpiry to camelcase * chore: fix helm chart, improve workflows and docs (#23) * chore(helm-test): fix image name and tag override at upgrade * chore: fix owasp scan * chore(helm-test and owasp): change set command * chore: re-arrange values file * chore(pre-checks): run only on changes to src/** * docs(CONTRIBUTING.md): update to contribution details * chore: fix db dependency secret name in cronjobs * chore(dependencies-check): align file naming and docs * chore: remove white space --------- Refs: #2 #3 #4 #5 #6 #7 #8 #9 #13 #21 #22 #23 Reviewed-by: Evelyn Gurschler <evelyn.gurschler@bmw.de> Reviewed-by: Norbert Truchsess <norbert.truchsess@t-online.de> Co-authored-by: Evelyn Gurschler <evelyn.gurschler@bmw.de> Co-authored-by: Norbert Truchsess <norbert.truchsess@t-online.de>
- Loading branch information
1 parent
9cd7d07
commit 609567a
Showing
300 changed files
with
25,349 additions
and
39 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
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,91 @@ | ||
############################################################### | ||
# Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
############################################################### | ||
|
||
name: Build Credential Expiry App Image | ||
|
||
on: | ||
push: | ||
paths: | ||
# service and transitive paths | ||
- 'src/**' | ||
# workflow file | ||
- '.github/workflows/credential-expiry-app-docker.yml' | ||
# dockerfile | ||
- 'docker/Dockerfile-credential-expiry-app' | ||
|
||
branches: | ||
- 'dev' | ||
workflow_dispatch: | ||
|
||
env: | ||
IMAGE_NAMESPACE: "tractusx" | ||
IMAGE_NAME: "credential-expiry-app" | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Login to DockerHub | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USER }} | ||
password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }} | ||
tags: | | ||
type=raw,value=dev | ||
type=raw,value=${{ github.sha }} | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: docker/Dockerfile-credential-expiry-app | ||
platforms: linux/amd64, linux/arm64 | ||
pull: true | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
||
# https://github.com/peter-evans/dockerhub-description | ||
- name: Update Docker Hub description | ||
if: github.event_name != 'pull_request' | ||
uses: peter-evans/dockerhub-description@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USER }} | ||
password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
repository: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }} | ||
readme-filepath: "./docker/notice-credential-expiry-app.md" |
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
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,91 @@ | ||
############################################################### | ||
# Copyright (c) 2024 Contributors to the Eclipse Foundation | ||
# | ||
# See the NOTICE file(s) distributed with this work for additional | ||
# information regarding copyright ownership. | ||
# | ||
# This program and the accompanying materials are made available under the | ||
# terms of the Apache License, Version 2.0 which is available at | ||
# https://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
############################################################### | ||
|
||
name: Build Processes Worker Image | ||
|
||
on: | ||
push: | ||
paths: | ||
# service and transitive paths | ||
- 'src/**' | ||
# workflow file | ||
- '.github/workflows/process-worker-docker.yml' | ||
# dockerfile | ||
- 'docker/Dockerfile-credential-issuer-process-worker' | ||
|
||
branches: | ||
- 'dev' | ||
workflow_dispatch: | ||
|
||
env: | ||
IMAGE_NAMESPACE: "tractusx" | ||
IMAGE_NAME: "credential-issuer-process-worker" | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Login to DockerHub | ||
if: github.event_name != 'pull_request' | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USER }} | ||
password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }} | ||
tags: | | ||
type=raw,value=dev | ||
type=raw,value=${{ github.sha }} | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
file: docker/Dockerfile-credential-issuer-process-worker | ||
platforms: linux/amd64, linux/arm64 | ||
pull: true | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
|
||
# https://github.com/peter-evans/dockerhub-description | ||
- name: Update Docker Hub description | ||
if: github.event_name != 'pull_request' | ||
uses: peter-evans/dockerhub-description@v3 | ||
with: | ||
username: ${{ secrets.DOCKER_HUB_USER }} | ||
password: ${{ secrets.DOCKER_HUB_TOKEN }} | ||
repository: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }} | ||
readme-filepath: "./docker/notice-credential-issuer-process-worker.md" |
Oops, something went wrong.