Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Feb 24, 2024
1 parent 65fa73f commit 58f363f
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
SOURCE_IMAGE_TAG: ""
REGISTRY_USERNAME_SECRET_NAME: ARTIFACTORY_USERNAME
REGISTRY_PASSWORD_SECRET_NAME: ARTIFACTORY_PASSWORD
# - service: aries-endorser-db
# GIT_REPO_URL: hyperledger/aries-endorser-service
# GIT_REF: ""
# BRANCH: move-tests-to-askar
# PATH: docker/wallet/config
# BUILDER_IMAGE: 'quay.io/fedora/postgresql-13:13'
- service: aries-endorser-db
GIT_REPO_URL: hyperledger/aries-endorser-service
GIT_REF: ""
BRANCH: move-tests-to-askar
PATH: docker/wallet/config
BUILDER_IMAGE: 'quay.io/fedora/postgresql-13:13'
- service: aries-endorser-backup
GIT_REPO_URL: BCDevOps/backup-container
GIT_REF: ""
Expand Down Expand Up @@ -165,26 +165,26 @@ jobs:
if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)
run: echo "tags=$(echo '${{ steps.meta.outputs.tags }}' | grep -oE ':([^[:space:]]+)' | sed '/workflow/d' | sed 's/://g' | tr '\n' ' ')" >> $GITHUB_OUTPUT

# - name: Build database image
# id: build_image
# if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)
# uses: redhat-actions/s2i-build@v2
# with:
# path_context: ${{ matrix.PATH }}
# # Builder image for a java project
# builder_image: ${{ matrix.BUILDER_IMAGE }}
# image: ${{ env.GITHUB_IMAGE_REPO }}${{ matrix.service }}
# tags: ${{ steps.extract.outputs.tags }}
- name: Build database image
id: build_image
if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)
uses: redhat-actions/s2i-build@v2
with:
path_context: ${{ matrix.PATH }}
# Builder image for a java project
builder_image: ${{ matrix.BUILDER_IMAGE }}
image: ${{ env.GITHUB_IMAGE_REPO }}${{ matrix.service }}
tags: ${{ steps.extract.outputs.tags }}

# - name: Push database image
# id: push
# if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)
# uses: redhat-actions/push-to-registry@v2
# with:
# tags: ${{ steps.build_image.outputs.tags }}
# image: ${{ steps.build_image.outputs.image }}
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
- name: Push database image
id: push
if: contains(fromJSON('["aries-endorser-db"]'), matrix.service)
uses: redhat-actions/push-to-registry@v2
with:
tags: ${{ steps.build_image.outputs.tags }}
image: ${{ steps.build_image.outputs.image }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Display ${{ matrix.service }} image results
id: digests
Expand Down

0 comments on commit 58f363f

Please sign in to comment.