Skip to content

Batch Cluster Setup

Batch Cluster Setup #1

name: Batch Cluster Setup
on:
workflow_dispatch:
inputs:
clusters:
description: JSON cluster array
type: string
required: true
default: '["api", "bal", "lba", "tdb", "contrat", "recette"]'
jobs:
setup:
strategy:
fail-fast: false
matrix:
cluster: ${{ fromJSON(inputs.clusters) }}
name: Cluster Update ${{ matrix.cluster }}
uses: "./.github/workflows/cluster_setup.yml"
with:
cluster: ${{ matrix.cluster }}
numbers: '[3, 2, 1]'
secrets:
DEPLOY_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
DEPLOY_PASS: ${{ secrets.DEPLOY_PASS }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
VAULT_PWD: ${{ secrets.VAULT_PWD }}
OVH_APP_TOKEN: ${{ secrets.OVH_APP_TOKEN }}
OVH_APP_KEY: ${{ secrets.OVH_APP_KEY }}
OVH_APP_SECRET: ${{ secrets.OVH_APP_SECRET }}
MONGODB_HABILITATIONS: ${{ secrets.MONGODB_HABILITATIONS }}