From 30bec19a879d4826b47c24ae88ca0f812463655e Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Tue, 18 Jun 2024 16:20:24 -0600 Subject: [PATCH 1/2] FEDX-973 Remove Workiva Build files --- Dockerfile | 14 -------------- skynet.yaml | 36 ------------------------------------ 2 files changed, 50 deletions(-) delete mode 100644 Dockerfile delete mode 100644 skynet.yaml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 62e175ac..00000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM drydock-prod.workiva.net/workiva/dart2_base_image:2 as dart2 - -RUN dart --version - -WORKDIR /build -COPY pubspec.yaml . - -RUN dart pub get - -COPY /lib ./lib/ -RUN cd lib && tar -czvf ../cdn_assets.tar.gz *.js *.map -ARG BUILD_ARTIFACTS_CDN=/build/cdn_assets.tar.gz - -FROM scratch \ No newline at end of file diff --git a/skynet.yaml b/skynet.yaml deleted file mode 100644 index 7e3bf7ec..00000000 --- a/skynet.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: validate_cdn_artifact -description: Verifies the cdn artifact generated in the build contains the JS bundle files -image: drydock.workiva.net/workiva/skynet-images:node-test-image-latest -size: large -timeout: 900 - -requires: - Workiva/react-dart: - - cdn - -scripts: - - mkdir build - - cp $SKYNET_APPLICATION_REACT_DART_CDN ./build - - cd build - - tar -xf cdn_assets.tar.gz - - test -e ./react.js && { echo 'Verified dev bundle exists in CDN artifact.'; } || { echo 'Dev bundle /lib/react.js should exist in CDN artifact.'; exit 1; } - - test -e ./react_dom.js && { echo 'Verified dev DOM bundle exists in CDN artifact.'; } || { echo 'Dev DOM bundle /lib/react_dom.js should exist in CDN artifact.'; exit 1; } - - test -e ./react_with_react_dom_prod.js && { echo 'Verified prod bundle exists in CDN artifact.'; } || { echo 'Prod bundle /lib/react_with_react_dom_prod.js should exist in CDN artifact.'; exit 1; } - - test -e ./react_prod.js && { echo 'Verified prod bundle exists in CDN artifact.'; } || { echo 'Prod bundle /lib/react_prod.js should exist in CDN artifact.'; exit 1; } - - test -e ./react_dom_prod.js && { echo 'Verified prod DOM bundle exists in CDN artifact.'; } || { echo 'Prod DOM bundle /lib/react_dom_prod.js should exist in CDN artifact.'; exit 1; } - ---- - -name: verify-github-actions -description: Verify that the github actions run passed, this is needed to make pipelines pass without manual intervention -contact: 'Frontend Frameworks Architecture / #support-frontend-architecture' -image: drydock.workiva.net/workiva/skynet-images:3728345 # Uses the image from this branch: https://github.com/Workiva/skynet-images/pull/127 -size: small -timeout: 600 - -env: -# encrypted github token used for requests to api.github.com - - secure: wqV2dUVmOMNZgll+/Sr4fra76p+gTvqRS3QvNQASg3hzoysFz7enBaKsXKXoPFj+jexOvFVN/m4rko272z/xZ6lBMRI= - -scripts: - - python3 /actions/verify_github_actions.py \ No newline at end of file From e28232917ef3708bb5f56ecac966139a5138adb2 Mon Sep 17 00:00:00 2001 From: Rob Becker Date: Thu, 20 Jun 2024 08:28:00 -0600 Subject: [PATCH 2/2] empty commit to get CI moving