diff --git a/.github/actions/prepare-api-variables/action.yml b/.github/actions/prepare-api-variables/action.yml index 1e983295283..69bf75316ee 100644 --- a/.github/actions/prepare-api-variables/action.yml +++ b/.github/actions/prepare-api-variables/action.yml @@ -23,10 +23,6 @@ outputs: runs: using: "composite" steps: - - uses: actions/checkout@v4 - with: - sparse-checkout: ./.github/actions - - name: Saleor login uses: ./.github/actions/cli-login with: diff --git a/.github/actions/prepare-backups-variables/action.yml b/.github/actions/prepare-backups-variables/action.yml index e461f8db0b0..c46c3457a74 100644 --- a/.github/actions/prepare-backups-variables/action.yml +++ b/.github/actions/prepare-backups-variables/action.yml @@ -20,10 +20,6 @@ outputs: runs: using: "composite" steps: - - uses: actions/checkout@v4 - with: - sparse-checkout: ./.github/actions - - name: Saleor login uses: ./.github/actions/cli-login with: diff --git a/.github/actions/prepare-instance/action.yml b/.github/actions/prepare-instance/action.yml index d56d889a5b6..d7a102356f0 100644 --- a/.github/actions/prepare-instance/action.yml +++ b/.github/actions/prepare-instance/action.yml @@ -26,10 +26,6 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@v4 - with: - sparse-checkout: ./.github/actions - - name: Saleor login uses: ./.github/actions/cli-login with: @@ -54,9 +50,11 @@ runs: BACKUP_ID: ${{ inputs.BACKUP_ID }} INSTANCE_NAME: ${{ inputs.POOL_NAME }} run: | - npx saleor backup restore "$BACKUP_ID" \ - --environment="$INSTANCE_NAME" \ - --skip-webhooks-update + echo "reload snapshot" + # run: | + # npx saleor backup restore "$BACKUP_ID" \ + # --environment="$INSTANCE_NAME" \ + # --skip-webhooks-update - name: Create new instance shell: bash @@ -66,11 +64,13 @@ runs: BACKUP_ID: ${{ inputs.BACKUP_ID }} INSTANCE_NAME: ${{ inputs.POOL_NAME }} run: | - npx saleor env create "$INSTANCE_NAME" \ - --project=project-for-pr-testing \ - --database=snapshot \ - --restore-from="$BACKUP_ID" \ - --saleor=saleor-master-staging \ - --domain="$INSTANCE_NAME" \ - --skip-restrict \ - --skip-webhooks-update \ No newline at end of file + echo "create new instance" + # run: | + # npx saleor env create "$INSTANCE_NAME" \ + # --project=project-for-pr-testing \ + # --database=snapshot \ + # --restore-from="$BACKUP_ID" \ + # --saleor=saleor-master-staging \ + # --domain="$INSTANCE_NAME" \ + # --skip-restrict \ + # --skip-webhooks-update \ No newline at end of file diff --git a/.github/workflows/run-test-manual.yml b/.github/workflows/run-test-manual.yml index 66c9717bcde..d48c97a7645 100644 --- a/.github/workflows/run-test-manual.yml +++ b/.github/workflows/run-test-manual.yml @@ -19,6 +19,10 @@ jobs: BACKUP_VER: ${{ steps.cloud_variables.outputs.BACKUP_VER }} BACKUP_NAME: ${{ steps.cloud_variables.outputs.BACKUP_NAME }} steps: + - uses: actions/checkout@v4 + with: + sparse-checkout: ./.github/actions + - name: Generate variables id: cloud_variables uses: ./.github/actions/prepare-tests-variables