Skip to content

Adding yaml files

Adding yaml files #4

name: planetary-computer-dg-build
on:
workflow_dispatch:
push:
branches:
- km/add_action
# paths:
# - 'datagenerators/planetary-computer/datagenerator/**'
jobs:
build-datagenerator-planetary-computer-amd64:
permissions:
contents: read
packages: write
uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/data-generator-build.yaml@km/add_data_generator
with:
REGISTRY: ghcr.io
APP_NAME: datagenerator-planetary-computer
ANNOTATION: azure-orbital-space-sdk-data-generators.yaml
WORKFLOW_AGENT: ubuntu-latest
ARCHITECTURE: amd64
DOCKER_FILE: ./datagenerators/planetary-computer/datagenerator/Dockerfiles/Dockerfile
REPO_DIR: ./datagenerators/planetary-computer/datagenerator
YAML_STAGING_DIRECTORY: /var/spacedev/yamls
YAML_FILE_PATH: ./datagenerators/planetary-computer/datagenerator/k3s

Check failure on line 27 in .github/workflows/planetary-computer-generator-build.yaml

View workflow run for this annotation

GitHub Actions / planetary-computer-dg-build

Invalid workflow file

The workflow is not valid. .github/workflows/planetary-computer-generator-build.yaml (Line: 27, Col: 23): Invalid input, YAML_FILE_PATH is not defined in the referenced workflow. .github/workflows/planetary-computer-generator-build.yaml (Line: 28, Col: 24): Invalid input, YAML_FILE_NAMEZ is not defined in the referenced workflow.
YAML_FILE_NAMEZ: datagenerator-planetary-computer.yaml
secrets:
GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }}
GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }}
SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }}
build-datagenerator-planetary-computer-arm64:
permissions:
contents: read
packages: write
uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/data-generator-build.yaml@km/add_data_generator
with:
REGISTRY: ghcr.io
APP_NAME: datagenerator-planetary-computer
ANNOTATION: azure-orbital-space-sdk-data-generators.yaml
WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64
ARCHITECTURE: arm64
DOCKER_FILE: ./datagenerators/planetary-computer/datagenerator/Dockerfiles/Dockerfile
REPO_DIR: ./datagenerators/planetary-computer/datagenerator
YAML_STAGING_DIRECTORY: /var/spacedev/yamls
YAML_FILE_PATH: ./datagenerators/planetary-computer/datagenerator/k3s
YAML_FILE_NAMEZ: datagenerator-planetary-computer.yaml
secrets:
GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }}
GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }}
SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }}