File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
name : CI
4
3
on :
5
4
push :
@@ -46,13 +45,13 @@ jobs:
46
45
run : rustup self update && rustup update stable
47
46
48
47
- name : Start the local environment
49
- run : docker- compose up -d
48
+ run : docker compose up -d
50
49
51
50
- name : Run the local release process for channel ${{ matrix.channel }}
52
51
run : ./run.sh ${{ matrix.channel }}
53
52
54
53
- name : Validate the generated signatures
55
- run : docker- compose exec -T local /src/local/check-signature.sh ${{ matrix.channel }}
54
+ run : docker compose exec -T local /src/local/check-signature.sh ${{ matrix.channel }}
56
55
57
56
- name : Remove the previously installed ${{ matrix.channel }} toolchain
58
57
run : rustup toolchain remove ${{ matrix.channel }}
78
77
if : github.event_name == 'push' && github.repository == 'rust-lang/promote-release' && github.ref == 'refs/heads/master'
79
78
80
79
- name : Upload the Docker image we built to GitHub Actions artifacts
81
- uses : actions/upload-artifact@v2
80
+ uses : actions/upload-artifact@v4
82
81
with :
83
82
name : docker-image
84
83
path : promote-release.tar.zstd
Original file line number Diff line number Diff line change 1
1
---
2
- version : ' 3'
3
-
4
2
services :
5
3
minio :
6
4
image : quay.io/minio/minio:RELEASE.2023-04-13T03-08-07Z
Original file line number Diff line number Diff line change 12
12
channel=" $1 "
13
13
override_commit=" ${2-} "
14
14
15
- container_id=" $( docker- compose ps -q local) "
15
+ container_id=" $( docker compose ps -q local) "
16
16
if [[ " ${container_id} " == " " ]]; then
17
17
container_status=" missing"
18
18
else
@@ -22,7 +22,7 @@ if [[ "${container_status}" != "running" ]]; then
22
22
echo " Error: the local environment is not running!"
23
23
echo " You can start it by running in a new terminal the following command:"
24
24
echo
25
- echo " docker- compose up"
25
+ echo " docker compose up"
26
26
echo
27
27
exit 1
28
28
fi
31
31
cargo build --release
32
32
33
33
# Run the command inside the docker environment.
34
- docker- compose exec -T local /src/local/run.sh " ${channel} " " ${override_commit} "
34
+ docker compose exec -T local /src/local/run.sh " ${channel} " " ${override_commit} "
Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ impl Context {
378
378
. arg ( "cp" )
379
379
. arg ( "--recursive" )
380
380
. arg ( "--only-show-errors" )
381
- . arg ( & self . s3_artifacts_url ( & format ! ( "{}/" , rev) ) )
381
+ . arg ( self . s3_artifacts_url ( & format ! ( "{}/" , rev) ) )
382
382
. arg ( format ! ( "{}/" , dl. display( ) ) ) ) ?;
383
383
384
384
let mut files = dl. read_dir ( ) ?;
You can’t perform that action at this time.
0 commit comments