Skip to content
Closed
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
40 changes: 8 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#on: [push]
on:
push:
tags:
- v*

concurrency:
group: "release-${{ github.head_ref || github.ref }}"
cancel-in-progress: true

jobs:
quality_artifacts_job:
name: A job to collect quality artifacts
Expand All @@ -16,48 +13,27 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Create release
uses: softprops/action-gh-release@v2
id: create_release
- name: Show release URL
run: |
echo ${{ steps.create_release.outputs.url }}

# Upload artifacts to release
- name: Upload README to release
uses: svenstaro/upload-release-action@v2
id: upload_readme
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: README.md
tag: ${{ github.ref }}
- name: Upload LICENSE to release
uses: svenstaro/upload-release-action@v2
id: upload_license
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: LICENSE
tag: ${{ github.ref }}

# Do the quality artifact collection thing
# Call the quevee gh action to create the manifest file for SDV maturity assessment.
- name: Collect quality artifacts
uses: ./ # Uses an action in the root directory
uses: eclipse-dash/quevee
id: quevee
with:
release_url: ${{ steps.create_release.outputs.url }}
artifacts_readme: ${{ steps.upload_readme.outputs.browser_download_url }}
artifacts_requirements: ${{ steps.upload_license.outputs.browser_download_url }},https://yet.another.org/example/artifact.bz2
artifacts_readme: README.md
artifacts_requirements: docs/requirements.md
artifacts_testing: tests/test_report.md
artifacts_documentation: docs/getting_started/README.md
artifacts_coding_guidelines: docs/coding_guidelines.md
artifacts_release_process: https://example.org/docs/my_release_process.md
- name: Upload quality manifest to release
uses: svenstaro/upload-release-action@v2
id: upload_manifest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ steps.quevee.outputs.manifest_file }}
tag: ${{ github.ref }}
- name: Store quality manifest as workflow artifact
uses: actions/upload-artifact@v4
id: store_manifest
with:
name: quality-artifacts-manifest
path: ${{ steps.quevee.outputs.manifest_file }}
16 changes: 5 additions & 11 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
<!--
* Copyright (C) 2024 Eclipse Foundation and others
*
* 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
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
-->
# Community Code of Conduct

Expand Down
16 changes: 5 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
<!--
* Copyright (C) 2024 Eclipse Foundation and others
*
* 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
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
-->
# Contributing to Eclipse Dash, Tools for Committers

Expand Down
23 changes: 9 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# Copyright (C) 2024 ETAS
#
# 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
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#

# Container image that runs your code
FROM alpine:3.10
Expand All @@ -19,7 +14,7 @@ FROM alpine:3.10
RUN apk add --no-cache bash

# Copies your code file from your action repository to the filesystem path `/` of the container
COPY manifest-toml.sh /manifest-toml.sh
COPY sdv-manifest.sh /sdv-manifest.sh

# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/manifest-toml.sh"]
ENTRYPOINT ["/sdv-manifest.sh"]
Loading