Skip to content

Conversation

@pantierra
Copy link
Contributor

This is the first step to review the CI tests (#200 ):

  • Allow to easily run integration tests locally with make integration.
  • Reviewed consolidated, improved and documented scripts, ordered them into three: deploy.sh, test.sh and ingest.sh
  • Deploy and test locally and in CI based on same source-of-truth - using the same scripts.
  • Improved debug output in CI pipeline.
  • Bring back raster integration tests.

@pantierra pantierra force-pushed the feature/review-integration-tests branch from 35fba24 to 9aa2d38 Compare September 10, 2025 08:13
if: github.event.pull_request.head.repo.full_name == github.repository
integration:
name: Integration Tests (K3s)
# if: github.event.pull_request.head.repo.full_name == github.repository
Copy link
Contributor

Choose a reason for hiding this comment

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

Comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Debug shiz. Took the comment away. Thanks for spotting it.

echo "LAST_COMMIT_SHA=${GITHUB_SHA}" >> ${GITHUB_ENV}
SHORT_SHA="${{ github.sha }}"
SHORT_SHA="${SHORT_SHA::8}"
SALT=$(echo "$RANDOM" | cut -c1-3)
Copy link
Contributor

Choose a reason for hiding this comment

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

is the salt needed? It's a local cluster right we shouldn't get conflicts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, not necessary in this context. Removed.

Makefile Outdated
help:
@echo "Makefile commands:"
@echo " make deploy - Install eoAPI on a cluster kubectl is connected to."
@echo " make deploy - Deploy eoAPI with on connected Kubernetes cluster."
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
@echo " make deploy - Deploy eoAPI with on connected Kubernetes cluster."
@echo " make deploy - Deploy eoAPI to the configured Kubernetes cluster."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks! Fixed.

@pantierra pantierra force-pushed the feature/review-integration-tests branch from 9aa2d38 to 2b51600 Compare September 11, 2025 07:47
@pantierra pantierra changed the title Check on existing integration tests refactor: Check on existing integration tests Sep 11, 2025
@ciaransweet ciaransweet merged commit fe61ad5 into main Sep 11, 2025
2 checks passed
@ciaransweet ciaransweet deleted the feature/review-integration-tests branch September 11, 2025 10:43
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.

3 participants