Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Update publishing #10644

Merged
merged 51 commits into from
May 31, 2019
Merged

Update publishing #10644

merged 51 commits into from
May 31, 2019

Conversation

TriplEight
Copy link
Collaborator

@TriplEight TriplEight commented May 10, 2019

  • removed the listing of sccache debug log
  • docker images with parity-ethereum is now being built by k8s
  • Dockerfile was optimized and lost openssl
  • for now, there are docker tags and docker pushes for the all cases possible, to be decided later which do we need
  • publishing of the docker image should not run nightly
  • stopped onchain updates for Kovan
  • new artifacts dir for scripts: tools
    -- less jobs require git clone and submodules
  • show rust version for docker builds

Tests are OK, but I'm afraid publish-snap and publish-onchain can break.

@parity-cla-bot
Copy link

It looks like this contributor signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@TriplEight TriplEight added the M1-ci 🙉 Continuous integration. label May 10, 2019
@TriplEight TriplEight changed the title docker images are now built on k8s: test run build docker images with k8s May 10, 2019
@TriplEight TriplEight changed the title build docker images with k8s WIP: build docker images with k8s May 13, 2019
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
@TriplEight TriplEight requested a review from gabreal May 13, 2019 15:17
@TriplEight TriplEight added the A0-pleasereview 🤓 Pull request needs code review. label May 13, 2019
scripts/docker/hub/Dockerfile Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
.gitlab-ci.yml Outdated Show resolved Hide resolved
@TriplEight TriplEight changed the title WIP: build docker images with k8s build docker images with k8s May 23, 2019
@TriplEight TriplEight changed the title build docker images with k8s Update publishing May 23, 2019
@TriplEight TriplEight requested a review from kirushik May 23, 2019 17:50
@TriplEight TriplEight added A8-backport 🕸 Pull request is already reviewed well in another branch. B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. B1-patch-beta 🕷🕷 labels May 23, 2019
echo "everywhere would be safe."
echo "#################################################################################"

/bin/parity $@
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the entrypoint.sh was obsoleted before, why bring it back?
--- and if wasn't it exec /bin/parity $@ to make parity the main process of the image?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is the image now called ethereum instead of parity-ethereum like the repository?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concerning my first comment, afair the entrypoint script was introduced to have a variable binary. Like this there is really no benefit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • just to send this deprecation message
  • thanks, I'll check it then
  • we decided with @kirushik that why not, it's still in Parity's repo, which makes it parity/ethereum
  • since COPY instruction in the Dockerfile copies the concrete file, $@ just take the arguments. Is there a way to do it better?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the original entrypoint.sh:
v2.3.7...master#diff-c346274d88c3013298b1e18cbb88a149

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, you were asking for a better way of printing this message. well then still you can use exec.

Copy link
Contributor

@gabreal gabreal May 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* we decided with @kirushik that why not, it's still in Parity's repo, which makes it `parity/ethereum`

so the repository parity/parity was renamed to parity/parity-ethereum because that was the new name of the software. what is the reason not to do the same for the docker repo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed and simplified, thanks.

Copy link
Collaborator Author

@TriplEight TriplEight May 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was made to be more clear. ethereum instead of parity-ethereum is only because it stays in parity docker namespace.
It will be better than parity/parity since we are going to publish more clients there: bitcoin, zcash and whatnot.

