Skip to content

Commit

Permalink
Fix general release workflow issues (#139)
Browse files Browse the repository at this point in the history
* Fix release workflows
* Fix sources name
* Update release.yml
* Update build.yml
* Change names of sbom and sources tars in release-selfhosted.yml
* Update sbom and sources tar names in release.yml
* Revert sbom naming for release.yml
  • Loading branch information
vasilvas99 authored Aug 23, 2023
1 parent 2b36017 commit da42bec
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
env:
KAS_MACHINE: qemux86-64
run: |
(r=3;while ! kas build kas/leda-qemux86-64.yaml:kas/mirrors.yaml ; do ((--r))||exit;sleep 60;done)
(r=3;while ! kas build kas/leda-qemux86-64.yaml:kas/mirrors.yaml:kas/oss-compliance/spdx.yaml ; do ((--r))||exit;sleep 60;done)
- name: Generate CHANGELOG.md
run: |
docker run --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator github_changelog_generator -u eclipse-leda -p leda-distro --no-author -t ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -136,8 +136,8 @@ jobs:
env:
KAS_MACHINE: qemuarm64
run: |
(r=3;while ! kas build kas/leda-qemuarm64.yaml:kas/mirrors.yaml -- --setscene-only; do ((--r))||exit;sleep 60;done)
(r=3;while ! kas build kas/leda-qemuarm64.yaml:kas/mirrors.yaml ; do ((--r))||exit;sleep 60;done)
(r=3;while ! kas build kas/leda-qemuarm64.yaml:kas/mirrors.yaml:kas/oss-compliance/spdx.yaml -- --setscene-only; do ((--r))||exit;sleep 60;done)
(r=3;while ! kas build kas/leda-qemuarm64.yaml:kas/mirrors.yaml:kas/oss-compliance/spdx.yaml ; do ((--r))||exit;sleep 60;done)
- name: Generate CHANGELOG.md
run: |
docker run --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator github_changelog_generator -u eclipse-leda -p leda-distro --no-author -t ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
env:
KAS_MACHINE: raspberrypi4-64
run: |
(r=3;while ! kas build kas/leda-raspberrypi4-64.yaml:kas/mirrors.yaml ; do ((--r))||exit;sleep 60;done)
(r=3;while ! kas build kas/leda-raspberrypi4-64.yaml:kas/mirrors.yaml:kas/oss-compliance/spdx.yaml ; do ((--r))||exit;sleep 60;done)
- name: Generate CHANGELOG.md
run: |
docker run --rm -v "$(pwd)":/usr/local/src/your-app githubchangeloggenerator/github-changelog-generator github_changelog_generator -u eclipse-leda -p leda-distro --no-author -t ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release-selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
${{steps.download.outputs.download-path}}/eclipse-leda-qemu-x86_64.tar.xz/eclipse-leda-qemu-x86_64.tar.xz
${{steps.download.outputs.download-path}}/eclipse-leda-qemu-arm64.tar.xz/eclipse-leda-qemu-arm64.tar.xz
${{steps.download.outputs.download-path}}/eclipse-leda-raspberrypi.tar.xz/eclipse-leda-raspberrypi.tar.xz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-qemu-x86_64.tar.gz/eclipse-leda-sbom-qemu-x86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-qemu-arm64.tar.gz/eclipse-leda-sbom-qemu-arm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-raspberrypi.tar.gz/eclipse-leda-sbom-raspberrypi.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemu-x86_64.tar.gz/eclipse-leda-sources-qemu-x86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemu-arm64.tar.gz/eclipse-leda-sources-qemu-arm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-raspberrypi.tar.gz/eclipse-leda-sources-raspberrypi.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-spdx-sbom-qemux86_64.tar.gz/eclipse-leda-spdx-sbom-qemux86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-spdx-sbom-qemuarm64.tar.gz/eclipse-leda-spdx-sbom-qemuarm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-spdx-sbom-raspberrypi4-64.tar.gz/eclipse-leda-spdx-sbom-raspberrypi4-64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemux86_64.tar.gz/eclipse-leda-sources-qemux86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemuarm64.tar.gz/eclipse-leda-sources-qemuarm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-raspberrypi4-64.tar.gz/eclipse-leda-sources-raspberrypi4-64.tar.gz
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
${{steps.download.outputs.download-path}}/eclipse-leda-qemu-x86_64.tar.xz/eclipse-leda-qemu-x86_64.tar.xz
${{steps.download.outputs.download-path}}/eclipse-leda-qemu-arm64.tar.xz/eclipse-leda-qemu-arm64.tar.xz
${{steps.download.outputs.download-path}}/eclipse-leda-raspberrypi.tar.xz/eclipse-leda-raspberrypi.tar.xz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-qemu-x86_64.tar.gz/eclipse-leda-sbom-qemu-x86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-qemu-arm64.tar.gz/eclipse-leda-sbom-qemu-arm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-raspberrypi.tar.gz/eclipse-leda-sbom-raspberrypi.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemu-x86_64.tar.gz/eclipse-leda-sources-qemu-x86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemu-arm64.tar.gz/eclipse-leda-sources-qemu-arm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-raspberrypi.tar.gz/eclipse-leda-sources-raspberrypi.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-qemux86_64.tar.gz/eclipse-leda-sbom-qemux86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-qemuarm64.tar.gz/eclipse-leda-sbom-qemuarm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sbom-raspberrypi4-64.tar.gz/eclipse-leda-sbom-raspberrypi4-64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemux86_64.tar.gz/eclipse-leda-sources-qemux86_64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-qemuarm64.tar.gz/eclipse-leda-sources-qemuarm64.tar.gz
${{steps.download.outputs.download-path}}/eclipse-leda-sources-raspberrypi4-64.tar.gz/eclipse-leda-sources-raspberrypi4-64.tar.gz

0 comments on commit da42bec

Please sign in to comment.