-
Notifications
You must be signed in to change notification settings - Fork 47
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
use ci-linux:production base image #368
Conversation
Using production to minimize list of changes on nightly updates: https://github.com/paritytech/polkadot/blob/master/scripts/ci/dockerfiles/polkadot/polkadot_builder.Dockerfile |
Dockerfile
Outdated
@@ -1,8 +1,7 @@ | |||
# this container builds the kilt-parachain binary from source files and the runtime library | |||
# pinned the version to avoid build cache invalidation | |||
|
|||
# c4f0daf3-20220110 -> rust version rustc 1.58.0-nightly (46b8e7488 2021-11-07) | |||
FROM paritytech/ci-linux:f203f298-20220421 as builder | |||
FROM docker.io/paritytech/ci-linux:production as builder |
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.
I fear that the production
image will be bumped up by Parity while we want to have full control over bumping the image to reduce error likelihood when building.
I suggest to stay with a distinct hash. The one suggested has the same digest as the current production one, e.g., they are the same.
FROM docker.io/paritytech/ci-linux:production as builder | |
FROM paritytech/ci-linux:eb1f6a26-20220518 |
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.
Yup, I was kinda puzzled. Since the toolchain file has precedence over the docker image, we kinda have no control.
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
* use ci-linx:production base image * Use hash tag on ci-linux to have more control than latest production Co-authored-by: William Freudenberger <[email protected]> (cherry picked from commit 4834987)
* Adds two more relaychain bootnodes for staging environment (#334) * chore: reset peregrine stg (#335) * ci: use custom ci image (#336) * Optimizes docker layer (#337) * fix: add did lookup pallet to DID authorization logic + reverse lookup index (#343) * chore: update toolchain version to nightly 1.59 (#339) * feat: proxy type for disableling deposit claiming (#341) * fix: rococo protocol id (#369) * feat: generic access control (#316) * Updates toolchain version (#345) * refactor: enforce no runtime in pallet (#349) * fix: features (#353) * feat: add tips pallet (#352) * feat: upgrade to Polkadot v0.9.19 (#357) * chore: upgrade and clean up (#360) * Adds the new rococo chainspec (#363) * feat: add launch pallet removal migration (#359) * refactor: update rilt para id from 2015 to 2108 (#364) * fix: rilt para id (#365) * feat: upgrade to Polkadot v0.9.23 (#366) * use ci-linx:production base image (#368) * feat: upgrade to Polkadot v0.9.24 (#370) * fix: fix CI builders compilation errors and pin to a specific hash (#372)
NO TICKET
Checklist:
array[3]
useget(3)
, ...)