scripts/docker/hub/publish-docker.sh Show resolved Hide resolved
scripts/docker/hub/parity.Dockerfile Outdated Show resolved Hide resolved
@TriplEight TriplEight merged commit 7e89bab into master May 31, 2019
@General-Beck General-Beck deleted the build_docker_on_k8s branch June 3, 2019 10:22
ordian added a commit that referenced this pull request Jun 3, 2019
* master:
  introduce MissingParent Error, fixes #10699 (#10700)
  Update publishing (#10644)
This was referenced Jun 11, 2019
soc1c pushed a commit that referenced this pull request Jun 11, 2019
* docker images are now built on k8s: test run

* copy check_sync.sh in build-linux job

* copy scripts/docker/hub/* in build-linux job

* removed cache var

* cleanup, no more nightly dockers

* cleanup in dockerfile

* some new tags

* removed sccsche debug log, cleanup

* no_gits, new artifacts dir, changed scripts. Test run.

* define version once

* one source for TRACK

* stop kovan onchain updates

* moved changes for two images to a new branch

* rename Dockerfile

* no need in libudev-dev
soc1c pushed a commit that referenced this pull request Jun 11, 2019
* docker images are now built on k8s: test run

* copy check_sync.sh in build-linux job

* copy scripts/docker/hub/* in build-linux job

* removed cache var

* cleanup, no more nightly dockers

* cleanup in dockerfile

* some new tags

* removed sccsche debug log, cleanup

* no_gits, new artifacts dir, changed scripts. Test run.

* define version once

* one source for TRACK

* stop kovan onchain updates

* moved changes for two images to a new branch

* rename Dockerfile

* no need in libudev-dev
soc1c added a commit that referenced this pull request Jun 11, 2019
* version: bump stable to 2.4.7

* [CI] allow cargo audit to fail (#10676)

* [CI] allow cargo audit to fail

* [.gitlab-ci.yml] add a comment about cargo audit

* [Cargo.lock] cargo update -p protobuf

* new image (#10673)

* Update publishing (#10644)

* docker images are now built on k8s: test run

* copy check_sync.sh in build-linux job

* copy scripts/docker/hub/* in build-linux job

* removed cache var

* cleanup, no more nightly dockers

* cleanup in dockerfile

* some new tags

* removed sccsche debug log, cleanup

* no_gits, new artifacts dir, changed scripts. Test run.

* define version once

* one source for TRACK

* stop kovan onchain updates

* moved changes for two images to a new branch

* rename Dockerfile

* no need in libudev-dev

* enable lto for release builds (#10717)

* Use RUSTFLAGS to set the optimization level (#10719)

* Use RUSTFLAGS to set the optimization level

Cargo has a [quirk]() in how configuration settings are propagated when `cargo test` runs: local code respect the settings in `[profile.test]` but all dependencies use the `[profile.dev]` settings. Here we force `opt-level=3` for all dependencies.

* Remove unused profile settings

* Maybe like this?

* Turn off incremental compilation

* Remove colors; try again with overflow-checks on

* Use quiet CI machine

* Turn overflow checking back on

* Be explicit about what options we use

* Remove "quiet machine" override

* ethcore: enable ECIP-1054 for classic (#10731)

* config: enable atlantis on ethereum classic

* config: enable atlantis on morden classic

* config: enable atlantis on morden classic

* config: enable atlantis on kotti classic

* ethcore: move kotti fork block to 0xAEF49

* ethcore: move morden fork block to 0x4829BA

* ethcore: move classic fork block to 0x81B320

* remove trailing comma

* remove trailing comma

* fix chainspec

* ethcore: move classic fork block to 0x7fffffffffffffff
soc1c added a commit that referenced this pull request Jun 11, 2019
* version: bump beta to 2.5.2

* [CI] allow cargo audit to fail (#10676)

* [CI] allow cargo audit to fail

* [.gitlab-ci.yml] add a comment about cargo audit

* [Cargo.lock] cargo update -p protobuf

* Reset blockchain properly (#10669)

* delete BlockDetails from COL_EXTRA

* better proofs

* added tests

* PR suggestions

* new image (#10673)

* Update publishing (#10644)

* docker images are now built on k8s: test run

* copy check_sync.sh in build-linux job

* copy scripts/docker/hub/* in build-linux job

* removed cache var

* cleanup, no more nightly dockers

* cleanup in dockerfile

* some new tags

* removed sccsche debug log, cleanup

* no_gits, new artifacts dir, changed scripts. Test run.

* define version once

* one source for TRACK

* stop kovan onchain updates

* moved changes for two images to a new branch

* rename Dockerfile

* no need in libudev-dev

* enable lto for release builds (#10717)

* Use RUSTFLAGS to set the optimization level (#10719)

* Use RUSTFLAGS to set the optimization level

Cargo has a [quirk]() in how configuration settings are propagated when `cargo test` runs: local code respect the settings in `[profile.test]` but all dependencies use the `[profile.dev]` settings. Here we force `opt-level=3` for all dependencies.

* Remove unused profile settings

* Maybe like this?

* Turn off incremental compilation

* Remove colors; try again with overflow-checks on

* Use quiet CI machine

* Turn overflow checking back on

* Be explicit about what options we use

* Remove "quiet machine" override

* ethcore: enable ECIP-1054 for classic (#10731)

* config: enable atlantis on ethereum classic

* config: enable atlantis on morden classic

* config: enable atlantis on morden classic

* config: enable atlantis on kotti classic

* ethcore: move kotti fork block to 0xAEF49

* ethcore: move morden fork block to 0x4829BA

* ethcore: move classic fork block to 0x81B320

* remove trailing comma

* remove trailing comma

* fix chainspec

* ethcore: move classic fork block to 0x7fffffffffffffff
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-pleasereview 🤓 Pull request needs code review. A8-backport 🕸 Pull request is already reviewed well in another branch. B0-patch-stable 🕷 Pull request should also be back-ported to the stable branch. M1-ci 🙉 Continuous integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants