Skip to content

feat(test_deploy.yaml): add 'debug-artifact' job to download and list… #42

feat(test_deploy.yaml): add 'debug-artifact' job to download and list…

feat(test_deploy.yaml): add 'debug-artifact' job to download and list… #42

Workflow file for this run

name: Test Deploy
on:
push:
branches:
- develop
jobs:
setup-dagger:
uses: ./.github/workflows/dagger-setup.yaml
build-publish-image:
needs: setup-dagger
uses: ./.github/workflows/build-publish-image.yaml
secrets: inherit
with:
repository: dictyBase/static-server.git
image: goran
ref: develop
dockerfile: Dockerfile
namespace: cybersiddhu
dagger_version: ${{ needs.setup-dagger.outputs.dagger_version }}
dagger_checksum: ${{ needs.setup-dagger.outputs.dagger_checksum }}
deploy-setup:
needs: setup-dagger
uses: ./.github/workflows/deploy-setup.yaml

Check failure on line 27 in .github/workflows/test_deploy.yaml

View workflow run for this annotation

GitHub Actions / Test Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/test_deploy.yaml (Line: 27, Col: 11): Input artifact_name is required, but not provided while calling.
secrets: inherit
with:
cluster: ${{ vars.DEV_STAGING_CLUSTER }}
cluster_state_storage: ${{ vars.DEV_STAGING_KOPS_STATE_STORAGE }}
dagger_version: ${{ needs.setup-dagger.outputs.dagger_version }}
dagger_checksum: ${{ needs.setup-dagger.outputs.dagger_checksum }}
debug-artifact:
runs-on: ubuntu-latest
needs: deploy-setup
steps:
- name: download kubectl from artifact
uses: actions/download-artifact@v4
id: cluster_config
with:
name: kubectl-config
path: /tmp/config
run_id: ${{ needs.deploy-setup.outputs.workflow_run_id }}
- name: list files in download folder
run: ls -l /tmp/config/
delete-artifact:
needs: debug-artifact
uses: ./.github/workflows/delete-artifact.yaml
with:
artifact_name: kubectl-config
# deploy-backend:
# needs: [setup-dagger, build-publish-image, deploy-setup]
# uses: ./.github/workflows/deploy-backend.yaml
# secrets: inherit
# with:
# run_id: ${{ needs.deploy-setup.outputs.workflow_run_id }}
# dagger_version: ${{ needs.setup-dagger.outputs.dagger_version }}
# dagger_checksum: ${{ needs.setup-dagger.outputs.dagger_checksum }}
# image_tag: ${{ needs.build-publish-image.outputs.image_tag }}