Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Generate production data package for EMS

This Github action allows you to generate a package from a HW repo contents that can be sent to the EMS.

The package is generated as a ZIP file and added to the release of the github repo.

The ZIP file is named <repo-name>-<release-name>-<timestamp>-ems.zip.

For example, if the repo is named i101-psu01 and the release is named 01A, then the package is named i101-psu01-01A-202201132035-ems.zip.

Input Variables

  • exclude-patterns: File patterns to exclude from ZIP file. Patterns must be white space separated. Patterns are glob patterns, compared with pythons's fnmatch function and are compared against the whole path of each file. Comparisons are case insensitive. Absolute paths always begin with ./, so the pattern must match this part as well.
  • access-token: A personal access token that has sufficient rights to read submodule repos and to add files to a release. For example see bitwarden entry yoda fw-repo-ci.

Usage

on:
  release:
    types: [published]

jobs:
  ems-package:
    runs-on: ubuntu-latest
    name: Build EMS Package
    steps:
      - uses: ci4rail/ems-package-action@v1
        with:
          exclude-patterns: |
            *.FCStd 
            ./simulation/*
          access-token: ${{ secrets.HW_CI_TOKEN }}

About

Github action to generate production data package for EMS

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors