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

Setup staging deployment #6

Merged
merged 6 commits into from
Mar 24, 2022
Merged

Setup staging deployment #6

merged 6 commits into from
Mar 24, 2022

Conversation

danielfdsilva
Copy link
Collaborator

This PR sets up the GH actions to run content tests and deploy to staging.

The staging url is now: https://vizex.surge.sh/
Currently is shows "Welcome to undefined", and although poetic this will be fixed once this is merged.

I added some of the dummy content we had in the delta-ui mock folder, but we should include better one.
The workflow is simple: Branch from develop, open a PR and merge. This will trigger a deploy.

Whenever we want to update the delta-ui version, we need to update the git submodule reference.

@hanbyul-here I added some docs explaining the configuration. Please have a look as an outside view would be very valuable to ensure that this is clear.

@@ -61,7 +65,7 @@ TODO: info
# Development
There's not much development to be done in the config repo. The UI part of Delta is stored at [delta-ui](https:/NASA-IMPACT/delta-ui), and connected to the config via a git submodule.

**To avoid breaking changes you'll have to manually update the version of delta-ui your config uses.**
**To avoid breaking changes, the version of `delta-ui` is pinned to a specific commit making use of a [git-submodule](https://www.atlassian.com/git/tutorials/git-submodule).** This allows development to continue without breaking existent instances.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add documentation about how this pinned commit can be updated for when ui update needs to be deployed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the commit involves knowing how git submodules work and which commit you pin it to, depends on the use case. During development we'll most likely pin this to random branches, but I added some docs explaining what is going on and an example to update from main. Should be easy to understand how to apply it to other situations.
Let me know what you think @hanbyul-here .

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I see. I was not sure where this is done (was thinking if this is saved somewhere in github action config?) , and documentation make it clear where this is done. Thanks!

Copy link
Collaborator

@hanbyul-here hanbyul-here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exciting!

@danielfdsilva danielfdsilva merged commit 70c0b25 into develop Mar 24, 2022
@danielfdsilva danielfdsilva deleted the feature/deploy branch March 24, 2022 09:45
siddharth0248 added a commit that referenced this pull request Apr 26, 2024
* ODIAC_update

* ODIAC_update_v1

* ODIAC_update_v11

* odiac_v12

* ODIAC_update_v2

* ODIAC_update_v2

* ODIAC_update_v22

* ODIAC_v22

* ODIAC_update_v22

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v22

* ODIAC_update_v2

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v3

* ODIAC_update_v31

* ODIAC_Update_v31

* ODIAC_Update_v31

* ODIAC_update_v31

* ODIAC_Update_v31

* ODIAC_Update_v31

* ODIAC_update_v31

* ODIAC_update_v31

* ODIAC_update_v31

* ch4-test

* ch4_test

* ch4_test

* epa_merge_update

* epa_merge_test

* epa_merge_test

* data_placeholder_update

* data_placeholder_update

* data_placeholder_update

* data_placeholder_update

* data_placeholder_update

* data_placeholder_update

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* data_placeholder_update_v1

* ch4_update_v1

* ch4_wetlands_update_v1

* ch4_wetlands_update_v1

* ch4_wetlands_update_v1

* ch4_wetlands_update_v1

* dataset_placeholder_update_v1

* data_placeholder_update_v11

* data_placeholder_update_v11

* dataset_placeholder_update_v11

* data_placeholder_update_v21

* data_placeholder_update_v21

* data_placeholder_update_v21

* data_placeholder_update_v21

* wetlands_test

* wetlands_test

* wetlands_test

* wetlands_test

* wetlands_test

* wetlands_test

* wetlands_update_v21

* plume_update_v1

* plume_update_v1

* plume_update_v1

* plume_update_v1

* plume_update_v1

* plume_update_v1

* plume_update_v1

* odiac_test

* odiac_test

* odiac_test

* odiac_test

* odiac_test

* odiac_test

* odiac_test

* odiac_test

* odiac_test

* odiac_update

* odiac_update

* Update stac collection name

* Update zoom extent

* odiac_plume_update

* odiac_plume_update

* test

* odiac_plume_visual_update

* ODIAC_validation_report_test

* ODIAC_validation_report_test

* test

* ODIAC_validation_doc_test

* ODIAC_test

* ODIAC_v3

* ODIAC_v3

* ODIAC_v3

* ODIAC_v3

* ODIAC_v3

* ODIAC_v3

* ODIAC_v3

* wetlands_daily_test

* wetlands_test

* wetlands_test

* wetlands_test

* ODIAC_Wetlands_v3

* test

* test

* test

* test_color

* test_colorramp

* test

* test

* test

* ODIAC_Wetlands_v1

* ODIAC_Wetlands_GEOS_v1

* ODIAC_Wetlands_CASA_GFED_v1

* ODIAC_Wetlands_CASA_GFED_v1

* casa-gfed-test

* CASA_GFED_test

* CASA_GFED_test

* CASA_GFED_test

* CASA_GFED_test

* CASA_GFED_test

* CASA_GFED_allassets_v1

* header_image_update

* sedac_and_header_update

* sedac_and_header_image_update

* sedac

* all_data_v1

* all_dataset_ingested_v1

* test

* workflow_update

* header_images_update

* header_updates

* content_update

* test

* content_update

* dataset_content_update_ready to merge

* dataset_content_update_ready to merge

* sedac_update

* test

* header_update

* header_title_update

* 2i2c_demo_ODIAC

* resolve_superscript_error

* GHG to U.S. GHG

* labels_legend_superscript

* wetlands_update

* Greenhouse_title

* sedac_image

* taxonomy_update

* taxonomy_update

* 2i2c

* app_title

* header_image_resized

* odiac_unit_update

---------

Co-authored-by: Slesa Adhikari <[email protected]>
Co-authored-by: Hanbyul Jo <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants