Skip to content

Commit

Permalink
Fix new worfklow syntax - attempt #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Aug 17, 2023
1 parent 0c9d5e3 commit 222de62
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/create-featurenet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ runs:
shell: bash
env:
# yamllint disable-line rule:line-length
APP_NAME: ${{ inputs.featurenet-name != '' && inputs.featurenet-name || format('{0}{1}{2}', 'fe-', steps.get-ref-properties.outputs.branch-name-for-argo, github.run_id) }}
APP_NAME: ${{ inputs.featurenet-name != '' && inputs.featurenet-name || format('{0}{1}-{2}', 'fe-', steps.get-ref-properties.outputs.branch-name-for-argo, github.run_id) }}
run: |
name_local=${{ env.APP_NAME }}
echo "name=$name_local" >> $GITHUB_OUTPUT
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/nightly-logic-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@ jobs:
uses: ./.github/workflows/_build-test-node-and-runtime.yml
secrets: inherit

store-test-node-and-runtime:
name: Store test node and runtime in Devnet bucket
runs-on: ubuntu-20.04
needs: [build-test-node-and-runtime]
steps:
- name: Checkout aleph-node source code
uses: actions/checkout@v3

- name: Store test node and runtime
uses: ./.github/actions/store-node-and-runtime
with:
profile: test
aws-access-key-id: ${{ secrets.AWS_DEVNET_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_DEVNET_SECRET_ACCESS_KEY }}
aws-bucket: ${{ secrets.CI_DEVNET_S3BUCKET_NAME }}

push-featurnet-node-image-to-ecr:
needs: [build-test-node-and-runtime]
name: Build and push PR test docker image to ECR
Expand All @@ -36,8 +52,6 @@ jobs:

runs-e2e-test-on-fe:
needs: [push-featurnet-node-image-to-ecr, build-e2e-client-image]
# to prevent this job skipping if build already exists on ECR
if: always()
name: Run e2e test on FE
runs-on: [self-hosted, Linux, X64, large]
steps:
Expand Down

0 comments on commit 222de62

Please sign in to comment.