Skip to content

Commit

Permalink
Merge pull request #12 from microsoft/al/datagenerator-geospatial-ima…
Browse files Browse the repository at this point in the history
…ges-workflow

datagenerator geospatial images workflow
  • Loading branch information
bradarm authored Jul 22, 2024
2 parents 6939437 + d8f67f1 commit 5831e9f
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
55 changes: 55 additions & 0 deletions .github/workflows/geospatial-images-generator-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: geospatial-images-dg-build

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'datagenerators/geospatial-images/datagenerator/**'
- '.github/workflows/geospatial-images-generator-build.yaml'

jobs:
build-datagenerator-geospatial-images-amd64:
permissions:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/data-generator-build.yaml@main
with:
REGISTRY: ghcr.io
APP_NAME: datagenerator-geospatial-images
ANNOTATION: azure-orbital-space-sdk-data-generators.yaml
WORKFLOW_AGENT: ubuntu-latest
ARCHITECTURE: amd64
DOCKER_FILE: ./datagenerators/geospatial-images/datagenerator/Dockerfiles/Dockerfile
REPO_DIR: ./datagenerators/geospatial-images/datagenerator
YAML_STAGING_DIRECTORY: /var/spacedev/yamls
YAML_FOLDER_PATH: ./datagenerators/geospatial-images/datagenerator/k3s
YAML_FILE_NAME: datagenerator-geospatial-images.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-geospatial-images-arm64:
permissions:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/data-generator-build.yaml@main
with:
REGISTRY: ghcr.io
APP_NAME: datagenerator-geospatial-images
ANNOTATION: azure-orbital-space-sdk-data-generators.yaml
WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64
ARCHITECTURE: arm64
DOCKER_FILE: ./datagenerators/geospatial-images/datagenerator/Dockerfiles/Dockerfile
REPO_DIR: ./datagenerators/geospatial-images/datagenerator
YAML_STAGING_DIRECTORY: /var/spacedev/yamls
YAML_FOLDER_PATH: ./datagenerators/geospatial-images/datagenerator/k3s
YAML_FILE_NAME: datagenerator-geospatial-images.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 }}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ COPY ./README.md /workspace/${SERVICE_NAME}/README.md

RUN pip3 install .

ENTRYPOINT ["python3", "src/image_provider/main.py"]
ENTRYPOINT ["python3", "src/datagenerator_geospatial_images/main.py"]
Binary file not shown.

0 comments on commit 5831e9f

Please sign in to comment.