-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix postman workflow #294
Changes from all commits
a32d6c0
9b05b47
f89f508
642835c
52d636a
42e6098
ebc5d8c
c1aea8b
7e78f08
380abf7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,13 @@ jobs: | |
with: | ||
ref: main | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: maven | ||
|
||
# login to ECR to we can pull coord image from there | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
|
@@ -69,16 +76,19 @@ jobs: | |
|
||
# Use docker-compose to start required stack | ||
# Pull JSON API image from ECR corresponding to latest commit on main branch | ||
# Retag JSON API image to remove repository name since start script does not expect it | ||
# Pull Stargate coordinator image from ECR corresponding to version dependency in project pom | ||
# Retag images to remove repository name since start script does not expect it | ||
# Print version of images used for verification | ||
- name: Start Docker Compose | ||
run: | | ||
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)" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
docker pull ${{ secrets.ECR_REPOSITORY }}/stargateio/coordinator-dse-68:$SGTAG | ||
docker image tag ${{ secrets.ECR_REPOSITORY }}/stargateio/coordinator-dse-68:$SGTAG stargateio/coordinator-dse-68:$SGTAG | ||
cd docker-compose | ||
./start_dse_68_dev_mode.sh ${{ matrix.docker-flags }} -j $JSONTAG | ||
docker-compose images | ||
./start_dse_68_dev_mode.sh ${{ matrix.docker-flags }} -j $JSONTAG -t $SGTAG | ||
|
||
# Install NB and required library | ||
# See: https://github.com/AppImage/AppImageKit/wiki/FUSE | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes