Skip to content

Commit

Permalink
CI: More debian/gpgv debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ongardie committed Feb 1, 2024
1 parent 8156b18 commit ee20bd0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
default && \
eval "$(docker-machine env default)" && \
env | grep DOCKER >> $GITHUB_ENV
- name: Docker hello world
run: docker run --rm debian:12 sh -c 'env; dpkg -l debian-archive-keyring; apt-get update'
- name: Docker debian 11
run: docker run --rm debian:11 sh -c 'env; echo $PATH; gpgv --version; dpkg -l debian-archive-keyring; apt-get update; true'
- name: Docker debian 12
run: docker run --rm debian:12 sh -c 'env; echo $PATH; gpgv --version; dpkg -l debian-archive-keyring; apt-get update; true'
- name: Abort
run: 'false'
- name: Download build artifact
uses: actions/download-artifact@v3
with:
Expand Down
18 changes: 13 additions & 5 deletions src/bin/gen_github_yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,12 +565,20 @@ fn system_test_job(os: Os, runner: Runner, needs: Vec<JobKey>) -> (JobKey, Job)
Runner::Docker | Runner::DockerBind => {
steps.extend(install_docker(os));

for version in [11, 12] {
steps.push(Step {
name: format!("Docker debian {version}"),
details: Run {
// run: s("docker run --rm debian:12 echo 'Hello world'"),
run: format!("docker run --rm debian:{version} sh -c 'env; echo $PATH; gpgv --version; dpkg -l debian-archive-keyring; apt-get update; true'"),
},
env: dict! {},
});
}

steps.push(Step {
name: s("Docker hello world"),
details: Run {
// run: s("docker run --rm debian:12 echo 'Hello world'"),
run: s("docker run --rm debian:12 sh -c 'env; dpkg -l debian-archive-keyring; apt-get update'"),
},
name: s("Abort"),
details: Run { run: s("false") },
env: dict! {},
});
}
Expand Down

0 comments on commit ee20bd0

Please sign in to comment.