Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fork the repository https://github.com/rhaas80/spin2020 into a repository of your own and clone your forked repository to your laptop.

Exercise

  • Configure an action that outputs the commit hash of HEAD using the command git rev-parse and whose output it if a form similar to
Code Block
languagetext
HEAD is bb8c42de11e171e22a7df0615981608faf35ea4d
  • Once the action is in place on GitHub, add a line consisting of your name to README.md and commit it to trigger the workflow. Check that the workflow triggered and produced output on the Actions pane. You should see output similar to this:

  • Finally, write and push to the repository a script using Perl or Python that counts the number of lines in README.md and creates a HTML document whose body reads "Number of lines in README.md is N" where "N" is the number of lines in README.md.

Sending in results

Once done, please send me the URL of your repository on GitHub using my rhaas@illinois.edu email address. Please make sure that your repository:

  • contains you workflow yaml file
  • shows output of the workflow in the Actions pane
  • contains your script to count the number of lines in README.md

Current Jenkins setup

As part of the project we would like to implement as much of the functionality currently offered by Jenkins as feasible. You can have a look at a sample Jenkins report for a test run that resulted in some failures on: https://Albert:Einstein@buildbuild-test.barrywardell.net/job/EinsteinToolkit/1562/ using 1672 using the user name Albert and password Einstein .

...