How do I create a simple Helm chart from an Argo workflow? - helm3

Is there a recommended way for packaging a workflow into a Helm Chart? I am interested in generating a very simple test with no values (variables). I followed the vary basic instructions from creating a chart found here
https://opensource.com/article/20/5/helm-charts
but this is the error when I tried to install it
Error: parse error at (testchart/templates/HelloWhale.yaml:143): function "tasks" not defined
I found this thread, but it is more complex than I want for now
https://stackoverflow.com/questions/64802290/how-can-i-use-argo-workflows-templates-in-helm

Related

Specifying --diskSizeGb when running a dataflow template

I'm trying to use a Google dataflow template to export data from Bigtable to Google Cloud Storage (GCS). I'm following the gcloud command details here. However, when running I get a warning and associated error where the suggested fix is to add workers (--numWorkers), increase the attached disk size (--diskSizeGb). However, I see no way to execute the Google provided template while passing those parameters. Amy I missing something?
Reviewing a separate question, it seems like there is a way to do this. Can someone explain how?
parameters like numWorkers and diskSizeGb are Dataflow wide pipeline options. You should be able to specify them like so
gcloud dataflow jobs run JOB_NAME \
--gcs-location LOCATION --num-workers=$NUM_WORKERS --diskSizeGb=$DISK_SIZE
Let me know if you have furthr questions

Jenkins: Does 'Static' and '(blocking)' imply that respective plugins are used?

New to Jenkins and new to the way it is being used to my new workplace, I encountered the following in a job's page:
I would like to understand what I see, so a quick Google search yielded the following in regard to the use of 'Static' and '(blocking)' in Jenkins:
Static Code Analysis Plug-ins
Build Blocker Plugin
Are these the right places to look at for attempting to understand the meaning of these keywords in the context of Jenkins?
If not, what is the right place to find out about them?

What is the best Jenkins dashboard plugin that displays all results?

Can someone point out a plugin that can aggregate all results from all jobs into one uniform Pass/Fail/Skipped dashboard?
I am currently using the dashboard view in jenkins that shows me grids, pie charts and test trends using Junit results.
I am now using Calabash and would like to publish the Cucumber reports to the same dashboard.
If someone can point me out to a dashboard that can consume all formats so I can have a centralized reporting page I would appreciate it.
Dashing would be an ideal choice since it is highly customisable.
Check it out from http://dashing.io
There are plenty 3rd party libs that does integration with jenkins and uses dashing in github as well.
Try integrating influxdb with jenkins.
Why influxdb?
Open source
Its time series database
Existing jenkins plugin
Easier to build query using GUI, no need to learn flux query to
get required data
Existing dashboard templates
Easier to connect to Grafana to
visualize, monitor data and create dashboards
Plugin Path: https://plugins.jenkins.io/influxdb/

How to get jmeter results in graph using jfreechart and ant

I have one JMeter script. I want to run it in ant script(as ant provide result in html page). I also want graph result in that or new Html page. I heard i can do with jfreechart but i don't know how to do it.
Please help me!!!
I'd suggest to pick one of the following options:
Each "Graph" listener has `Write results to file/Read from file" section. You can execute JMeter via Ant task with i.e. Graph Results listener enabled saving output to some file, after that open .jtl or .csv file in Listener and you'll get your graph which you can save to image format and add it to HTML report.However using Graph listeners it isn't very recommended from performance perspective.
If you want some HTML charts it's better idea to consider Google Charts instead of JFreeChart, however some basic XSLT/Javascript knowledge will be required to build graph from XML data.
The fastest and easiest way is using Blazemeter Plugin to JMeter, it's free, can be executed via command line, Ant task, GUI, whatever - it's just another listener which provides professional-looking reports and also has feature of comparing test runs.
Rather than trying to do this yourself, have you considered using the Performance Plugin for Jenkins? It may alreay have the charts you need.
If you still need to develop your own charts, you will need to write a plug-in for JMeter; charts are on page 8.
Why not use JMETER PLUGINS great project which contains all graphs you dream about:
http://jmeter-plugins.org/wiki/ActiveThreadsOverTime/
http://jmeter-plugins.org/wiki/ResponseTimesOverTime/
http://jmeter-plugins.org/wiki/TransactionsPerSecond/
http://jmeter-plugins.org/wiki/HitsPerSecond/
http://jmeter-plugins.org/wiki/CompositeGraph/
http://jmeter-plugins.org/wiki/ResponseCodesPerSecond/
http://jmeter-plugins.org/wiki/LatenciesOverTime/
http://jmeter-plugins.org/wiki/BytesThroughput/

Hiding the test result overview charts

After running test cases, I do not want to show 'Failed Test by Reason' and 'Failed Test by analysis' pie charts until they have a value assigned. As soon as i select a 'failure type' and 'resolution' for these two charts should show up. if i don't mark 'failure type' and 'resolution' for a failed test case these pie charts should not be displayed. Yet 'Current state of Test' pie chart should be displayed after each test run.
Is there any way to achieve it?
Also, i need to know what kind of scripts (i.e. js/VB/C# or some other format like batch file) are accepted as setup and cleanup script in automated test setting in test manager.
Hiding the Pie charts is not possible, we cannot change the UI of MTM it is designed to show the charts. These charts are added to give us an overview of the reason for test failure and analysis of failure.
It's a general practice to use batch file scripts as setup and clean script in Test Manager.

Resources