-
Notifications
You must be signed in to change notification settings - Fork 538
services/galexie: Build and push galexie images on master commits #5837
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
base: master
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ on: | |
| pull_request: | ||
|
|
||
| jobs: | ||
| galexie: | ||
| run-integration-tests: | ||
| name: Test ${{ matrix.storage_type }} integration | ||
| runs-on: ubuntu-22.04 | ||
| strategy: | ||
|
|
@@ -53,4 +53,24 @@ jobs: | |
|
|
||
| - name: Run tests - ${{ matrix.storage_type }} integration | ||
| run: | | ||
| go test -v -race -run "TestGalexie${{ matrix.storage_type }}TestSuite" ./services/galexie/... | ||
| go test -v -race -run "TestGalexie${{ matrix.storage_type }}TestSuite" ./services/galexie/... | ||
|
|
||
| build-and-push-container-image: | ||
| name: Build and Push Container Image | ||
| runs-on: ubuntu-22.04 | ||
| needs: run-integration-tests | ||
| if: github.ref == 'refs/heads/master' | ||
| steps: | ||
| - name: Build docker | ||
| env: | ||
| STELLAR_CORE_VERSION: 24.0.0-2802.0d7b4345d.focal | ||
| run: make -C services/galexie docker-build | ||
|
|
||
| - name: Login to DockerHub | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
| password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
|
||
| - name: Push to DockerHub | ||
| run: make -C services/galexie docker-push | ||
|
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. Are we going to periodically clean up those docker images we push on every master commit? They’re going to pile up. Have we considered pushing them to a private docker repo? 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. we will definitely be pushing more images than we are right now here is a link to some discussions that pushed us to use the public dockerhub repo in the design doc for these changes |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,4 +31,3 @@ COPY --from=builder /go/bin/galexie /usr/bin/galexie | |
| ENTRYPOINT ["/usr/bin/galexie"] | ||
|
|
||
| CMD ["--help"] | ||
|
|
||
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.
what stellar-core version is this docker image built with? you’ll need to set
STELLAR_CORE_VERSION.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.
thank you
35b047d