Skip to content

Commit

Permalink
Computing placeholder tag for arbitrary branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hatboyzero committed Jun 4, 2024
1 parent b6b4946 commit 3f8c4f7
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/e2e-daily-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,16 @@ on:
workflow_dispatch: {}

jobs:
fetch_timestamp:
name: Fetching Timestamp
runs-on: ubuntu-latest
outputs:
current_timestamp: ${{ steps.fetch_current_timestamp.outputs.current_timestamp }}
steps:
- name: Fetch Timestamp
id: fetch_current_timestamp
run: |
CURRENT_TIMESTAMP=$(date +'%Y%m%dT%H%M%SZ')
echo "current_timestamp: $CURRENT_TIMESTAMP"
echo "current_timestamp=$CURRENT_TIMESTAMP" >> $GIHUB_OUTPUT
daily_e2e_test:
uses: ./.github/workflows/e2e-testing.yml
needs: [fetch_timestamp]
with:
environment: "fllm-e2e-aca-daily-${{ needs.fetch_timestamp.outputs.current_timestamp }}"
environment: "fllm-e2e-aca-daily-${{ github.event.repository.updated_at }}"
deployOpenAi: true
openAiName: fllm-01
openAiResourceGroup: fllm-shared-01
location: EastUS2
enableTeardown: true
bypassAndTeardown: false
target: e2e
secrets: inherit
secrets: inherit

0 comments on commit 3f8c4f7

Please sign in to comment.