Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CI/CD to only build off master and PRs and use datetime for PyPi deployment #27

Closed
jordanpadams opened this issue Apr 11, 2020 · 0 comments · Fixed by #38
Closed
Assignees
Labels
enhancement New feature or request

Comments

@jordanpadams
Copy link
Member

Requested update
This update includes two proposed mods:

Rationale
Eventually we plan to use the CI/CD from this repo as a template for other repos (and add to https://github.com/nasa-pds/pds-template-repo-python), so when we start to have repos with multiple people creating PR and branches, it would be great to avoid all these false failures to avoid confusion. Otherwise we will get numb to failures.

@jordanpadams jordanpadams added enhancement New feature or request triage-needed labels Apr 11, 2020
nutjob4life added a commit that referenced this issue Apr 20, 2020
…empting to catalog them while also finding primaries

    -   Also: make the pairing of lidvid → xml file unique to avoid redundnant cache entries
        -   Use `insert or ignore`
    -   Add a functional test that compares generated SIP with "valid" SIP
        -   And add framework for unit+functional+integration tests
-   Test data accessible via setuptools `pkg_resources`
-   Resolve #27: An *attempt* to tag test builds for test PyPI with both a date and timestamp; this requires dropping `--tag-date` and coming up with our own date+time format—and hoping that PyPI doesn't enforce its more capricious requirements on release naming
-   Add running tests in the CI/CD GitHub Action
-   Add ability to run tests with `setup test` as well as buildout's `bin/test`
-   Fix extra newlines in log messages
-   Remove need of extra `.strip()` calls by using a smarter regexp
-   PEP-8 cleanups: remove needless `+` for string concatenation
-   Arg list documentation in function calls
-   Remove exec bit from test data files
jordanpadams pushed a commit that referenced this issue Apr 20, 2020
…empting to catalog them while also finding primaries (#38)

-   Also: make the pairing of lidvid → xml file unique to avoid redundnant cache entries
        -   Use `insert or ignore`
    -   Add a functional test that compares generated SIP with "valid" SIP
        -   And add framework for unit+functional+integration tests
-   Test data accessible via setuptools `pkg_resources`
-   Resolve #27: An *attempt* to tag test builds for test PyPI with both a date and timestamp; this requires dropping `--tag-date` and coming up with our own date+time format—and hoping that PyPI doesn't enforce its more capricious requirements on release naming
-   Add running tests in the CI/CD GitHub Action
-   Add ability to run tests with `setup test` as well as buildout's `bin/test`
-   Fix extra newlines in log messages
-   Remove need of extra `.strip()` calls by using a smarter regexp
-   PEP-8 cleanups: remove needless `+` for string concatenation
-   Arg list documentation in function calls
-   Remove exec bit from test data files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants