Skip to content

Add Met Office Global Deterministic height level dataset #1121

Add Met Office Global Deterministic height level dataset

Add Met Office Global Deterministic height level dataset #1121

Workflow file for this run

name: Planetary Computer Tasks PR CI
on:
pull_request:
env:
PCTASKS_COSMOSDB__URL: ${{ secrets.COSMOSDB_URL }}
PCTASKS_COSMOSDB__TEST_CONTAINER_SUFFIX: ${{ github.run_id }}
permissions:
id-token: write
jobs:
pr-build-and-test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Log in with Azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Install local dependencies
run: ./scripts/install
- name: Setup
run: ./scripts/setup --no-aux-servers
- name: Test
run: ./scripts/test
- name: Validate collections
run: ./scripts/validate-collections
# Integration Tests
- name: Install Kind
uses: helm/kind-action@v1.4.0
with:
install_only: true
if: ${{ github.base_ref == 'main' }}
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.8.2
if: ${{ github.base_ref == 'main' }}
- name: Setup cluster
run: ./scripts/cluster setup
if: ${{ github.base_ref == 'main' }}
# Disable integration tests for now, need to figure out how to use the identity of the github runner instead of the k8s pods which dont have the credentials passed into them
# - name: Run integration tests
# run: ./scripts/citest-integration
# if: ${{ github.base_ref == 'main' }}
- name: Ensure Docker network exists
run: docker network create pctasks-network || true
- name: Get docker compose logs
run: docker compose logs
if: always()
- name: Clean up CosmosDB test containers
run: ./scripts/setup --rm-test-containers
if: always()