Skip to content

Commit

Permalink
Merge pull request #2 from catenax-ng/main
Browse files Browse the repository at this point in the history
feat!: Merge upstream v1.0.0
  • Loading branch information
evegufy authored Feb 23, 2023
2 parents 3121a81 + 30ac434 commit 4c4c9df
Show file tree
Hide file tree
Showing 66 changed files with 3,999 additions and 558 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/administration-service-image-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################
# Copyright (c) 2021, 2023 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: Administration-Service Auto-image-update

on:
workflow_dispatch:
inputs:
new-image:
description: 'new available image'
required: true
default: 'no content'

env:
IMAGE_BEGINN: 'administrationservicetag: '
IMAGE_FULL_NEW: 'administrationservicetag: ${{ inputs.new-image }}'

jobs:
update-image-tag:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Modify image tag in values-dev.yaml
run: |
sed -i 's/${{ env.IMAGE_BEGINN }}.*/${{ env.IMAGE_FULL_NEW }}/' charts/portal/values-dev.yaml
- name: Commit and push updated values-dev.yaml
run: |
git config user.name github-actions
git config user.email [email protected]
git add charts/portal/values-dev.yaml
git commit -m "Add new image for administration service"
bash ./scripts/push.sh
29 changes: 24 additions & 5 deletions .github/workflows/chart-release.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
###############################################################
# Copyright (c) 2021, 2023 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: Release Chart

on:
workflow_dispatch:
push:
paths:
- 'charts/**'
branches:
- main
# push:
# paths:
# - 'charts/**'
# branches:
# - main

jobs:
release:
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/checklist-worker-image-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################
# Copyright (c) 2021, 2023 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: Checklist-Worker Auto-image-update

on:
workflow_dispatch:
inputs:
new-image:
description: 'new available image'
required: true
default: 'no content'

env:
IMAGE_BEGINN: 'checklistworkertag: '
IMAGE_FULL_NEW: 'checklistworkertag: ${{ inputs.new-image }}'

jobs:
update-image-tag:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Modify image tag in values-dev.yaml
run: |
sed -i 's/${{ env.IMAGE_BEGINN }}.*/${{ env.IMAGE_FULL_NEW }}/' charts/portal/values-dev.yaml
- name: Commit and push updated values-dev.yaml
run: |
git config user.name github-actions
git config user.email [email protected]
git add charts/portal/values-dev.yaml
git commit -m "Add new image for checklist worker"
bash ./scripts/push.sh
19 changes: 19 additions & 0 deletions .github/workflows/kics.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
###############################################################
# Copyright (c) 2021, 2023 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: "KICS"

on:
Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/maintenance-service-image-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################
# Copyright (c) 2021, 2023 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: Maintenance-Service Auto-image-update

on:
workflow_dispatch:
inputs:
new-image:
description: 'new available image'
required: true
default: 'no content'

env:
IMAGE_BEGINN: 'portalmaintenancetag: '
IMAGE_FULL_NEW: 'portalmaintenancetag: ${{ inputs.new-image }}'

jobs:
update-image-tag:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Modify image tag in values-dev.yaml
run: |
sed -i 's/${{ env.IMAGE_BEGINN }}.*/${{ env.IMAGE_FULL_NEW }}/' charts/portal/values-dev.yaml
- name: Commit and push updated values-dev.yaml
run: |
git config user.name github-actions
git config user.email [email protected]
git add charts/portal/values-dev.yaml
git commit -m "Add new image for maintenance service"
bash ./scripts/push.sh
54 changes: 54 additions & 0 deletions .github/workflows/marketplace-app-service-image-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################
# Copyright (c) 2021, 2023 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: Marketplace-App-Service Auto-image-update

on:
workflow_dispatch:
inputs:
new-image:
description: 'new available image'
required: true
default: 'no content'

env:
IMAGE_BEGINN: 'appmarketplaceservicetag: '
IMAGE_FULL_NEW: 'appmarketplaceservicetag: ${{ inputs.new-image }}'

jobs:
update-image-tag:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Modify image tag in values-dev.yaml
run: |
sed -i 's/${{ env.IMAGE_BEGINN }}.*/${{ env.IMAGE_FULL_NEW }}/' charts/portal/values-dev.yaml
- name: Commit and push updated values-dev.yaml
run: |
git config user.name github-actions
git config user.email [email protected]
git add charts/portal/values-dev.yaml
git commit -m "Add new image for marketplace-app service"
bash ./scripts/push.sh
54 changes: 54 additions & 0 deletions .github/workflows/notification-service-image-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################
# Copyright (c) 2021, 2023 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: Notification-Service Auto-image-update

on:
workflow_dispatch:
inputs:
new-image:
description: 'new available image'
required: true
default: 'no content'

env:
IMAGE_BEGINN: 'notificationservicetag: '
IMAGE_FULL_NEW: 'notificationservicetag: ${{ inputs.new-image }}'

jobs:
update-image-tag:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Modify image tag in values-dev.yaml
run: |
sed -i 's/${{ env.IMAGE_BEGINN }}.*/${{ env.IMAGE_FULL_NEW }}/' charts/portal/values-dev.yaml
- name: Commit and push updated values-dev.yaml
run: |
git config user.name github-actions
git config user.email [email protected]
git add charts/portal/values-dev.yaml
git commit -m "Add new image for notification service"
bash ./scripts/push.sh
54 changes: 54 additions & 0 deletions .github/workflows/portal-assets-image-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
###############################################################
# Copyright (c) 2021, 2023 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: Portal Assets Auto-image-update

on:
workflow_dispatch:
inputs:
new-image:
description: 'new available image'
required: true
default: 'no content'

env:
IMAGE_BEGINN: 'assetstag: '
IMAGE_FULL_NEW: 'assetstag: ${{ inputs.new-image }}'

jobs:
update-image-tag:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Modify image tag in values-dev.yaml
run: |
sed -i 's/${{ env.IMAGE_BEGINN }}.*/${{ env.IMAGE_FULL_NEW }}/' charts/portal/values-dev.yaml
- name: Commit and push updated values-dev.yaml
run: |
git config user.name github-actions
git config user.email [email protected]
git add charts/portal/values-dev.yaml
git commit -m "Add new image for portal assets"
bash ./scripts/push.sh
Loading

0 comments on commit 4c4c9df

Please sign in to comment.