Skip to content

Commit

Permalink
ci: Script for gathering CKF images
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwnasptd committed Apr 29, 2024
1 parent 36df972 commit a7e5df3
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 7 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/airgap-artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Create Airgapped Artifacts

on:
workflow_dispatch:
inputs:
bundle:
description: 'Path to bundle file in the repo'
required: true
type: string
default: releases/1.7/stable/kubeflow/bundle.yaml
pull_request:

jobs:
self-hosted:
name: Create images
# runs-on: [self-hosted, linux, X64, jammy, two-xlarge]
runs-on: [self-hosted, linux, X64, jammy, large]
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install prerequisites
run: |
# ./scripts/airgapped/prerequisites.sh
pip3 install -r requirements.txt
sudo apt install pigz
sudo snap install docker
sudo snap install yq
sudo snap install jq
- name: Create images.txt
id: images
run: |
./scripts/airgapped/get-all-images.sh ${{ inputs.bundle }} > images.txt
echo "Created images list:"
cat ./images.txt
- name: Upload images.txt
uses: actions/upload-artifact@v3
with:
name: images-list
path: images.txt
7 changes: 0 additions & 7 deletions releases/1.8/stable/kubeflow/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,6 @@ applications:
series: focal
_github_repo_name: pvcviewer-operator
_github_repo_branch: track/1.8
seldon-controller-manager:
charm: seldon-core
channel: 1.17/stable
scale: 1
trust: true
_github_repo_name: seldon-core-operator
_github_repo_branch: track/1.17
tensorboard-controller:
charm: tensorboard-controller
channel: 1.8/stable
Expand Down

0 comments on commit a7e5df3

Please sign in to comment.