Skip to content

Commit

Permalink
test entire execution
Browse files Browse the repository at this point in the history
  • Loading branch information
elayrocks committed May 7, 2024
1 parent d8c245e commit 4c353f0
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,40 @@ jobs:
steps:
- uses: actions/checkout@v3

# - uses: actions/setup-python@v4
# with:
# python-version: "3.8"
- uses: actions/setup-python@v4
with:
python-version: "3.8"

# - name: Install local dependencies
# run: ./scripts/install
- name: Install local dependencies
run: ./scripts/install

# - name: Setup
# run: ./scripts/setup --no-aux-servers
- name: Setup
run: ./scripts/setup --no-aux-servers

# - name: Test
# run: ./scripts/test
- name: Test
run: ./scripts/test

# - name: Validate collections
# run: ./scripts/validate-collections
- name: Validate collections
run: ./scripts/validate-collections

# # Integration Tests
# Integration Tests

# - name: Install Kind
# uses: helm/[email protected]
# with:
# install_only: true
- name: Install Kind
uses: helm/[email protected]
with:
install_only: true

# - name: Install Helm
# uses: azure/setup-helm@v3
# with:
# version: v3.8.2
# # if: ${{ github.base_ref == 'main' }}
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.8.2
# if: ${{ github.base_ref == 'main' }}

# - name: Setup cluster
# run: ./scripts/cluster setup
- name: Setup cluster
run: ./scripts/cluster setup

# - name: Run integration tests
# run: ./scripts/citest-integration
- name: Run integration tests
run: ./scripts/citest-integration

# Publish images

Expand All @@ -76,15 +76,15 @@ jobs:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

# - name: Publish images (test)
# run: ./scripts/publish --acr pccomponentstest --tag ${{steps.get_image_tag.outputs.tag}}
- name: Publish images (test)
run: ./scripts/publish --acr pccomponentstest --tag ${{steps.get_image_tag.outputs.tag}}

# - name: Publish images
# run: ./scripts/publish --acr pccomponents --tag ${{steps.get_image_tag.outputs.tag}}
- name: Publish images
run: ./scripts/publish --acr pccomponents --tag ${{steps.get_image_tag.outputs.tag}}

# - name: Clean up CosmosDB test containers
# run: ./scripts/setup --rm-test-containers
# if: always()
- name: Clean up CosmosDB test containers
run: ./scripts/setup --rm-test-containers
if: always()

outputs:
image_tag: ${{ steps.get_image_tag.outputs.tag }}
Expand Down

0 comments on commit 4c353f0

Please sign in to comment.