Merge pull request #66 from Lerentis/fixup/tt/fix-release-pipeline
bump node version to fix arm build
This commit is contained in:
commit
fd1bf9caa2
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
||||
uses: WyriHaximus/github-action-get-previous-tag@v1
|
||||
|
||||
- name: Download SBOM from github action
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: ${{ env.ANCHORE_SBOM_ACTION_PRIOR_ARTIFACT }}
|
||||
|
||||
|
12
.github/workflows/test-and-lint.yml
vendored
12
.github/workflows/test-and-lint.yml
vendored
@ -36,6 +36,18 @@ jobs:
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
|
||||
|
||||
- name: Install ah cli
|
||||
run: |
|
||||
export AH_VERSION=1.17.0
|
||||
curl -LO https://github.com/artifacthub/hub/releases/download/v${AH_VERSION}/ah_${AH_VERSION}_linux_amd64.tar.gz
|
||||
tar -xf ah_${AH_VERSION}_linux_amd64.tar.gz
|
||||
chmod +x ./ah
|
||||
sudo mv ./ah /usr/bin/ah
|
||||
rm LICENSE
|
||||
- name: ah lint
|
||||
run: |
|
||||
ah lint
|
||||
|
||||
pr-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -9,7 +9,7 @@ ARG PIP_VERSION=23.3.1-r0
|
||||
ARG GCOMPAT_VERSION=1.1.0-r4
|
||||
ARG LIBCRYPTO_VERSION=3.1.4-r2
|
||||
ARG BW_VERSION=2023.7.0
|
||||
ARG NODE_VERSION=20.10.0-r1
|
||||
ARG NODE_VERSION=20.11.0-r0
|
||||
|
||||
COPY requirements.txt /requirements.txt
|
||||
|
||||
@ -18,6 +18,7 @@ RUN set -eux; \
|
||||
ARCH="$(apk --print-arch)"; \
|
||||
case "${ARCH}" in \
|
||||
aarch64|arm64) \
|
||||
apk del nodejs-current; \
|
||||
apk add nodejs=${NODE_VERSION} npm; \
|
||||
npm install -g @bitwarden/cli@${BW_VERSION}; \
|
||||
;; \
|
||||
|
@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator
|
||||
|
||||
type: application
|
||||
|
||||
version: "v0.11.1"
|
||||
version: "v0.11.2"
|
||||
|
||||
appVersion: "0.10.1"
|
||||
appVersion: "0.10.2"
|
||||
|
||||
keywords:
|
||||
- operator
|
||||
@ -101,10 +101,10 @@ annotations:
|
||||
artifacthub.io/operator: "true"
|
||||
artifacthub.io/containsSecurityUpdates: "false"
|
||||
artifacthub.io/changes: |
|
||||
- kind: fixed
|
||||
description: "Downgrade node to LTS in order to make bw cli work on arm"
|
||||
- kind: changed
|
||||
description: "Update bw cli to 2023.7.0 for the same reason"
|
||||
description: "Update jinja to 3.1.3"
|
||||
- kind: changed
|
||||
description: "Update Node on arm to 20.11.0-r0"
|
||||
artifacthub.io/images: |
|
||||
- name: bitwarden-crd-operator
|
||||
image: ghcr.io/lerentis/bitwarden-crd-operator:0.10.1
|
||||
image: ghcr.io/lerentis/bitwarden-crd-operator:0.10.2
|
||||
|
Loading…
Reference in New Issue
Block a user