Skip to content

_cicd (build and release entry) #135

_cicd (build and release entry)

_cicd (build and release entry) #135

Workflow file for this run

name: _cicd (build and release entry)
on:
push:
branches:
- main
release:
types:
- released
workflow_dispatch:
inputs:
commit_hash:
description: 'The SHA of the Git commit to use'
required: false
default: refs/heads/main
core_repo_reference:
description: 'The SHA to set the core repo to'
required: false
default: refs/heads/main
config_repo_reference:
description: 'The SHA to set the config repo to'
required: false
default: refs/heads/main
permissions:
contents: read
jobs:
release-dev:
# if: ${{ false }} # Uncomment this, and comment out the line below, to disable this workflow path
if: github.event_name == 'workflow_dispatch'
uses: i-dot-ai/redbox/.github/workflows/build-and-release.yml@77ecc89813c9d7a0cbb8c567a89ab9b88b5663e4

Check failure on line 32 in .github/workflows/_cicd.yml

View workflow run for this annotation

GitHub Actions / _cicd (build and release entry)

Invalid workflow file

The workflow is not valid. In .github/workflows/_cicd.yml (Line: 32, Col: 11): Error from called workflow i-dot-ai/redbox/.github/workflows/build-and-release.yml@77ecc89813c9d7a0cbb8c567a89ab9b88b5663e4 (Line: 134, Col: 24): Unrecognized function: 'success'. Located at position 1 within expression: success()
with:
environment: dev
core_infra_repo_reference: ${{ inputs.core_repo_reference }}
config_repo_reference: ${{ inputs.config_repo_reference }}
commit_hash: ${{ inputs.commit_hash }}
author_name: ${{ github.actor }}
secrets: inherit
release-preprod:
# if: ${{ false }} # Uncomment this, and comment out the line below, to disable this workflow path
if: github.event_name == 'push' && github.ref_name == 'main'
uses: i-dot-ai/redbox/.github/workflows/build-and-release.yml@77ecc89813c9d7a0cbb8c567a89ab9b88b5663e4
with:
environment: preprod
core_infra_repo_reference: 'refs/heads/main'
config_repo_reference: 'refs/heads/main'
commit_hash: ${{ github.sha }}
author_name: ${{ github.event.pull_request.user.login }}
secrets: inherit
release-prod:
# if: ${{ false }} # Uncomment this, and comment out the line below, to disable this workflow path
if: github.event_name == 'release'
uses: i-dot-ai/redbox/.github/workflows/build-and-release.yml@77ecc89813c9d7a0cbb8c567a89ab9b88b5663e4
with:
environment: prod
core_infra_repo_reference: 'refs/heads/main'
config_repo_reference: 'refs/heads/main'
commit_hash: ${{ github.sha }}
author_name: ${{ github.event.release.user.login }}
secrets: inherit