From 498b27c766316e197b71039b1b54f0dd680dc0db Mon Sep 17 00:00:00 2001 From: Chris Tabone Date: Fri, 21 Jun 2024 21:48:05 -0300 Subject: [PATCH] Update self_runner_test.yml --- .github/workflows/self_runner_test.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/self_runner_test.yml b/.github/workflows/self_runner_test.yml index e49712b0..0444909e 100644 --- a/.github/workflows/self_runner_test.yml +++ b/.github/workflows/self_runner_test.yml @@ -31,18 +31,21 @@ jobs: eval ${DOCKER_LOGIN_CMD} fi - - name: Pull Neo4j Env Image + - name: Construct NEO_ENV_IMAGE + id: construct-image env: REGISTRY: 100225593120.dkr.ecr.us-east-1.amazonaws.com DOCKER_PULL_TAG: "stage" # Adjust as needed - NEO_ENV_IMAGE: ${{ env.REGISTRY }}/agr_neo4j_env:${{ env.DOCKER_PULL_TAG }} - run: docker pull ${{ env.NEO_ENV_IMAGE }} + run: echo "NEO_ENV_IMAGE=${{ env.REGISTRY }}/agr_neo4j_env:${{ env.DOCKER_PULL_TAG }}" >> $GITHUB_ENV + + - name: Debug NEO_ENV_IMAGE + run: echo "NEO_ENV_IMAGE=$NEO_ENV_IMAGE" + + - name: Pull Neo4j Env Image + run: docker pull $NEO_ENV_IMAGE - name: Run Neo4j env: - REGISTRY: 100225593120.dkr.ecr.us-east-1.amazonaws.com - DOCKER_PULL_TAG: "stage" # Adjust as needed - NEO_ENV_IMAGE: ${{ env.REGISTRY }}/agr_neo4j_env:${{ env.DOCKER_PULL_TAG }} NEO_SERVER_NAME: "stage-neo4j.alliancegenome.org" LOG_SERVER_ADDRESS: "udp://logserver.example.com:12201" NEO_VOLUME_NAME: "/data" @@ -69,4 +72,9 @@ jobs: -e NEO4J_db_memory_transaction_total_max=${{ env.NEO_TRANSACTION }} \ -e NEO4J_db_memory_transaction_max=${{ env.NEO_TRANSACTION }} \ -e NEO4J_AUTH=${{ env.NEO4J_AUTH }} \ - ${{ env.NEO_ENV_IMAGE }} + $NEO_ENV_IMAGE + + - name: Checkout repository + uses: actions/checkout@v2 + with: + repository: alliance-genome/agr_loader