-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
initial build snap package for parity
.gitlab-ci.yml
Outdated
- snap | ||
script: | ||
#- git clone https://github.com/paritytech/parity | ||
- git submodule update --init --recursive |
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 can be removed
.gitlab-ci.yml
Outdated
- git submodule update --init --recursive | ||
- cd scripts | ||
- snapcraft | ||
- sudo snap install *.snap --dangerous |
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.
what is the --dangerous
flag used for?
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.
see #5496 (comment)
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.
@rphmeier We will not use this flag, it is only for installation
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.
need for test snap package https://gitlab.ethcore.io/parity/parity/builds/53332/artifacts/download
unzip and install
sudo snap install *.snap --dangerous
parity
.gitlab-ci.yml
Outdated
@@ -60,6 +60,23 @@ linux-stable: | |||
- target/release/ethstore | |||
- target/release/ethkey | |||
name: "stable-x86_64-unknown-linux-gnu_parity" | |||
linux-snap: | |||
stage: build | |||
image: ethcore/snapcraft:latest |
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.
ethcore should be migrated to paritytech at some point
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.
@rphmeier I'm work on this https://hub.docker.com/r/parity
switch to hub.docker.com/r/parity
build snap beta
@General-Beck you are using gitlab? That's very nice! I think you could configure this also to automate the deployment like we do in travis. You would have to encrypt the credentials [1], and then do something like this: https://github.com/elopio/ipfs-snap/blob/master/.travis.yml#L10 I haven't experimented with gitlab ci for this yet, so I'd love to help. And there's also launchpad as an alternative, which we are currently migrating to a nicer UI in build.snapcraft.io: https://snapcraft.io/docs/build-snaps/ci-integration#using-launchpad [1] https://docs.gitlab.com/ce/ci/variables/#secret-variables |
@ElOpio Thanks, I'll try |
initial build snap package for parity