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

Fix postman workflow #294

Merged
merged 10 commits into from
Mar 30, 2023
Merged

Fix postman workflow #294

merged 10 commits into from
Mar 30, 2023

Conversation

jeffreyscarpenter
Copy link
Contributor

after initial merge of postman workflow onto main, can test and fix issues.

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@jeffreyscarpenter jeffreyscarpenter marked this pull request as ready for review March 24, 2023 19:10
@jeffreyscarpenter jeffreyscarpenter requested a review from a team as a code owner March 24, 2023 19:10
@jeffreyscarpenter
Copy link
Contributor Author

jeffreyscarpenter commented Mar 24, 2023

Note the workflow will still show as failing but that is due to actual failures in the postman collection, as @johnsmartco is adding tests to it.

@@ -76,9 +83,11 @@ jobs:
JSONTAG=$(git show -s --format="%H")
docker pull ${{ secrets.ECR_REPOSITORY }}/stargateio/${{ matrix.docker-image }}:$JSONTAG
docker image tag ${{ secrets.ECR_REPOSITORY }}/stargateio/${{ matrix.docker-image }}:$JSONTAG stargateio/${{ matrix.docker-image }}:$JSONTAG
SGTAG="$(./mvnw -f . help:evaluate -Dexpression=stargate.int-test.coordinator.image-tag -q -DforceStdout)"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

In copying steps from docker pull from this performance testing workflow for the new postman workflow, I realized that this workflow wasn't actually pulling the coordinator image from ECR. I updated both workflows with logic to pull the coordinator image according to the Stargate version referenced in the pom.

Comment on lines +58 to +64
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: maven

Copy link
Contributor

Choose a reason for hiding this comment

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

seems this is added, but not required by any change below?

Copy link
Contributor

Choose a reason for hiding this comment

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

ah is it for the /mvnw?

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

@jeffreyscarpenter jeffreyscarpenter merged commit ea5f5a1 into main Mar 30, 2023
@jeffreyscarpenter jeffreyscarpenter deleted the jeff/fix-postman branch March 30, 2023 15:05
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