Skip to content

Workshop Deploy Catalog Indexer Image #4

Workshop Deploy Catalog Indexer Image

Workshop Deploy Catalog Indexer Image #4

name: Workshop Deploy Catalog Indexer Image
on:
workflow_dispatch:
inputs:
tag:
description: tag
required: true
kind:
type: choice
required: true
default: 'indexer'
description: (re)indexer?
options:
- indexer
- reindexer
jobs:
build-unstable:
name: Build unstable ${{ github.event.inputs.tag }}
uses: mlibrary/platform-engineering-workflows/.github/workflows/build-unstable.yml@v1
with:
image_name: ${{ vars.INDEXER_IMAGE_NAME }}
tag: ${{ github.event.inputs.tag }}
dockerfile: umich_catalog_indexing/Dockerfile
docker_context: umich_catalog_indexing/.
secrets: inherit
deploy-image:
needs: build-unstable
name: Deploy ${{ github.event.inputs.kind }} to workshop
uses: mlibrary/platform-engineering-workflows/.github/workflows/deploy.yml@v1
with:
image: ${{ needs.build-unstable.outputs.image }}
file: environments/catalog-indexer/workshop/${{ github.event.inputs.kind }}-image.txt
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
CONFIG_REPO_RW_INSTALL_ID: ${{ vars.CONFIG_REPO_RW_INSTALL_ID }}
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
secrets: inherit