Skip to content

Commit b479399

Browse files
committed
Revert "Set up CI to run buck2 samples (#357)"
This reverts commit d6f3530.
1 parent d6f3530 commit b479399

File tree

10 files changed

+9
-85
lines changed

10 files changed

+9
-85
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -102,29 +102,3 @@ jobs:
102102
OS: linux
103103
REMOTE_EXECUTION: ${{ matrix.remote_execution }}
104104
run: python3 infra/test-all.py
105-
106-
buck2-test:
107-
runs-on:
108-
- self-hosted
109-
- "os=linux"
110-
- "arch=x64"
111-
- "engflow-container-image=docker://645088952840.dkr.ecr.eu-west-1.amazonaws.com/engflow-ci/debian11-dind-x64@sha256:a0f386162b6498b9220a33f33f158fd175d2873ddd6ed30ca67aa33915850e1e"
112-
- "engflow-pool=ci_sysbox_x64"
113-
- "engflow-runtime=sysbox-runc"
114-
- "engflow-runner-id=${{ github.repository_id }}_buck2-test_${{ github.run_id }}_${{ github.run_number }}_${{ github.run_attempt }}"
115-
timeout-minutes: 10
116-
117-
steps:
118-
- uses: actions/checkout@v4
119-
120-
- name: Set up Buck2 binary
121-
shell: bash
122-
run: infra/setup-buck2.sh
123-
124-
- name: Set up authentication
125-
shell: bash
126-
run: infra/auth-buck2.sh
127-
128-
- name: Build and test
129-
shell: bash
130-
run: infra/test-buck2.sh

buck2/cpp/.buckconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ digest_algorithms = SHA256
4141
engine_address = <CLUSTER_NAME>.cluster.engflow.com
4242
action_cache_address = <CLUSTER_NAME>.cluster.engflow.com
4343
cas_address = <CLUSTER_NAME>.cluster.engflow.com
44-
http_headers = <AUTH_HTTP_HEADERS>
44+
http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING
4545

4646
[build]
4747
execution_platforms = root//platforms:remote_platform

buck2/cpp/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ following:
3535
engine_address = <CLUSTER_NAME>.cluster.engflow.com
3636
action_cache_address = <CLUSTER_NAME>.cluster.engflow.com
3737
cas_address = <CLUSTER_NAME>.cluster.engflow.com
38-
http_headers = <AUTH_HTTP_HEADERS>
38+
http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING
3939
```
4040

41-
To obtain the value of `<AUTH_HTTP_HEADERS>`, log into https://<CLUSTER_NAME>.cluster.engflow.com/gettingstarted and obtain the value of `x-engflow-auth-token` in section `Method 2: JWT`, take note of this value. Then set `AUTH_HTTP_HEADERS` with the value `x-engflow-auth-method:jwt-v0,x-engflow-auth-token:<JWT_TOKEN_FROM_GETTINGSTARTED_PAGE>.
42-
43-
Note for CI runs, the auth method used is [Github Tokens](https://docs.engflow.com/re/config/authentication.html#github-tokens).
41+
To obtain the value of `LONG_JWT_STRING`, log into https://<CLUSTER_NAME>.cluster.engflow.com/gettingstarted and use the value of `x-engflow-auth-token` in section `Method 2: JWT`.
4442

4543
### Usage instructions
4644

buck2/golang/.buckconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ digest_algorithms = SHA256
2323
engine_address = <CLUSTER_NAME>.cluster.engflow.com
2424
action_cache_address = <CLUSTER_NAME>.cluster.engflow.com
2525
cas_address = <CLUSTER_NAME>.cluster.engflow.com
26-
http_headers = <AUTH_HTTP_HEADERS>
26+
http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING
2727

2828
[build]
2929
execution_platforms = root//platforms:remote_platform

buck2/golang/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ following:
4646
engine_address = <CLUSTER_NAME>.cluster.engflow.com
4747
action_cache_address = <CLUSTER_NAME>.cluster.engflow.com
4848
cas_address = <CLUSTER_NAME>.cluster.engflow.com
49-
http_headers = <AUTH_HTTP_HEADERS>
49+
http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING
5050
```
5151

52-
To obtain the value of `<AUTH_HTTP_HEADERS>`, log into https://<CLUSTER_NAME>.cluster.engflow.com/gettingstarted and obtain the value of `x-engflow-auth-token` in section `Method 2: JWT`, take note of this value. Then set `AUTH_HTTP_HEADERS` with the value `x-engflow-auth-method:jwt-v0,x-engflow-auth-token:<JWT_TOKEN_FROM_GETTINGSTARTED_PAGE>.
53-
54-
Note for CI runs, the auth method used is [Github Tokens](https://docs.engflow.com/re/config/authentication.html#github-tokens).
52+
To obtain the value of `LONG_JWT_STRING`, log into https://<CLUSTER_NAME>.cluster.engflow.com/gettingstarted and use the value of `x-engflow-auth-token` in section `Method 2: JWT`.

buck2/python/.buckconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ digest_algorithms = SHA256
2323
engine_address = <CLUSTER_NAME>.cluster.engflow.com
2424
action_cache_address = <CLUSTER_NAME>.cluster.engflow.com
2525
cas_address = <CLUSTER_NAME>.cluster.engflow.com
26-
http_headers = <AUTH_HTTP_HEADERS>
26+
http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING
2727

2828
[build]
2929
execution_platforms = root//platforms:remote_platform

buck2/python/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ following:
4949
engine_address = <CLUSTER_NAME>.cluster.engflow.com
5050
action_cache_address = <CLUSTER_NAME>.cluster.engflow.com
5151
cas_address = <CLUSTER_NAME>.cluster.engflow.com
52-
http_headers = <AUTH_HTTP_HEADERS>
52+
http_headers = x-engflow-auth-method:jwt-v0,x-engflow-auth-token:LONG_JWT_STRING
5353
```
5454

55-
To obtain the value of `<AUTH_HTTP_HEADERS>`, log into https://<CLUSTER_NAME>.cluster.engflow.com/gettingstarted and obtain the value of `x-engflow-auth-token` in section `Method 2: JWT`, take note of this value. Then set `AUTH_HTTP_HEADERS` with the value `x-engflow-auth-method:jwt-v0,x-engflow-auth-token:<JWT_TOKEN_FROM_GETTINGSTARTED_PAGE>.
56-
57-
Note for CI runs, the auth method used is [Github Tokens](https://docs.engflow.com/re/config/authentication.html#github-tokens).
55+
To obtain the value of `LONG_JWT_STRING`, log into https://<CLUSTER_NAME>.cluster.engflow.com/gettingstarted and use the value of `x-engflow-auth-token` in section `Method 2: JWT`.

infra/auth-buck2.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

infra/setup-buck2.sh

Lines changed: 0 additions & 12 deletions
This file was deleted.

infra/test-buck2.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)