Skip to content

Commit

Permalink
fixup! ci(starship-action): fork to add load-docker-images
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jan 24, 2025
1 parent 39420b0 commit 7e479b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions .github/actions/starship-action/action.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Cribbed from cosmology-tech/[email protected]
name: 'Starship Devnet'
description: 'Run mini cosmos ecosystem via devnet'
branding:
Expand All @@ -17,10 +16,6 @@ inputs:
description: 'Kubeconfig file for remote cluster, if set, will be used instead of creating kind cluster'
required: false
default: ''
load-docker-images:
description: 'Space-separated local docker images to load into cluster'
required: false
default: ''
chart:
description: 'Name of the help chart to use. Recommended: use default (default: starship/devnet)'
required: false
Expand Down Expand Up @@ -89,15 +84,6 @@ runs:
with:
cluster_name: kind-starship

- name: Load docker images into kind
if: ${{ inputs.load-docker-images != '' && inputs.kubeconfig == '' }}
run: |
set -ex
kind load docker-image $LOAD_DOCKER_IMAGES --name kind-starship
env:
LOAD_DOCKER_IMAGES: ${{ inputs.load-docker-images }}
shell: bash

- name: Create kubeconfig file
if: ${{ inputs.kubeconfig != '' }}
run: |
Expand Down Expand Up @@ -144,7 +130,6 @@ runs:
starship setup \
--config ${{ inputs.config }} \
--name ${{ inputs.name }} \
--repoUrl ${{ inputs.repo }} \
--namespace ${{ steps.set-namespace.outputs.namespace }} \
--chart ${{ inputs.chart }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multichain-e2e-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
# uses: cosmology-tech/[email protected]
uses: ./agoric-sdk/.github/actions/starship-action # for load-docker-images
with:
values: ./agoric-sdk/multichain-testing/${{ inputs.config }}
config: ./agoric-sdk/multichain-testing/${{ inputs.config }}
port-forward: true
version: 0.2.20
timeout: 30m
Expand Down

0 comments on commit 7e479b1

Please sign in to comment.