Skip to content

Commit

Permalink
Fix planet test
Browse files Browse the repository at this point in the history
  • Loading branch information
rudokemper committed Feb 1, 2024
1 parent 9cf69b9 commit 91cfffa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ jobs:
- name: Test run of Docker image with Mapbox source
run: |
docker run --rm -v ${{ github.workspace }}/outputs:/app/outputs ${{ steps.meta.outputs.tags }} --style mapbox --mapboxstyle ${{ secrets.MAPBOX_STYLE }} --apikey ${{ secrets.MAPBOX_API_KEY }} --bounds "-54.28772,3.11460,-54.03630,3.35025" -Z 10 -f mapbox-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
# Temporary disabled due to weird behavior of Planet API in relation to this test
# - name: Test run of Docker image with Planet source
# run: |
# docker run --rm -v ${{ github.workspace }}/outputs:/app/outputs ${{ steps.meta.outputs.tags }} --style planet --monthyear 2013-12 --apikey ${{ secrets.PLANET_API_KEY }} --bounds "-54.28772,3.11460,-54.03630,3.35025" -Z 5 -f planet-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
- name: Test run of Docker image with Planet source
run: |
docker run --rm -v ${{ github.workspace }}/outputs:/app/outputs ${{ steps.meta.outputs.tags }} --style planet --monthyear 2023-12 --apikey ${{ secrets.PLANET_API_KEY }} --bounds "-54.28772,3.11460,-54.03630,3.35025" -Z 5 -f planet-${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
- name: Upload mbtiles artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 0 additions & 2 deletions src/cli.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env node

import fs from "fs";
import path from "path";
import { program } from "commander";

import { parseListToFloat, validateInputOptions } from "./utils.js";
Expand Down

0 comments on commit 91cfffa

Please sign in to comment.