Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions Workflow for Basic CoastSat Testing with ee #542

Open
thekester opened this issue Oct 16, 2024 · 3 comments
Open

Add GitHub Actions Workflow for Basic CoastSat Testing with ee #542

thekester opened this issue Oct 16, 2024 · 3 comments

Comments

@thekester
Copy link
Contributor

As discussed in this GitHub issue and with the support of @jdbcode, the process for authenticating Earth Engine in GitHub Actions has been updated. The recommended protocol is now available in the official repository of the Google Earth Engine Community, which will soon include updates for enhanced security like using one of the three methods recommended by Google.

You can check an implementation in one of my repositories here, although this method is considered one of the less secure options and should be used as a last resort.

@kvos
Copy link
Owner

kvos commented Nov 1, 2024

hi @thekester, looks really good. so how can we test these GitHub actions and get notified if something is broken?

@thekester
Copy link
Contributor Author

hi @thekester, looks really good. so how can we test these GitHub actions and get notified if something is broken?

Hi @kvos!

To start testing GitHub Actions with Earth Engine in Python, follow these steps:

  1. Initialize Earth Engine in GitHub Actions
    Begin by setting up Earth Engine according to the instructions for initializing Earth Engine in Python with GitHub Actions. This setup will allow your GitHub Action workflows to authenticate and use Earth Engine resources.

  2. Create a New Branch
    It's a good idea to create a dedicated branch for testing these workflows. This way, you can safely iterate and debug without affecting your main project branch.

  3. Test the Workflow
    Once you’ve set up the initial workflow, push changes to your branch. GitHub will automatically trigger the workflow, and you’ll be able to observe its performance and get notified of any issues.

  4. Enhance with a Non-Interactive Coastsat Script
    Once the Earth Engine setup is stable, you can further optimize your workflow by creating a non-interactive version of the Coastsat script. This will help streamline execution, particularly for automated processes within GitHub Actions.

Following this approach will enable continuous integration checks via GitHub, ensuring that any issues or breaks in the workflow are quickly caught. Let me know if you need any further assistance with this!

@kvos
Copy link
Owner

kvos commented Dec 10, 2024

@thekester , sorry for the delay I haven't had time to try this out. Will check it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants