Skip to content

Commit

Permalink
revert untested bazel cache (#12)
Browse files Browse the repository at this point in the history
* Revert "I think this should finally fix the issues..."

This reverts commit a2651d0.

* Revert "see if removing GITHUB_OWNER will make pulumi / tf happier"

This reverts commit eb9696f.

* Revert "try one last time to see if I can meddle with the repo name to get the github integration to work"

This reverts commit f35a857.

* Revert "- provide GITHUB_TOKEN to Staging (oops)"

This reverts commit 1f6ab05.

* Revert "remove presubmit requirement for staging"

This reverts commit d7e3dc3.

* Revert "Remove the insanely expensive NAT gateway and test for missing"

This reverts commit 5d86ec7.

* Revert "re introduce ../ to see if we can make the bastard Actions secret.'"

This reverts commit 2647abf.

* Revert "follow aws provided example better https://github.com/aws-samples/container-patterns/blob/ea823c0c43a0818e1d1e73ea0b646846af504563/pattern/pulumi-ecs-service-in-vpc/files/service-in-vpc.ts\#L17"

This reverts commit 352a3f0.

* Revert "instruct the Fargate service to wait on the internet gateway and nat gateways on a hunch"

This reverts commit 10a0dc0.

* Revert "move listener out of awsx/alb -- couldnt work out how to correctly specify ARN."

This reverts commit 565587a.

* Revert "fixes"

This reverts commit 0184110.

* Revert "fix missed parent"

This reverts commit 47e9309.

* Revert "fix alb name"

This reverts commit 91461b2.

* Revert "progress"

This reverts commit e05fc98.

* Revert "progress"

This reverts commit d8b3bbf.

* Revert "remove code that didnt do anything"

This reverts commit 7d6e9fd.

* Revert "fix build in ts/pulumi/..."

This reverts commit 67826bf.

* Revert "Manually add transient peer @aws-sdk/region-config-resolver"

This reverts commit 81d1615.

* Revert "upgrade aws-sdk in an attempt to get @aws-sdk/region-config-resolver available"

This reverts commit 54465eb.

* Revert "- Add @aws-sdk/region-config-resolver (pulumi was complaining"

This reverts commit f67876f.

* Revert "Attempt to fix Pulumi dependency issue by upgrading deps."

This reverts commit 379626e.

* Revert "Change error to warning for Pulumi testing."

This reverts commit 8759be5.

* Revert "Try to test if the GitHub credentials are incorrect."

This reverts commit 14636e7.

* Revert "Try to see if we can use the correct repo name again."

This reverts commit a00b58c.

* Revert "try to automagically get a gateway set up. also i need to fix pulumi which was interrupted in a broken state apparently"

This reverts commit 8e28892.

* Revert "currently there is a problem where the fargate compute units cannot access the outside internet. perhaps this will fix it..."

This reverts commit 0814c09.

* Revert "I hope this counts as progress"

This reverts commit 5c331db.

* Revert "many changes"

This reverts commit a1906bc.

* Revert "giving up for the night. i might have to implement this awsx feature myself, because i dont know why its trying to proxy :https"

This reverts commit 5650545.

* Revert "try to fix 443 error..."

This reverts commit f89f7c8.

* Revert "try to correct ports"

This reverts commit 14d412e.

* Revert "correct ports"

This reverts commit 9127801.

* Revert "public IP"

This reverts commit adfd3ad.

* Revert "write the dockerfile instead of just trying to send its text"

This reverts commit bf58a88.

* Revert "expose ALB directly to the internet"

This reverts commit 3774738.

* Revert "just a minor push to force a redeploy"

This reverts commit 127f167.

* Revert "fix formatting"

This reverts commit 68a892b.

* Revert "oops"

This reverts commit c7cc113.

* Revert "add new access token and create staging secret"

This reverts commit f95b9cd.

* Revert "crazy hack that just might work to fix https://github.com/pulumi/pulumi-github/issues/248\#issuecomment-1742415825"

This reverts commit cd94510.

* Revert "fix for pulumi/pulumi-github#248"

This reverts commit fa089a1.

* Revert "the api is annoying. so we are doing this instead"

This reverts commit b09d530.

* Revert "use fullName with actions secret"

This reverts commit ec218df.

* Revert "set GITHUB_TOKEN for pulumi access"

This reverts commit 6a52c00.

* Revert "update bazel_rce code to github org monorepo"

This reverts commit d231257.

* Revert "Bazel remote caching"

This reverts commit 9929e93.

* re-add access to GITHUB_TOKEN so old infra can be torn down.

* add dummy bootstrap_bazel_remote_cache.sh

* chmod
  • Loading branch information
Zemnmez authored Oct 25, 2023
1 parent a2651d0 commit ef45292
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 1,272 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/bootstrap_bazel_remote_cache.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,2 @@
#! /usr/bin/env bash

echo "::group::Configure Bazel Remote Cache"

if [[ -z "${BAZEL_REMOTE_CACHE_URL}" ]]; then
echo "::warning file=.github/workflows/bootstrap_bazel_remote_cache.sh,line=3,endLine=3,title=Running without bazel cache!:: BAZEL_REMOTE_CACHE_URL was not specified, so tests will be doing all the work from scratch."
else
echo "Using bazel remote cache."
echo "build --remote_cache=${BAZEL_REMOTE_CACHE_URL}" > .bazelrc
echo "test --remote_cache=${BAZEL_REMOTE_CACHE_URL}" > .bazelrc
fi

echo "::endgroup::"

exit 0
#!/usr/bin/env bash
# Dummy.
34 changes: 1 addition & 33 deletions ci/presubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,39 +132,7 @@ const cmd = new Command('presubmit')
}
});

