Skip to content

Commit f199fe0

Browse files
committed
Updated snapshots.
1 parent 9d4ee93 commit f199fe0

51 files changed

Lines changed: 401 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.circleci/build-test-deploy.yml renamed to .vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.circleci/config.yml

File renamed without changes.

.vortex/installer/tests/Fixtures/handler_process/ciprovider_circleci/.github/workflows/-build-test-deploy.yml

Whitespace-only changes.

.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.circleci/build-test-deploy.yml renamed to .vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.circleci/config.yml

File renamed without changes.

.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.github/workflows/-build-test-deploy.yml

Whitespace-only changes.

.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.circleci/build-test-deploy.yml renamed to .vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.circleci/config.yml

File renamed without changes.

.vortex/installer/tests/Fixtures/handler_process/deploy_types_none_circleci/.github/workflows/-build-test-deploy.yml

Whitespace-only changes.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
@@ -406,76 +406,3 @@
2+
timeout-minutes: 120 # Cancel the action after 15 minutes, regardless of whether a connection has been established.
3+
with:
4+
detached: true
5+
-
6+
- deploy:
7+
- runs-on: ubuntu-latest
8+
- needs: build
9+
- if: ${{ github.event_name != 'schedule' && !startsWith(github.head_ref || github.ref_name, 'deps/') && (github.event_name == 'push' || !startsWith(github.head_ref, 'project/')) }}
10+
-
11+
- container:
12+
- # https://hub.docker.com/r/drevops/ci-runner
13+
- image: drevops/ci-runner:__VERSION__
14+
- env:
15+
- TZ: ${{ vars.TZ || 'UTC' }}
16+
- TERM: xterm-256color
17+
- VORTEX_SSH_DISABLE_STRICT_HOST_KEY_CHECKING: "1"
18+
- VORTEX_DEBUG: ${{ vars.VORTEX_DEBUG }}
19+
-
20+
- steps:
21+
- - name: Preserve $HOME set in the container
22+
- run: echo HOME=/root >> "$GITHUB_ENV" # https://github.com/actions/runner/issues/863
23+
-
24+
- - name: Checkout code
25+
- uses: actions/checkout@__HASH__ # __VERSION__
26+
- with:
27+
- # Fetch all history for git repository.
28+
- fetch-depth: 0
29+
- # Do not persist credentials after checkout
30+
- # to allow using the custom credentials to push to a remote repo.
31+
- persist-credentials: false
32+
- ref: ${{ github.head_ref || github.ref_name }}
33+
-
34+
- - name: Load environment variables from .env
35+
- run: t=$(mktemp) && export -p >"${t}" && set -a && . ./.env && set +a && . "${t}" && env >> "$GITHUB_ENV"
36+
-
37+
- - name: Download exported codebase as an artifact
38+
- uses: actions/download-artifact@__HASH__ # __VERSION__
39+
- if: ${{ contains(env.VORTEX_DEPLOY_TYPES, 'artifact') }}
40+
- with:
41+
- name: code-artifact
42+
- path: "/tmp/artifacts"
43+
-
44+
- - name: Unpack downloaded exported codebase
45+
- if: ${{ contains(env.VORTEX_DEPLOY_TYPES, 'artifact') }}
46+
- run: |
47+
- mkdir -p /tmp/workspace
48+
- tar -xpf /tmp/artifacts/code.tar -C /tmp/workspace
49+
-
50+
- - name: Add SSH private key to the runner
51+
- if: ${{ env.VORTEX_DEPLOY_SSH_PRIVATE_KEY != '' }}
52+
- uses: shimataro/ssh-key-action@__VERSION__
53+
- with:
54+
- key: ${{ secrets.VORTEX_DEPLOY_SSH_PRIVATE_KEY }}
55+
- known_hosts: unnecessary
56+
- env:
57+
- VORTEX_DEPLOY_SSH_PRIVATE_KEY: ${{ secrets.VORTEX_DEPLOY_SSH_PRIVATE_KEY }}
58+
-
59+
- - name: Deploy
60+
- run: ./scripts/vortex/deploy.sh
61+
- env:
62+
- VORTEX_DEPLOY_MODE: ${{ startsWith(github.ref, 'refs/tags/') && 'tag' || 'branch' }}
63+
- # Get branch for PR from 'head_ref' or for branch from 'ref_name'.
64+
- VORTEX_DEPLOY_BRANCH: ${{ github.head_ref || github.ref_name }}
65+
- VORTEX_DEPLOY_PR: ${{ github.event.number }}
66+
- VORTEX_DEPLOY_PR_HEAD: ${{ github.event.pull_request.head.sha }}
67+
- VORTEX_DEPLOY_ARTIFACT_SRC: /tmp/workspace/code
68+
- VORTEX_DEPLOY_ARTIFACT_ROOT: ${{ github.workspace }}
69+
- VORTEX_DEPLOY_ARTIFACT_GIT_REMOTE: ${{ vars.VORTEX_DEPLOY_ARTIFACT_GIT_REMOTE }}
70+
- VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL: ${{ vars.VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL }}
71+
- VORTEX_DEPLOY_ARTIFACT_GIT_USER_NAME: ${{ vars.VORTEX_DEPLOY_ARTIFACT_GIT_USER_NAME }}
72+
- VORTEX_DEPLOY_WEBHOOK_URL: ${{ vars.VORTEX_DEPLOY_WEBHOOK_URL }}
73+
- VORTEX_DEPLOY_SKIP: ${{ vars.VORTEX_DEPLOY_SKIP }}
74+
- VORTEX_DEPLOY_ALLOW_SKIP: ${{ vars.VORTEX_DEPLOY_ALLOW_SKIP }}
75+
- VORTEX_DEPLOY_SKIP_PRS: ${{ vars.VORTEX_DEPLOY_SKIP_PRS }}
76+
- VORTEX_DEPLOY_SKIP_BRANCHES: ${{ vars.VORTEX_DEPLOY_SKIP_BRANCHES }}
77+
- timeout-minutes: 30

.vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.circleci/build-test-deploy.yml renamed to .vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.circleci/config.yml

File renamed without changes.

.vortex/installer/tests/Fixtures/handler_process/deps_updates_provider_ci_circleci/.github/workflows/-build-test-deploy.yml

Whitespace-only changes.

.vortex/installer/tests/Fixtures/handler_process/migration_disabled_circleci/.circleci/build-test-deploy.yml renamed to .vortex/installer/tests/Fixtures/handler_process/migration_disabled_circleci/.circleci/config.yml

File renamed without changes.

0 commit comments

Comments
 (0)