File tree 3 files changed +3
-39
lines changed
3 files changed +3
-39
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,6 @@ jobs:
333
333
snyk-token : ' ${{ secrets.SNYK_TOKEN }}'
334
334
335
335
workbench-session-init :
336
- if : false # TODO: Re-enable this job after next release
337
336
needs : [setup]
338
337
name : Workbench Session Init
339
338
runs-on : ubuntu-latest-8x
@@ -363,28 +362,7 @@ jobs:
363
362
with :
364
363
buildkitd-config : ./share/buildkitd.toml
365
364
366
- - name : Set up Just
367
- uses : extractions/setup-just@v2
368
- env :
369
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
370
-
371
- - uses : actions/setup-python@v5
372
- with :
373
- python-version : ' 3.12'
374
-
375
- - name : Install Python dependencies
376
- run : |
377
- pip install requests
378
-
379
- - name : Get Version
380
- id : get-version
381
- run : |
382
- WORKBENCH_SESSION_INIT_VERSION=$(just -f ci.Justfile get-version workbench --type=daily --local)
383
- echo "WORKBENCH_SESSION_INIT_VERSION=$WORKBENCH_SESSION_INIT_VERSION" >> $GITHUB_OUTPUT
384
-
385
365
- name : Build, Test, and Push
386
- env :
387
- WORKBENCH_SESSION_INIT_VERSION : ${{ steps.get-version.outputs.WORKBENCH_SESSION_INIT_VERSION }}
388
366
uses : ./.github/actions/bake-test-push
389
367
with :
390
368
target : ${{ env.target }}
Original file line number Diff line number Diff line change @@ -49,13 +49,8 @@ delete-builder:
49
49
alias build := bake
50
50
# just bake workbench-images
51
51
bake target = " default":
52
- #!/ bin/ bash
53
52
just -f {{ justfile ()}} create-builder || true
54
- if [ -z " $WORKBENCH_SESSION_INIT_VERSION" ]; then
55
- WORKBENCH_SESSION_INIT_VERSION=$(just -f ci.Justfile get-version workbench --type=daily --local)
56
- fi
57
53
GIT_SHA=$(git rev-parse --short HEAD) \
58
- WORKBENCH_SESSION_INIT_VERSION=${WORKBENCH_SESSION_INIT_VERSION} \
59
54
docker buildx bake --builder=posit-builder -f docker-bake.hcl {{ target}}
60
55
61
56
# just preview-bake workbench-images dev
@@ -93,12 +88,7 @@ preview-plan branch="$(git branch --show-current)":
93
88
94
89
# just test workbench
95
90
test target = " default" file = " docker-bake.hcl":
96
- #!/ bin/ bash
97
- if [ -z " $WORKBENCH_SESSION_INIT_VERSION" ]; then
98
- WORKBENCH_SESSION_INIT_VERSION=$(just -f ci.Justfile get-version workbench --type=daily --local)
99
- fi
100
91
GIT_SHA=$(git rev-parse --short HEAD) \
101
- WORKBENCH_SESSION_INIT_VERSION=${WORKBENCH_SESSION_INIT_VERSION} \
102
92
python3 {{ justfile_directory ()}} / tools/ test_bake_artifacts.py --target " {{ target}} " --file " {{ file}} "
103
93
104
94
# just preview-test connect dev
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ variable WORKBENCH_VERSION {
11
11
default = " 2024.12.0+467.pro1"
12
12
}
13
13
14
- variable WORKBENCH_SESSION_INIT_VERSION {
15
- default = " "
16
- }
17
-
18
14
variable DRIVERS_VERSION {
19
15
default = " 2024.03.0"
20
16
}
@@ -500,16 +496,16 @@ target "workbench-session-init" {
500
496
inherits = [" base" ]
501
497
target = " build"
502
498
503
- name = " workbench-session-init-${ builds . os } -${ replace (tag_safe_version (WORKBENCH_SESSION_INIT_VERSION ), " ." , " -" )} "
504
- tags = get_tags (builds. os , " workbench-session-init" , WORKBENCH_SESSION_INIT_VERSION )
499
+ name = " workbench-session-init-${ builds . os } -${ replace (tag_safe_version (WORKBENCH_VERSION ), " ." , " -" )} "
500
+ tags = get_tags (builds. os , " workbench-session-init" , WORKBENCH_VERSION )
505
501
506
502
dockerfile = " Dockerfile.${ builds . os } "
507
503
context = " workbench-session-init"
508
504
509
505
matrix = WORKBENCH_SESSION_INIT_BUILD_MATRIX
510
506
511
507
args = {
512
- RSW_VERSION = WORKBENCH_SESSION_INIT_VERSION
508
+ RSW_VERSION = WORKBENCH_VERSION
513
509
}
514
510
}
515
511
You can’t perform that action at this time.
0 commit comments