-
Notifications
You must be signed in to change notification settings - Fork 505
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
Support for manifests using docker experimental cli commands #622
Support for manifests using docker experimental cli commands #622
Conversation
/assign @calebamiles |
The environment variable will ensure that if config.json is over-written we still will have the experimental capability in the CLI See docker/cli#1138 on where this env variable support was added |
# As of 2018-04-10, leaving this pinned to 17.09 due to image pull issues | ||
# with 17.12 | ||
ARG DOCKER_VERSION=17.09.0~ce-0~ubuntu | ||
ARG DOCKER_VERSION=18.06.0~ce~3-0~ubuntu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
18.06.1~ce~3-0~ubuntu
is already out, just see if you can use that version..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkumatag we kinda tested the 18.06.0 bump yesterday so let's leave it alone unless 18.06.1 is absolutely necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this same pinning is in place in test-infra for docker in docker building (we talked to releng about this) because we started flaking a ton on image pull around then. we've also not upgraded.. filing a bug for us to upgrade as well
I tested root@localhost:~# docker manifest --help
docker manifest is only supported on a Docker cli with experimental cli features enabled
root@localhost:~# export DOCKER_CLI_EXPERIMENTAL=enabled
root@localhost:~# docker manifest --help
Usage: docker manifest COMMAND
Manage Docker image manifests and manifest lists
Commands:
annotate Add additional information to a local image manifest
create Create a local manifest list for annotating and pushing to a registry
inspect Display an image manifest, or manifest list
push Push a manifest list to a repository
Run 'docker manifest COMMAND --help' for more information on a command.
root@localhost:~# |
/lgtm |
/hold |
Change-Id: I05d09433c4e5de8ecd93ba4e04688d59b181b8b7
b24e993
to
e4eef22
Compare
Built + pushed the cloud builder image with this PR, currently running a mock build: % git rev-parse HEAD
e4eef2277db5b12485c94715ce8380ead96a3c78
% gcloud --project kubernetes-release-test builds submit --config k8s-container.yaml
latest: digest: sha256:4503c04b0eeab2185d63d45503e9bec3cf582244d1deba300dc7ad7505184a9d size: 3256
DONE
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ID CREATE_TIME DURATION SOURCE IMAGES STATUS
5e95c99c-6b28-47d2-9488-b05901df3b6e 2018-09-08T00:07:34+00:00 6M6S gs://kubernetes-release-test_cloudbuild/source/1536365253.43-87389752b5ea4aaf8be67a86880669dd.tgz gcr.io/kubernetes-release-test/k8s-cloud-builder (+1 more) SUCCESS |
Running a mock build with @dims ' k/release master branch via: modified gcb/stage.yaml
@@ -9,7 +9,7 @@ steps:
- name: gcr.io/cloud-builders/git
args:
- "clone"
- - "https://github.com/kubernetes/release"
+ - "https://github.com/dims/release"
- name: gcr.io/$PROJECT_ID/k8s-cloud-builder
dir: release The new Docker checks are passing:
|
Note that the initial beta.1 build before reverting these changes had failed the check: |
/hold cancel |
/approve |
/assign @dims |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - I can "revert" the build image to the current master branch or wait for this PR to merge and rebuild/push then. Just let me know what you prefer @calebamiles @dims
@dougm i don't have a preference either way. Since you are the only one who has the super powers :) i am ok with either call. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: calebamiles, dims, dougm, mkumatag The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Re-proposing changes from #516 that were reverted in #620