Skip to content

Add bastion ssh tunnel #20

Add bastion ssh tunnel

Add bastion ssh tunnel #20

Workflow file for this run

name: proposal-sync
on:
workflow_dispatch:
inputs:
submodule_commit:
description: 'Commit of the submodule to deploy'
required: false
commit:
description: 'Commit of the CI repo to deploy'
required: false
pull_request:
branches: [ main ]
push:
branches: [ main ]
release:
types: [ published ]
jobs:
set_env:
uses: paulscherrerinstitute/scicat-ci/.github/workflows/reusable.environment.yml@main
with:
commit: ${{ github.event.inputs.commit }}
submodule_commit: ${{ github.event.inputs.submodule_commit }}
check_changed:
needs: set_env
uses: paulscherrerinstitute/scicat-ci/.github/workflows/reusable.changes.yml@main
with:
files: |
.github/workflows/proposal-sync.yml
helm/configs/proposal-sync/${{ needs.set_env.outputs.environment }}/**
helm/configs/proposal-sync/values.yaml
scilog/sdk/python/**
scilog/importTools/**
commit: ${{ needs.set_env.outputs.commit }}
submodule_commit: ${{ github.event.inputs.submodule_commit }}
submodule: scilog
build_deploy:
if: (needs.check_changed.outputs.changed == 'true' && !needs.set_env.outputs.component) || needs.set_env.outputs.component == 'ps'
needs:
- check_changed
- set_env
uses: paulscherrerinstitute/scicat-ci/.github/workflows/reusable.build-deploy.yml@main
with:
context: scilog/importTools/.
image_name: ${{ github.repository }}/proposal-sync
release_name: proposal-sync
namespace_prefix: scilog-
tag: ${{ needs.set_env.outputs.tag }}
environment: ${{ needs.set_env.outputs.environment }}
helm_chart: helm/charts/cron_chart
commit: ${{ needs.set_env.outputs.commit }}
submodule_commit: ${{ github.event.inputs.submodule_commit }}
submodule: scilog
secrets:
KUBECONFIG: ${{ secrets.KUBECONFIG }}
JSON_SECRETS: ${{ toJSON(secrets) }}
BASTION_USER: ${{ secrets.BASTION_USER }}

Check failure on line 61 in .github/workflows/proposal-sync.yml

View workflow run for this annotation

GitHub Actions / proposal-sync

Invalid workflow file

The workflow is not valid. .github/workflows/proposal-sync.yml (Line: 61, Col: 21): Invalid secret, BASTION_USER is not defined in the referenced workflow. .github/workflows/proposal-sync.yml (Line: 62, Col: 24): Invalid secret, BASTION_SSH_KEY is not defined in the referenced workflow.
BASTION_SSH_KEY: ${{ secrets.BASTION_SSH_KEY }}