Skip to content

Commit

Permalink
Update rockcraft.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Jan 15, 2024
1 parent 97bc720 commit b574c0e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions viewer-crd-controller/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -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: <KF-upstream-version>_<base-version>-<Charmed-KF-version>
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:
Expand All @@ -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
Expand All @@ -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) \
Expand Down

0 comments on commit b574c0e

Please sign in to comment.