737b2fc3f2
unit-tests Bats test report
CI Main / Bats tests (push) Successful in 1m21s
ci-docker-build-push Docker build & push 0.2.9 OK
CI Main / Build & Push Docker (push) Successful in 40s
CI Main / Report Summary (push) Successful in 5s
CI Main / Move provider version tag (push) Successful in 12s
CI Main / Load example-gitea-env.conf to pipeline env (push) Successful in 18s
CI Main / Check existing artifact (push) Successful in 12s
acc-tests Cucumber test report
CI Main / Cucumber tests (push) Successful in 2m3s
Co-authored-by: moilanik <niko.moilanen@tietoevry.com> Reviewed-on: #22
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: CI Container Build Cucumber
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
config_path:
|
|
required: true
|
|
type: string
|
|
default: '.gitea/workflows/example-gitea-env.conf'
|
|
description: 'Polku .gitea-env.conf-tiedostoon'
|
|
dockerfile_path:
|
|
required: true
|
|
type: string
|
|
default: 'Dockerfile.ci-cucumber'
|
|
description: 'Polku Dockerfileen'
|
|
image_name:
|
|
required: true
|
|
type: string
|
|
default: 'ci-cucumber'
|
|
description: 'Kontin nimi ilman registry-polkua'
|
|
tag:
|
|
required: true
|
|
type: string
|
|
default: 'latest'
|
|
description: 'Image-tägi'
|
|
|
|
jobs:
|
|
load-config:
|
|
uses: niko/gitea-ci-library/.gitea/workflows/config-provider.yml@main
|
|
secrets: inherit
|
|
with:
|
|
config_path: ${{ inputs.config_path }}
|
|
|
|
build-push:
|
|
needs: [load-config]
|
|
uses: niko/gitea-ci-library/.gitea/workflows/ci-container-build-push.yml@main
|
|
secrets: inherit
|
|
with:
|
|
env_json: ${{ needs.load-config.outputs.env_json }}
|
|
dockerfile_path: ${{ inputs.dockerfile_path }}
|
|
image_name: ${{ inputs.image_name }}
|
|
tag: ${{ inputs.tag }}
|