Skip to content

Commit

Permalink
build: remove docker-based AIO preview deploy setup (angular#48345)
Browse files Browse the repository at this point in the history
The docker-based AIO preview deploy setup is replaced with
significantly simpler setup using GitHub actions provided by
dev-infra (also something dev-infra can maintain better then).

The actions under the hood leverage Firebase preview channels.

PR Close angular#48345
  • Loading branch information
devversion authored and AndrewKushnir committed Dec 5, 2022
1 parent 65d8803 commit 6b16df1
Show file tree
Hide file tree
Showing 94 changed files with 0 additions and 10,438 deletions.
37 changes: 0 additions & 37 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,35 +363,6 @@ jobs:
# Check the bundle sizes.
- run: yarn --cwd aio payload-size aio-local

# This job should only be run on PR builds, where `CI_PULL_REQUEST` is not `false`.
aio_preview:
executor:
name: default-executor
resource_class: 2xlarge+
environment:
AIO_SNAPSHOT_ARTIFACT_PATH: &aio_preview_artifact_path 'aio/tmp/snapshot.tgz'
steps:
- custom_attach_workspace
- init_environment
- run: ./aio/scripts/build-artifacts.sh $AIO_SNAPSHOT_ARTIFACT_PATH $CI_PULL_REQUEST $CI_COMMIT
- store_artifacts:
path: *aio_preview_artifact_path
# The `destination` needs to be kept in sync with the value of
# `AIO_ARTIFACT_PATH` in `aio/aio-builds-setup/Dockerfile`
destination: aio/dist/aio-snapshot.tgz
- run: node ./aio/scripts/create-preview $CIRCLE_BUILD_NUM

# This job should only be run on PR builds, where `CI_PULL_REQUEST` is not `false`.
test_aio_preview:
executor: test-browser-executor
steps:
- custom_attach_workspace
- init_environment
- run: yarn --cwd aio install --frozen-lockfile --non-interactive --cache-folder ~/.cache/yarn
- run:
name: Wait for preview and run tests
command: node aio/scripts/test-preview.js $CI_PULL_REQUEST $CI_COMMIT $CI_AIO_MIN_PWA_SCORE

# The `build-npm-packages` tasks exist for backwards-compatibility with old scripts and
# tests that rely on the pre-Bazel `dist/packages-dist` output structure (build.sh).
# Having multiple jobs that independently build in this manner duplicates some work; we build
Expand Down Expand Up @@ -752,14 +723,6 @@ workflows:
- test_aio_local:
requires:
- setup
- aio_preview:
# Only run on PR builds. (There can be no previews for non-PR builds.)
<<: *only_on_pull_requests
requires:
- setup
- test_aio_preview:
requires:
- aio_preview
- publish_packages_as_artifacts:
requires:
- build-npm-packages
Expand Down
105 changes: 0 additions & 105 deletions .circleci/trigger-webhook.js

This file was deleted.

3 changes: 0 additions & 3 deletions aio/aio-builds-setup/dockerbuild/.dockerignore

This file was deleted.

179 changes: 0 additions & 179 deletions aio/aio-builds-setup/dockerbuild/Dockerfile

This file was deleted.

2 changes: 0 additions & 2 deletions aio/aio-builds-setup/dockerbuild/cronjobs/aio-builds-cleanup

This file was deleted.

16 changes: 0 additions & 16 deletions aio/aio-builds-setup/dockerbuild/dnsmasq/dnsmasq.conf

This file was deleted.

9 changes: 0 additions & 9 deletions aio/aio-builds-setup/dockerbuild/logrotate/aio-misc

This file was deleted.

13 changes: 0 additions & 13 deletions aio/aio-builds-setup/dockerbuild/logrotate/aio-nginx

This file was deleted.

9 changes: 0 additions & 9 deletions aio/aio-builds-setup/dockerbuild/logrotate/aio-preview-server

This file was deleted.

Loading

0 comments on commit 6b16df1

Please sign in to comment.