diff --git a/images/modules/com.redhat.osl.cli.artifacts/install.sh b/images/modules/com.redhat.osl.cli.artifacts/install.sh index ed6c34e3b..254bd3c93 100755 --- a/images/modules/com.redhat.osl.cli.artifacts/install.sh +++ b/images/modules/com.redhat.osl.cli.artifacts/install.sh @@ -15,4 +15,4 @@ set -e -mkdir -p /usr/share/kn/{linux_amd64,linux_ppc64le,linux_s390x,macos,windows} +mkdir -p /usr/share/kn/{linux_amd64,linux_aarch64,macos,windows} diff --git a/images/modules/com.redhat.osl.cli.artifacts/module.yaml b/images/modules/com.redhat.osl.cli.artifacts/module.yaml index 9ed9a531d..b4ed62ecd 100644 --- a/images/modules/com.redhat.osl.cli.artifacts/module.yaml +++ b/images/modules/com.redhat.osl.cli.artifacts/module.yaml @@ -25,13 +25,9 @@ artifacts: path: /opt/app-root/src/go/src/github.com/knative/client/kn-workflow-linux-amd64.tar.gz dest: /usr/share/kn/linux_amd64/ - image: packager - name: kn-workflow-linux-ppc64le - path: /opt/app-root/src/go/src/github.com/knative/client/kn-workflow-linux-ppc64le.tar.gz - dest: /usr/share/kn/linux_ppc64le/ - - image: packager - name: kn-workflow-linux-s390x - path: /opt/app-root/src/go/src/github.com/knative/client/kn-workflow-linux-s390x.tar.gz - dest: /usr/share/kn/linux_s390x/ + name: kn-workflow-linux-aarch64 + path: /opt/app-root/src/go/src/github.com/knative/client/kn-workflow-linux-aarch64.tar.gz + dest: /usr/share/kn/linux_aarch64/ - image: packager name: kn-workflow-macos-amd64 path: /opt/app-root/src/go/src/github.com/knative/client/kn-workflow-macos-amd64.tar.gz diff --git a/images/modules/com.redhat.osl.cli.packager/install.sh b/images/modules/com.redhat.osl.cli.packager/install.sh index 1a65740c4..d71118a6b 100755 --- a/images/modules/com.redhat.osl.cli.packager/install.sh +++ b/images/modules/com.redhat.osl.cli.packager/install.sh @@ -21,16 +21,14 @@ cd "${KN_WORK_DIR}" mv "/tmp/LICENSE" . wget -P "${KN_WORK_DIR}" "${KN_ARTIFACT_URL}/amd64/linux/kn-workflow-linux-amd64" -wget -P "${KN_WORK_DIR}" "${KN_ARTIFACT_URL}/ppc64le/linux/kn-workflow-linux-ppc64le" -wget -P "${KN_WORK_DIR}" "${KN_ARTIFACT_URL}/s390x/linux/kn-workflow-linux-s390x" +wget -P "${KN_WORK_DIR}" "${KN_ARTIFACT_URL}/aarch64/linux/kn-workflow-linux-aarch64" wget -P "${KN_WORK_DIR}" "${KN_ARTIFACT_URL}/amd64/windows/kn-workflow-windows-amd64.exe" wget -P "${KN_WORK_DIR}" "${KN_ARTIFACT_URL}/amd64/macos/kn-workflow-darwin-amd64" -chmod +x kn-workflow-linux-amd64 kn-workflow-linux-ppc64le kn-workflow-linux-s390x kn-workflow-windows-amd64.exe kn-workflow-darwin-amd64 +chmod +x kn-workflow-linux-amd64 kn-workflow-linux-aarch64 kn-workflow-windows-amd64.exe kn-workflow-darwin-amd64 tar --transform='flags=r;s|kn-workflow-linux-amd64|kn|' -zcf kn-workflow-linux-amd64.tar.gz kn-workflow-linux-amd64 LICENSE -tar --transform='flags=r;s|kn-workflow-linux-ppc64le|kn|' -zcf kn-workflow-linux-ppc64le.tar.gz kn-workflow-linux-ppc64le LICENSE -tar --transform='flags=r;s|kn-workflow-linux-s390x|kn|' -zcf kn-workflow-linux-s390x.tar.gz kn-workflow-linux-s390x LICENSE +tar --transform='flags=r;s|kn-workflow-linux-aarch64|kn|' -zcf kn-workflow-linux-aarch64.tar.gz kn-workflow-linux-aarch64 LICENSE tar --transform='flags=r;s|kn-workflow-darwin-amd64|kn|' -zcf kn-workflow-macos-amd64.tar.gz kn-workflow-darwin-amd64 LICENSE mkdir "${KN_WORK_DIR}/windows" && mv kn-workflow-windows-amd64.exe "${KN_WORK_DIR}/windows/kn.exe" && cp LICENSE "${KN_WORK_DIR}/windows/" && zip --quiet --junk-path - "${KN_WORK_DIR}/windows/*" > kn-workflow-windows-amd64.zip diff --git a/images/osl-cli.yaml b/images/osl-cli.yaml index 0318635be..bd887e72e 100644 --- a/images/osl-cli.yaml +++ b/images/osl-cli.yaml @@ -63,7 +63,6 @@ osbs: only: - x86_64 - aarch64 - - ppc64le compose: pulp_repos: true repository: