From e6c0e7ddc973a929f88adf3bb17cf370fee5eb1b Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Tue, 8 Feb 2022 02:59:56 -0800 Subject: [PATCH] regenerate github actions Summary: Fix the getdeps.py generation sub command and regenerate github actions before making changes to support actions generation for eden_scm Reviewed By: fanzeyi Differential Revision: D34044243 fbshipit-source-id: 0039d04f25af4c842145dc142dae6b9996fc8046 --- .github/workflows/getdeps_linux.yml | 8 ++++---- .github/workflows/getdeps_mac.yml | 8 ++++---- build/fbcode_builder/getdeps.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/getdeps_linux.yml b/.github/workflows/getdeps_linux.yml index 4d7dffa8b..1ddc2312d 100644 --- a/.github/workflows/getdeps_linux.yml +++ b/.github/workflows/getdeps_linux.yml @@ -41,8 +41,6 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4 - name: Fetch snappy run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy - - name: Fetch folly - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly - name: Fetch autoconf run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf - name: Fetch automake @@ -53,6 +51,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gperf - name: Fetch libsodium run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium + - name: Fetch folly + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly - name: Fetch fizz run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz - name: Fetch mvfst @@ -85,8 +85,6 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4 - name: Build snappy run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy - - name: Build folly - run: python3 build/fbcode_builder/getdeps.py build --no-tests folly - name: Build autoconf run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf - name: Build automake @@ -97,6 +95,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests gperf - name: Build libsodium run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium + - name: Build folly + run: python3 build/fbcode_builder/getdeps.py build --no-tests folly - name: Build fizz run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz - name: Build mvfst diff --git a/.github/workflows/getdeps_mac.yml b/.github/workflows/getdeps_mac.yml index 0733cda68..528ba1947 100644 --- a/.github/workflows/getdeps_mac.yml +++ b/.github/workflows/getdeps_mac.yml @@ -43,8 +43,6 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy - name: Fetch libevent run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent - - name: Fetch folly - run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly - name: Fetch autoconf run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf - name: Fetch automake @@ -55,6 +53,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gperf - name: Fetch libsodium run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium + - name: Fetch folly + run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly - name: Fetch fizz run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz - name: Fetch mvfst @@ -89,8 +89,6 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy - name: Build libevent run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent - - name: Build folly - run: python3 build/fbcode_builder/getdeps.py build --no-tests folly - name: Build autoconf run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf - name: Build automake @@ -101,6 +99,8 @@ jobs: run: python3 build/fbcode_builder/getdeps.py build --no-tests gperf - name: Build libsodium run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium + - name: Build folly + run: python3 build/fbcode_builder/getdeps.py build --no-tests folly - name: Build fizz run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz - name: Build mvfst diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index ffca20ef1..46a8e4a31 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -877,7 +877,7 @@ class GenerateGitHubActionsCmd(ProjectCmdBase): # TODO: Break up complex function def write_job_for_platform(self, platform, args): # noqa: C901 build_opts = setup_build_options(args, platform) - ctx_gen = build_opts.get_context_generator(facebook_internal=False) + ctx_gen = build_opts.get_context_generator() loader = ManifestLoader(build_opts, ctx_gen) manifest = loader.load_manifest(args.project) manifest_ctx = loader.ctx_gen.get_context(manifest.name)