From b574c0e441bbbb891de412815b5c4bcfc0449508 Mon Sep 17 00:00:00 2001 From: Orfeas Kourkakis Date: Mon, 15 Jan 2024 12:58:06 +0200 Subject: [PATCH] Update rockcraft.yaml --- viewer-crd-controller/rockcraft.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/viewer-crd-controller/rockcraft.yaml b/viewer-crd-controller/rockcraft.yaml index bd70ae7..923cf78 100644 --- a/viewer-crd-controller/rockcraft.yaml +++ b/viewer-crd-controller/rockcraft.yaml @@ -1,11 +1,12 @@ +# Dockerfile: https://github.com/kubeflow/pipelines/blob/2.0.3/backend/Dockerfile.viewercontroller name: viewer-crd-controller summary: An image for the Viewer CRD Controller description: | This image is used as part of the Charmed Kubeflow product. -version: 2.0.0-alpha.7_22.04_1 # version format: _- +version: 2.0.3 license: Apache-2.0 -base: ubuntu:22.04 -build-base: ubuntu:22.04 +base: ubuntu@22.04 +build-base: ubuntu@22.04 run-user: _daemon_ services: controller: @@ -21,9 +22,9 @@ parts: plugin: go source: https://github.com/kubeflow/pipelines build-snaps: - - go/1.17/stable + - go/1.20/stable source-type: git - source-tag: 2.0.0-alpha.7 # upstream tag + source-tag: 2.0.3 build-packages: - git - gcc @@ -43,7 +44,9 @@ parts: diff $CRAFT_PART_INSTALL/third_party/licenses.csv backend/third_party_licenses/viewer.csv $GOBIN/go-licenses save --force ./backend/src/crd/controller/viewer --save_path $CRAFT_PART_INSTALL/third_party/NOTICES - # security requirement + security-team-requirement: + plugin: nil + override-build: | mkdir -p ${CRAFT_PART_INSTALL}/usr/share/rocks (echo "# os-release" && cat /etc/os-release && echo "# dpkg-query" && \ dpkg-query --root=${CRAFT_PROJECT_DIR}/../bundles/ubuntu-22.04/rootfs/ -f '${db:Status-Abbrev},${binary:Package},${Version},${source:Package},${Source:Version}\n' -W) \