I managed to integrate an instance of LinuxONE Community Cloud to nettle CI, I can't make a merge request for it because it has manual steps so I'll write a guide for it. The integration process is pretty straightforward and it can be done by following these steps: - Create a free account here https://linuxone.cloud.marist.edu/#/register?flag=VM and make an instance (All instances are z15 so it supports all the current implemented features). - run the following commands in the instance:
- mkdir nettle && cd nettle - git init - git remote add origin https://gitlab.com/nettle/nettle.git - In gitlab go to settings -> CI / CD. Expand Variables and add variable, Key: SSH_PRIVATE_KEY, Value: (Set the private key here) - Update gitlab-ci.yml as follows (assisted by this recip https://medium.com/@hfally/a-gitlab-ci-config-to-deploy-to-your-server-via-ssh-43bf3cf93775 ): - Add this line to variables category: DEBIAN_BUILD: buildenv-debian - Add these lines to the end of file Debian.remote.s390x: image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD before_script: - apt-get update -qq - apt-get install -qq git - 'which ssh-agent || ( apt-get install -qq openssh-client )' - eval $(ssh-agent -s) - ssh-add <(echo "$SSH_PRIVATE_KEY") - mkdir -p ~/.ssh - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config script: - ssh linux1@IP_ADDRESS "cd nettle && git pull origin s390x --rebase && ./.bootstrap && ./configure --enable-fat && make && make check && exit" tags: - shared - linux except: - tags Note: Replace IP_ADDRESS with ip address of instance. On Thu, Jan 21, 2021 at 5:05 PM Maamoun TK <[email protected]> wrote: > Thanks for the info, I'll see how I can integrate LinuxONE Community Cloud > to nettle CI for automated testing. > > regards, > Mamone > > On Thu, Jan 21, 2021 at 3:56 PM David Edelsohn <[email protected]> wrote: > >> On Thu, Jan 21, 2021 at 2:53 AM Niels Möller <[email protected]> >> wrote: >> > >> > Maamoun TK <[email protected]> writes: >> > >> > > Any update on this? Is there anything missed in my side? >> > >> > I'm a bit concerned about testing, and missing qemu support. I guess >> > we'll have to do with manual tests, but I won't be able to do that >> > regularly myself. Sorry for the delay. >> >> The Nettle project can access the LinuxONE Community Cloud at Marist >> for the long-term to run manual or automated CI testing. Jenkins and >> Travis CI are available, in addition to anything that you want to >> configure in your instance. >> >> QEMU or emulators on non-IBM hardware are not an option for these >> features. >> >> Thanks, David >> > _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
