Giter VIP home page Giter VIP logo

ci-management's People

Contributors

anonymouse64 avatar askb avatar cherrycl avatar dell-iot-engineering avatar dweomer avatar edgex-jenkins avatar eric-r-wright avatar ernestojeda avatar felixting avatar iain-anderson avatar jamesrgregg avatar jim-wang-intel avatar jinlinguan avatar jpwku avatar jwagantall avatar keanjapesan avatar michaelestrin avatar mightynerderic avatar mnaser avatar rjszuster avatar rsdmike avatar soda480 avatar tmpowers avatar tonyespy avatar trcox avatar tsconn23 avatar tykeal avatar venkata-lakshmi-penna avatar vishwassp-hcl-intel avatar zxiiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ci-management's Issues

Snap builds should use unbuffer for better output logging

See https://forum.snapcraft.io/t/fixing-out-of-order-message-output-when-piping-snapcrafts-output-to-file/9176 for full explanation, but basically we should update the docker build script for the snap to use unbuffer so that the log looks a bit better as oftentimes on jenkins logs the error gets output to stderr much earlier than the corresponding output at the same time on stdout, hence one has to do some backtracking when debugging the logs.

Originally filed as edgexfoundry/edgex-go#1018 but now since the snap build scripts are here, migrating to this repo

Update the build image to add zeromq

go-mod-messaging and app-functions-sdk-go both have a dependency on zeromq.

  • Update the build image to add zeromq

There is an assumption that edgex-go and export-disto have this dependency.

US3612

snap california build fails to release

See for example : https://jenkins.edgexfoundry.org/view/Snap/job/edgex-go-snap-california-stage-snap/54/consoleFull

After having pushed the snap up, it fails to release here:

Processing...|                                                                 
22:16:38 Error: no such option: --channel
22:16:38 Build step 'Execute shell' marked build as failure

I think this is because in the snap stage job here: https://github.com/edgexfoundry/ci-management/blob/master/shell/edgex-publish-snap.sh#L14

we have

snapcraft release edgexfoundry $REVISION --channel=$SNAP_CHANNEL

which should be :

snapcraft release edgexfoundry $REVISION $SNAP_CHANNEL

remove export view

This view is no longer needed. Please update the JJB template to remove the view named:
export

SPIKE: How to handle secrets used by containers

When a config file requires a secret for credentials (example: telegraf config to connect to ELK endpoint), how will we manage secrets without committing the config file to GitHub EdgeX repository.
Issue discussed during a working / backlog grooming session with EdgeX team (JP / Trevor / Eric Ball).
We need to know how LF wants to handle secrets for containers so we can figure out how to build the automation that is required to launch the full stack for the EdgeX Blackbox tests.

US3470

Remove special go version handling for security-secret-store

Now that the project has standardized on go 1.11.9 for go repositories, we don't need to maintain a separate go install process for the security-secret-store jobs:

golang_arm_script: !include-raw-escape: shell/install_arm_golang.sh

See:

# This is a temporary workaround for security-secret-store, which advertently depended on golang 1.10.X
# before the project officially moved. Install dynamically at runtime for now.
sudo mkdir /opt/go1105
sudo curl -L https://dl.google.com/go/go1.10.5.linux-arm64.tar.gz -o go1.10.5.linux-arm64.tar.gz
sudo tar -C /opt/go1105 -xzf go1.10.5.linux-arm64.tar.gz
GOROOT=/opt/go1105/go
PATH=$PATH:$GOROOT/bin
go version

Refactor docker push scripts to be more generic

Currently the docker push scripts aren't parameterized by project in the JJB definition. We should refactor these scripts to be more generic. Also look into the logic for pushing to release.

See comments on #431 for the history of this issue

Fix edgex-ui-go to use new go modules build job

The edgex-ui-go master branch recently switched to using go modules, and now has jenkins jobs failing. See for example: https://jenkins.edgexfoundry.org/job/edgex-ui-go-master-verify-go/46/console from edgexfoundry/edgex-ui-go#85

I think the reason for this is that the default version of go is too old and doesn't support modules by default, and so we need to use the updated version of go that we use for i.e. edgex-go. AFAICT, for the edgex-go jobs this is accomplished in the job definition yaml with this snippet:

stream:
- 'master':
branch: 'master'
pre_build_script: !include-raw-escape: shell/install_custom_golang.sh
build_script: 'make test && make build docker'
go-root: '/opt/go-custom/go'

Does that mean all we need to do to get this to work on edgex-ui-go is to add that go-root spec to the master stream?

Add schedule on performance test job

Before the schedule sets on the performance test job, the job has to trigger manually.
Planning set the schedule to "H 4 * * 6". ( The job will run at every Saturday 4 AM UTC time)

docker-build script incorrectly picks Docker tag

The docker tag is generated with the following snip:
grep -Po 'Successfully built \K[^ ]+`

Building Python wheels generates messages with the same format:

Successfully built EdgeXResourceBacnet pyyaml itsdangerous MarkupSafe
Successfully built a24a0fa9733a

Resulting in invalid tags (i.e. "EdgeXResourceBacnet\na24a0fa9733a").

docker edgex mongo image

This image has recently been updated; the merge job and release job do not work as they rely on reverse triggers to a maven job only.

Update Java service POMs

Update and synchronize the Maven POM files to have the appropriate versions and dependency references in the Java repos (both the service and dependent libraries) listed below. Java services and libraries on the California branch should have 0.6.0 versions. Java services and libraries on the Master branch should have the 0.7.0 version.

libraries
core-test
core-exception
core-domain
support-domain
device-domain
device-controller
device-scheduling
export-client
core-command-client
export-test
support-notifications-client
export-domain
support-logging-client
core-data-client
core-metadata-client

services
support-rulesengine
device-mqtt
device-bacnet
device-bluetooth
device-modbus
device-fishertechnik
device-snmp
device-sdk
device-virtual

stage-snap jobs for edgex-go fail to release

See for example the last few stage jobs:

(and also associated arm jobs which fail the same way).

This is failing on this line in the job:

REVISION=$(snapcraft push "$SNAP_NAME"*.snap | grep -Po 'Revision \K[0-9]+')

which I believe is because the output of snapcraft push for some reason doesn't have the required regex in it and so the grep command exits with exit code 1 and since the shell script is run with -e it exits at that point. This is not ideal as we don't get to see what the real output is which would help identify the problem with the snap.

What we should do is use the --release option to snapcraft push and not have to do the two things as separate commands because then we don't need to know what the revision is at all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.