OvertureMaps / OvertureMaps/stac

Port PR preview staging workflow to Rust CLI

Open
#141 0 comments 0 reactions 1 assignee View on GitHub

@jjcfrancisco is already working on this.

Since Sep 17, 2026.

Dominant language
Rust
Stars
39
Forks
3
Avg merge
4d 18m
Merged PRs (30d)
7

Description

Type

Task

Scope

Multi-theme or Platform

Skillset

engineering

Description

Context

Main runs staging.yaml on every PR: gen-stac, sync to overture-managed-staging-usw2, invalidate CloudFront, sticky-comment a preview URL at https://staging.overturemaps.org/stac/pr/<N>/catalog.json. staging_cleanup.yaml tears it down on PR close. Neither exists on rust — #119 will merge without them.

Proposed change

Port both workflows. Only the build step changes:

  • Replace Python install + gen-stac with cargo run --release -- build --output public_releases --root-href "https://staging.overturemaps.org/${REPO_NAME}/pr/${PR_NUMBER}". Add dtolnay/rust-toolchain + Swatinem/rust-cache steps.
  • Copy staging_cleanup.yaml byte-for-byte (no CLI dependency, pure AWS ops).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.