Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2.2k
update CI#4839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
update CI #4839
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -16,7 +16,7 @@ on: | ||
| jobs: | ||
| ctn: | ||
| runs-on: ubuntu-20.04 | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - | ||
| name: Checkout | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| services: | ||
| registry: | ||
| image: 'registry:2' | ||
| engine: | ||
| image: 'docker:${TEST_ENGINE_VERSION:-stable-dind}' | ||
| image: 'docker:${ENGINE_VERSION:-25.0}-dind' | ||
| privileged: true | ||
| command: ['--insecure-registry=registry:5000'] | ||
| environment: | ||
Comment on lines
6
to
10
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also for a follow-up; As we're already building some images here, we could consider adding a minimal Dockerfile for this one as well that sets up things ( | ||
| @@ -16,6 +17,7 @@ services: | ||
| ports: | ||
| - 4443:4443 | ||
| command: ['notary-server', '-config=/fixtures/notary-config.json'] | ||
| evil-notary-server: | ||
| build: | ||
| context: ./testdata | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| Pull (1 of 1): registry:5000/trust-pull:latest@sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501 | ||
| sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501: Pulling from trust-pull | ||
| registry:5000/trust-pull@sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501: Pulling from trust-pull | ||
| Digest: sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501 | ||
| Status: Downloaded newer image for registry:5000/trust-pull@sha256:e2e16842c9b54d985bf1ef9242a313f36b856181f188de21313820e177002501 | ||
| registry:5000/trust-pull:latest |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,16 @@ | ||
| FROM docker:test-dind | ||
| RUN apk --no-cache add shadow openssh-server && \ | ||
| # syntax=docker/dockerfile:1 | ||
| # ENGINE_VERSION is the version of the (docker-in-docker) Docker Engine to | ||
| # test against. | ||
| ARG ENGINE_VERSION=25.0 | ||
| FROM docker:${ENGINE_VERSION}-dind | ||
| # the openssh-client update is needed for security reasons when using docker:23.0-dind, currently maintained as an lts by mirantis | ||
| RUN apk --no-cache upgrade openssh-client && \ | ||
| apk --no-cache add shadow openssh-server && \ | ||
| # TODO(krissetto): `groupadd` can be removed once we only test against moby >= v24 | ||
| # see https://github.com/docker-library/docker/pull/470 | ||
| groupadd -f docker && \ | ||
krissetto marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| useradd --create-home --shell /bin/sh --password $(head -c32 /dev/urandom | base64) penguin && \ | ||
| usermod -aG docker penguin && \ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| # syntax=docker/dockerfile:1 | ||
| ARG NOTARY_VERSION=0.6.1 | ||
| FROM notary:server-${NOTARY_VERSION} | ||
| COPY ./notary-evil/ /fixtures/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| # syntax=docker/dockerfile:1 | ||
| ARG NOTARY_VERSION=0.6.1 | ||
| FROM notary:server-${NOTARY_VERSION} | ||
| COPY ./notary/ /fixtures/ |
Uh oh!
There was an error while loading. Please reload this page.