function logError(e: unknown) {
if (!(e instanceof Error)) return console.log(e);

const stack = e.stack ?? Error.prototype.stack;

if (!stack) return console.log(e);

const runfilesRoot = process.env['TEST_SRCDIR'];

if (!runfilesRoot) return console.log(e);

const runfilesRootIndex = stack.indexOf(runfilesRoot);

if (runfilesRootIndex == -1) return console.log(e);

const suffix = stack.slice(runfilesRootIndex + runfilesRoot.length);

const res = /^([A-Za-z0-9/._]+)\.(?:ts|js):(\d+):(\d+)/.exec(suffix);

if (res === null) return console.log(e);

const [, filePrefix, line, offset] = res;

console.error(
WorkflowCommand('error')({
file: filePrefix,
line: line,
col: offset,
})('' + e)
);
}

cmd.parseAsync(process.argv).catch(e => {
process.exitCode = 2;
logError(e);
console.error(e);
});
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@fortawesome/react-fontawesome": "0.2.0",
"@microsoft/api-documenter": "7.22.33",
"@microsoft/api-extractor": "7.36.4",
"@pulumi/aws": "6.6.0",
"@pulumi/awsx": "2.0.2",
"@pulumi/aws": "6.0.4",
"@pulumi/awsx": "1.0.5",
"@pulumi/pulumi": "3.81.0",
"@schemastore/package": "0.0.10",
"@swc/cli": "0.1.62",
Expand Down Expand Up @@ -103,14 +103,10 @@
"pnpm": "npm run -- bazel run -- @pnpm//:pnpm --dir $PWD"
},
"dependencies": {
"@aws-sdk/region-config-resolver": "^3.433.0",
"@commander-js/extra-typings": "^11.0.0",
"@pulumi/command": "4.5.0",
"@pulumi/github": "^5.17.0",
"@pulumi/random": "^4.13.4",
"@react-spring/rafz": "^9.7.3",
"@types/bcryptjs": "2.4.3",
"aws-sdk": "^2.1478.0",
"csstype": "^3.1.1",
"devtools-protocol": "^0.0.1193409",
"eslint-mdx": "^2.1.0",
Expand Down
Loading

0 comments on commit ef45292

Please sign in to comment.