Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
474 commits
Select commit Hold shift + click to select a range
b399381
Remove redundant inversion_mesh in joint
domfournier Sep 26, 2024
db27c11
Merge branch 'develop' into GEOPY-1719
domfournier Sep 26, 2024
b24457c
Merge branch 'GEOPY-1719' into GEOPY-421
domfournier Sep 26, 2024
62be767
Merge branch 'GEOPY-1719' into GEOPY-421
benk-mira Sep 26, 2024
3de3510
Improve naming. Update locks
domfournier Sep 27, 2024
48d4081
Merge pull request #75 from MiraGeoscience/GEOPY-1719
domfournier Sep 27, 2024
601c3ea
Merge branch 'develop' into GEOPY-1531
domfournier Sep 27, 2024
9f18ac7
Merge branch 'develop' into GEOPY-421
domfournier Sep 27, 2024
b55e0f1
Merge pull request #73 from MiraGeoscience/GEOPY-1531
domfournier Sep 27, 2024
25e2fe4
norms stored on InversionMesh
benk-mira Sep 27, 2024
5ab80a8
Merge branch 'develop' into GEOPY-421
benk-mira Sep 27, 2024
317d1f4
sort out 2d case
benk-mira Sep 27, 2024
7f1f0cb
add mapping for mvi
benk-mira Sep 27, 2024
7bc2819
self.mapping -> mapping
benk-mira Sep 27, 2024
f77641d
fix save_model for mvi
benk-mira Sep 27, 2024
1f20d36
Merge pull request #76 from MiraGeoscience/GEOPY-421
domfournier Sep 27, 2024
c955924
[DEVOPS-466] Update before merging
Sep 27, 2024
c9def25
Merge branch 'DEVOPS-466' of https://github.com/MiraGeoscience/simpeg…
Sep 27, 2024
95cf8ed
Merge pull request #70 from MiraGeoscience/DEVOPS-466
Swendart Sep 27, 2024
9450fa5
Merge branch 'develop' into GEOPY-1774
domfournier Oct 1, 2024
63abbfa
Bulk update
domfournier Oct 1, 2024
9af1829
Add write json utility
domfournier Oct 1, 2024
c8f3090
[GEOPY-1778] relock on tip of develop branches
sebhmg Oct 2, 2024
99d5705
Remove potenitals from core constant
domfournier Oct 2, 2024
882448c
Add dependency between mesh and 2D parameters
domfournier Oct 2, 2024
3e33c98
Update json files
domfournier Oct 2, 2024
725d8a5
More fixing
domfournier Oct 2, 2024
015074a
Change handling of default empty topography in write jsons
domfournier Oct 3, 2024
624b863
Fix joint survey and MT
domfournier Oct 3, 2024
aacb68f
Update locks
domfournier Oct 3, 2024
07b2cb8
Fix joint tests
domfournier Oct 3, 2024
fe8b41a
Add deprecation warnings. Fix tests
domfournier Oct 4, 2024
c01dfe2
Merge branch 'GEOPY-1774' into GEOPY-496
benk-mira Oct 4, 2024
001df6f
Merge branch 'GEOPY-1774' into GEOPY-496
benk-mira Oct 4, 2024
673f8a4
Speed up start. Include generate_sweep in params
domfournier Oct 4, 2024
a8b1ad8
Merge branch 'GEOPY-1774' into GEOPY-1448
domfournier Oct 4, 2024
28fabfa
alphas as data or value parameters to incorporate weights
benk-mira Oct 4, 2024
1857afe
fix models
benk-mira Oct 4, 2024
1a52623
[DEVOPS-504] Add deploy workflows and conda's recipe
Oct 7, 2024
538efb9
Refresh lock files
domfournier Oct 7, 2024
bcc01ea
Merge branch 'GEOPY-1774' into GEOPY-1448
domfournier Oct 7, 2024
cf98469
Set defualt lower bound on IP
domfournier Oct 7, 2024
c273d32
Merge branch 'GEOPY-1774' into GEOPY-496
benk-mira Oct 7, 2024
ada3575
Move responsability of mesh creation outside of params
domfournier Oct 7, 2024
34a3d0d
Remove unused (duplicate) function
domfournier Oct 7, 2024
1e770db
Implement special inversion mesh for 2D
domfournier Oct 7, 2024
984776e
Merge branch 'GEOPY-1774' into GEOPY-1448
domfournier Oct 7, 2024
f422f2d
[DEVOPS-504] Correct conda's recipe
Oct 7, 2024
ac14ad9
Update constants and uijsons
domfournier Oct 7, 2024
1d353e7
Implement save directive. Update tests
domfournier Oct 7, 2024
7c9917e
Fix waveform test
domfournier Oct 7, 2024
36aeb24
Fix missing line_id
domfournier Oct 7, 2024
1d85db6
Merge branch 'GEOPY-1774' into GEOPY-1448
domfournier Oct 7, 2024
b102833
hook up the weights to the get_regularization method
benk-mira Oct 7, 2024
023a75c
[DEVOPS-504] Update pyproject.toml and poetry.lock
Oct 8, 2024
9c2258f
[DEVOPS-504] Update deploy workflows
Oct 8, 2024
9613392
fix 2d tests
benk-mira Oct 8, 2024
3abd984
Merge branch 'GEOPY-1774' into GEOPY-496
benk-mira Oct 8, 2024
40d6a9b
update phi_m target
benk-mira Oct 8, 2024
6da96c7
Temp re-lock using simpeg GEOPY-1448
domfournier Oct 8, 2024
d1ce804
update phi_d target
benk-mira Oct 8, 2024
950bb04
Update tooltips in .constant files and the associated uijson files in…
benk-mira Oct 8, 2024
1df5ea3
Merge pull request #78 from MiraGeoscience/GEOPY-1778
domfournier Oct 8, 2024
a95b37f
reference model above lower bound
benk-mira Oct 9, 2024
f62b096
Update locks
domfournier Oct 9, 2024
268beba
Merge branch 'develop' into GEOPY-1774
domfournier Oct 9, 2024
bb28530
Merge pull request #79 from MiraGeoscience/GEOPY-1774
domfournier Oct 9, 2024
ebf16a2
Merge branch 'develop' into GEOPY-1448
domfournier Oct 9, 2024
566ae03
Review constant files.
domfournier Oct 9, 2024
55e1339
Shorten tooltips
benk-mira Oct 9, 2024
11cc1fe
[DEVOPS-515] relock on release branches + accept py 3.11
sebhmg Oct 9, 2024
46be9cf
Re-lock
domfournier Oct 9, 2024
1f395ca
[DEVOPS-504] Update conda's recipe + Cleaning for PR
Oct 9, 2024
507ea81
Merge branch 'develop' into DEVOPS-504
Swendart Oct 9, 2024
ec50b0a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 9, 2024
a114e26
[DEVOPS-504] Correct virtual-repo-name in python_deploy_dev
Oct 9, 2024
85cc6d5
Merge branch 'DEVOPS-504' of https://github.com/MiraGeoscience/simpeg…
Oct 9, 2024
2ea54d0
[DEVOPS-515] also run tests on Python 3.11
sebhmg Oct 9, 2024
bd87efc
Merge pull request #83 from MiraGeoscience/DEVOPS-515
sebhmg Oct 9, 2024
d3ed346
GEOPY-515: bump development version to 0.3.0-alpha
sebhmg Oct 9, 2024
9753366
COnsolidate re-sorting.
domfournier Oct 9, 2024
38e19ef
GEOPY-515: relock on param-sweeps@release/0.2.0
sebhmg Oct 9, 2024
85fb706
Merge branch 'release/0.2.0' into GEOPY-1734
domfournier Oct 9, 2024
09ff388
Merge pull request #85 from sebhmg/release/0.2.0
sebhmg Oct 9, 2024
e102b1c
Update test
domfournier Oct 9, 2024
a128582
Merge branch 'GEOPY-1448' into GEOPY-1734
domfournier Oct 9, 2024
783b914
Improve type checking
domfournier Oct 9, 2024
01c265b
Merge branch 'release/0.2.0' into GEOPY-1448
domfournier Oct 10, 2024
a3f0f46
restrict save_objective_function to a single driver
benk-mira Oct 10, 2024
17fa49b
Merge branch 'develop' into DEVOPS-504
Swendart Oct 10, 2024
f3e96e6
[DEVOPS-504] Update references
Oct 10, 2024
88ed0f9
Merge branch 'DEVOPS-504' of https://github.com/MiraGeoscience/simpeg…
Oct 10, 2024
9f83898
Re-lock
domfournier Oct 10, 2024
10187f7
Merge branch 'GEOPY-1448' into GEOPY-496
benk-mira Oct 10, 2024
df8363f
[DEVOPS-504] Update tzdata to python-tzdata
Oct 10, 2024
a2a5d64
Merge branch 'GEOPY-496' into GEOPY-415
benk-mira Oct 10, 2024
c1c39ba
[DEVOPS-504] Disable test part in conda's recipe
Oct 10, 2024
7143d91
Update IP tests with default lower bound
domfournier Oct 10, 2024
e6bfb91
Merge branch 'GEOPY-1448' into GEOPY-496
benk-mira Oct 10, 2024
af7b608
Merge branch 'GEOPY-496' into GEOPY-415
benk-mira Oct 10, 2024
6771026
Merge pull request #43 from MiraGeoscience/GEOPY-1448
domfournier Oct 10, 2024
26a0b67
Merge branch 'release/0.2.0' into GEOPY-1734
domfournier Oct 10, 2024
5386c29
Merge pull request #80 from MiraGeoscience/GEOPY-496
domfournier Oct 10, 2024
fa0a340
Merge pull request #82 from MiraGeoscience/GEOPY-415
domfournier Oct 10, 2024
db5c718
Merge branch 'release/0.2.0' into GEOPY-1734
domfournier Oct 10, 2024
d519262
Merge pull request #86 from MiraGeoscience/GEOPY-1734
domfournier Oct 11, 2024
9917543
Update the log file after joint inversion
benk-mira Oct 11, 2024
c0df207
use existing directive mechanics
benk-mira Oct 11, 2024
c78770c
Merge pull request #87 from MiraGeoscience/GEOPY-1746
domfournier Oct 11, 2024
5077211
remove obsolete comment from precommit config
sebhmg Oct 12, 2024
ca5aa91
[DEVOPS-504] Update pyrpoject.toml
Oct 15, 2024
830f0ce
weights to zero is None
benk-mira Oct 15, 2024
6b7353a
Adjustement for splitting Save directives
domfournier Oct 15, 2024
55dfca8
[DEVOPS-504] Generate conda lock files
Oct 16, 2024
b93fa56
[DEVOPS-504] Update comment in python_deploy_dev
Oct 16, 2024
893dbdd
Add test to check handling of alpha_s is None
benk-mira Oct 16, 2024
cea3818
Implement property group directive
domfournier Oct 16, 2024
20108bc
Update locks
domfournier Oct 16, 2024
f1a3365
Generalize group creation on data
domfournier Oct 16, 2024
6a35708
Black update
domfournier Oct 16, 2024
3dd66f7
[DEVOPS-504] Generate conda lock files
Oct 17, 2024
27c4189
Merge branch 'release/0.2.0' of https://github.com/MiraGeoscience/sim…
Oct 17, 2024
a8b813f
Merge pull request #84 from MiraGeoscience/DEVOPS-504
Swendart Oct 17, 2024
b801fcf
Fix tests
domfournier Oct 17, 2024
e053300
Temporary pointing to GEOPY-1787
domfournier Oct 17, 2024
c179c11
Merge branch 'release/0.2.0' into GEOPY-1787
domfournier Oct 17, 2024
b17130e
Bump pydiso version
domfournier Oct 17, 2024
437485a
Fix tests
domfournier Oct 17, 2024
8ac071d
Merge branch 'release/0.2.0' into GEOPY-1792
benk-mira Oct 17, 2024
1b8ce39
Set up mechanics for resistitvity option
domfournier Oct 17, 2024
6f915ef
Add model_type to params and constants
domfournier Oct 17, 2024
06bc6fe
Revert optional UIJsonGroup
domfournier Oct 17, 2024
32d77cd
Update uijson with new model_type
domfournier Oct 17, 2024
0f24e4b
Sprinkle changes to tests handling resistivity option
domfournier Oct 17, 2024
79e0ed2
update pydiso and lock
benk-mira Oct 17, 2024
ec6af16
Merge pull request #88 from MiraGeoscience/GEOPY-1792
domfournier Oct 17, 2024
e6fa4cc
Re-lock with latest simpeg release
domfournier Oct 18, 2024
37b0aeb
Merge branch 'release/0.2.0' into GEOPY-1787
domfournier Oct 18, 2024
683cee5
[DEVOPS-515] apply pre-commit autoupdate
sebhmg Oct 19, 2024
42b39ce
[DEVOPS-515] publish to codecov for one OS only
sebhmg Oct 19, 2024
d977ea0
[DEVOPS-515] fix pymatsolver so that it come with conda only
sebhmg Oct 19, 2024
34abe7e
[DEVOPS-515] point to mira-simpeg release branch
sebhmg Oct 19, 2024
a284811
[DEVOPS-515] cleanup obsolete commented examples
sebhmg Oct 19, 2024
8ec2590
[DEVOPS-515] relock coda envs
sebhmg Oct 19, 2024
0d4aef1
[GEOPY-1787] Merge branch 'DEVOPS-515_fix_dep_versions' into GEOPY-1787
sebhmg Oct 19, 2024
bc0115e
[DEVOPS-515] also update pydiso in conda recipe
sebhmg Oct 19, 2024
82d1ef4
[DEVOPS-515] mira-simpeg with dask in extras
sebhmg Oct 19, 2024
cc4d57c
[GEOPY-1787] Merge branch 'DEVOPS-515_fix_dep_versions' into GEOPY-1787
sebhmg Oct 19, 2024
f898a20
[DEVOPS-511] Update deploy workflows to release pip package on pypi
Oct 20, 2024
aefb990
Merge pull request #89 from MiraGeoscience/GEOPY-1787
domfournier Oct 21, 2024
9e391b0
Merge branch 'release/0.2.0' into GEOPY-1791
domfournier Oct 21, 2024
27c50cb
Refresh locks
domfournier Oct 21, 2024
ebada42
Update UI and remove label for S/m
domfournier Oct 21, 2024
83cc44b
Fix issue with cross gradient
domfournier Oct 21, 2024
a6abf0a
Merge pull request #92 from MiraGeoscience/DEVOPS-511
sebhmg Oct 21, 2024
6d0003b
Merge pull request #90 from MiraGeoscience/GEOPY-1791
domfournier Oct 21, 2024
2080b2e
[DEVOPS-515] relock on newer revisions of geoh5py and simpeg
sebhmg Oct 22, 2024
645c0a8
[DEVOPS-515] add pydiso as direct package dependency
sebhmg Oct 22, 2024
a4ff71c
[DEVOPS-515] relock with virtual linux-64 package for __glibc="2.17"
sebhmg Oct 22, 2024
c81fcb5
Merge pull request #93 from sebhmg/DEVOPS-515-relock
sebhmg Oct 22, 2024
dcb1221
enable pre-commit check-added-large-files
sebhmg Oct 24, 2024
b52e786
Switch l/u bound model if resistivity.
domfournier Oct 28, 2024
b38ba86
Switch test for lower_bound
domfournier Oct 28, 2024
423b025
Fix default cross gradient scale
domfournier Oct 29, 2024
197c9a8
Merge pull request #94 from MiraGeoscience/GEOPY-1818
domfournier Oct 30, 2024
f43af49
Change label in joint if resistivity
domfournier Oct 31, 2024
a7797c5
Update cross-gradient test with better defaults for standalone
domfournier Oct 31, 2024
550320e
Re-lock
domfournier Oct 31, 2024
3686e2d
Get rid of old scaling by model size in favor of auto scales
domfournier Oct 31, 2024
272e617
Convert floats
domfournier Oct 31, 2024
582a7ef
Update tests
domfournier Oct 31, 2024
164c3a0
Restrict background model to float
domfournier Oct 31, 2024
315f005
Deal with resisvity background
domfournier Oct 31, 2024
b311961
Merge pull request #95 from MiraGeoscience/GEOPY-1531
domfournier Oct 31, 2024
8cf8a8f
add concurrency conditions to github publish workflows
sebhmg Nov 1, 2024
66b29b4
Change to background_conductivity in tests
domfournier Nov 1, 2024
e35c9c3
Merge branch 'release/0.2.0' into GEOPY-1824
domfournier Nov 1, 2024
de17f4b
Change default start chi back to 1
domfournier Nov 1, 2024
943abc3
Update NS tests
domfournier Nov 1, 2024
1e879ea
Update locks
domfournier Nov 1, 2024
1ed5c75
Merge branch 'GEOPY-1824' into GEOPY-1531b
domfournier Nov 1, 2024
68a1a5e
Make auto-scale misfit optional
domfournier Nov 1, 2024
2052f1b
Update dc to test auto-scaling off
domfournier Nov 1, 2024
0f1f3d8
Default to False for running old uijson.
domfournier Nov 1, 2024
8d8dac6
Update uijsons
domfournier Nov 1, 2024
6d02a98
Merge pull request #96 from MiraGeoscience/GEOPY-1824
domfournier Nov 1, 2024
80a5017
Fix group name for refer model in joint survey uijson
domfournier Nov 3, 2024
221b254
Fix issue with model type ch
domfournier Nov 3, 2024
d225c8a
[DEVOPS-544] Add a constrain on glibc inside the conda recipe
Nov 4, 2024
f5bd4b3
Merge pull request #99 from MiraGeoscience/DEVOPS-544
Swendart Nov 6, 2024
649902c
[DEVOPS-544] Use a virtual package to constrain glibc
Swendart Nov 8, 2024
9babb0b
Merge pull request #102 from MiraGeoscience/DEVOPS-544
Swendart Nov 8, 2024
32cdd23
Merge pull request #97 from MiraGeoscience/GEOPY-1531b
domfournier Nov 8, 2024
d984e13
Use potential and current locations for actives
domfournier Nov 13, 2024
fa2f883
Update dc and ip tests
domfournier Nov 13, 2024
ac692c5
Update test
domfournier Nov 13, 2024
244af8a
Merge pull request #104 from MiraGeoscience/GEOPY-1825
domfournier Nov 14, 2024
e7278f6
use new publish workflows
sebhmg Nov 18, 2024
703e39a
lock on newly published beta dependencies
sebhmg Nov 18, 2024
f70752c
bump version to beta.1
sebhmg Nov 18, 2024
6f2e083
bump version to beta.2
sebhmg Nov 18, 2024
069e2ea
do not use ~0.x in version constraints
sebhmg Nov 20, 2024
b40f17a
[GEOPY-1860] do not include top level files in wheels
sebhmg Nov 20, 2024
de3c002
add a readme file dedicated to pypi
sebhmg Nov 20, 2024
0c2a600
complete the README file
sebhmg Nov 20, 2024
6434e97
Revert "bump version to beta.2"
sebhmg Nov 20, 2024
228d049
DEVOPS-544: more flexible constrained on glibc virtual package
sebhmg Nov 20, 2024
51a4008
Merge pull request #106 from sebhmg/DEVOPS-544_fixup
sebhmg Nov 20, 2024
0ab157d
update doc to refer to readthedocs-hosted
sebhmg Nov 20, 2024
ded45c9
update badge and link to readthedocs
sebhmg Nov 20, 2024
a882fba
bump version to beta.2
sebhmg Nov 18, 2024
a00b799
bump version to beta.3
sebhmg Nov 20, 2024
210bb44
Standardize handling of nan in data
domfournier Dec 2, 2024
19b7468
Allow disk storage on tem
domfournier Dec 3, 2024
c4f084f
Fix handling of vector sensivitites
domfournier Dec 3, 2024
f12af89
Re-lock
domfournier Dec 3, 2024
bcf7a9f
Merge pull request #115 from MiraGeoscience/GEOPY-1896
domfournier Dec 4, 2024
fb16e90
Merge branch 'release/0.2.0' into GEOPY-1897
domfournier Dec 4, 2024
e23582c
Re-lock file
domfournier Dec 4, 2024
d54e2cf
Merge pull request #116 from MiraGeoscience/GEOPY-1897
domfournier Dec 5, 2024
1d0cdbf
Merge branch 'release/0.2.0' into GEOPY-1888
domfournier Dec 5, 2024
c85144a
Remove unnecessary copy of tx ids
domfournier Dec 5, 2024
df4c293
Merge pull request #114 from MiraGeoscience/GEOPY-1888
domfournier Dec 5, 2024
921826e
Merge branch 'release/0.2.0' into GEOPY-1901
domfournier Dec 5, 2024
cc90bb0
Merge pull request #117 from MiraGeoscience/GEOPY-1901
domfournier Dec 6, 2024
e596f0a
relock on newer published packages
sebhmg Dec 10, 2024
f3eb53a
bump version to beta.4
sebhmg Dec 10, 2024
3537b65
Assign tx_id to receiver copy
domfournier Dec 13, 2024
ad526ad
Explcit assignement of tx_id on transmitters. Augment test
domfournier Dec 13, 2024
38c9b52
Merge pull request #122 from MiraGeoscience/GEOPY-1914
domfournier Dec 13, 2024
f1fc50f
bump version to beta.5
sebhmg Dec 17, 2024
1e98673
[DEVOPS-540] Test version consistency
Dec 17, 2024
fb99c90
Merge pull request #123 from MiraGeoscience/DEVOPS-540
domfournier Dec 17, 2024
ff1efc1
Update copyright
benk-mira Jan 8, 2025
7971dbc
[GEOPY-1933] Fix copyright block repeated lines
benk-mira Jan 10, 2025
d314f07
[GEOPY-1933] also check copyright in package.rst
sebhmg Jan 10, 2025
5ad8e45
[GEOPY-1933] tweak configuration for copyrights
sebhmg Jan 10, 2025
b830254
[GEOPY-1933] apply shorter copyright statements
sebhmg Jan 10, 2025
dc40078
[GEOPY-1933] auto-formatting after pre-commit update
sebhmg Jan 10, 2025
92d4875
[GEOPY-1933] bump leftover copyright year
sebhmg Jan 10, 2025
f76e07e
[GEOPY-1933] update to latest mira pre-commit-hooks
sebhmg Jan 11, 2025
564e142
Merge pull request #127 from MiraGeoscience/GEOPY-1933
sebhmg Jan 11, 2025
9d3fd42
[GEOPY-1935] relock on newer versions
sebhmg Jan 11, 2025
4079048
[GEOPY-1935] bump version to rc.1
sebhmg Jan 11, 2025
e2bd1f7
Merge pull request #129 from sebhmg/GEOPY-1935
sebhmg Jan 11, 2025
0d81634
[GEOPY-1933] fix typo in copyright statements
sebhmg Jan 12, 2025
a30970a
Change versions to 0.2.0
domfournier Feb 6, 2025
06203dc
Move third party for
domfournier Feb 6, 2025
fa18a35
add conf.py for RTD
domfournier Feb 7, 2025
c74af3c
Don't fail on warning
domfournier Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 5 additions & 29 deletions .github/workflows/issue_to_jira.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,12 @@
# This workflow will create a JIRA issue upon creation of a GitHub issue

name: Create JIRA issue

on:
issues:
types: [opened]

jobs:
new_jira_issue:
runs-on: ubuntu-latest

steps:
- name: JIRA Login
uses: atlassian/gajira-login@v3.0.1
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Jira Create issue
id: create_jira_issue
uses: atlassian/gajira-create@v3.0.1
with:
project: GEOPY
issuetype: Story
summary: ${{ github.event.issue.title }}
description: "_from [GitHub issue #${{ github.event.issue.number }}|${{ github.event.issue.html_url }}]_"
# Additional fields in JSON format
#fields: '{"components": [{"name": "my-app"}]}'
- name: Post JIRA link
uses: peter-evans/create-or-update-comment@v3
with:
# The number of the issue or pull request in which to create a comment.
issue-number: ${{ github.event.issue.number }}
# The comment body.
body: "JIRA issue [${{ steps.create_jira_issue.outputs.issue }}] was created."
call-workflow-create-jira-issue:
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-issue_to_jira.yml@main
secrets: inherit
with:
project-key: 'GEOPY'
60 changes: 3 additions & 57 deletions .github/workflows/pr_add_jira_summary.yml
Original file line number Diff line number Diff line change
@@ -1,64 +1,10 @@
# This workflow will comment the PR with the JIRA issue summary
# if a JIRA issue number is detected in the branch name or title

name: Add JIRA issue summary

on:
pull_request_target:
types: [opened]

jobs:
add_jira_summary:
runs-on: ubuntu-latest

steps:
- name: Find JIRA issue key
id: find_jira_key
env:
HEAD_REF: ${{ github.head_ref}}
PR_TITLE: ${{ github.event.pull_request.title }}
run: >
echo $HEAD_REF $PR_TITLE
| echo "issue_key=$(
grep -osi "\b\(GA\|GEOPY\|DEVOPS\)[ #-]*[0-9]\+"
| head -n1
| sed -E "s/([A-Z]+)[-# ]*([0-9]+)/\1-\2/i"
| tr [:lower:] [:upper:]
)"
>> $GITHUB_OUTPUT
- name: Get JIRA summary
id: get_jira_summary
if: ${{ steps.find_jira_key.outputs.issue_key }}
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_BASIC_AUTH: ${{ secrets.JIRA_BASIC_AUTH }}
run: >
curl -sS -X GET
-H "Authorization: Basic $JIRA_BASIC_AUTH"
-H "Content-Type: application/json"
"$JIRA_BASE_URL/rest/api/2/issue/${{ steps.find_jira_key.outputs.issue_key }}"
| echo "summary=$(jq -r '.fields.summary // empty')" >> $GITHUB_OUTPUT
- name: Extract PR title
id: get_pr_title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo "text=$(echo $PR_TITLE | sed -E "s/^\s*[?[A-Z]+[-# ]*[0-9]+]?[-: ]*(.*)/\1/i")" >> $GITHUB_OUTPUT
- name: Add comment
if: ${{ steps.find_jira_key.outputs.issue_key }}
env:
ISSUE_SUMMARY: ${{ steps.get_jira_summary.outputs.summary }}
TITLE_TEXT: ${{ steps.get_pr_title.outputs.text }}
PR_BODY: ${{ github.event.pull_request.body }}
run: >
jq
--arg ISSUE_ID "${{ steps.find_jira_key.outputs.issue_key }}"
--arg ISSUE_SUMMARY "$(cat <<< $ISSUE_SUMMARY)"
--arg TITLE_TEXT "$(cat <<< ${TITLE_TEXT:-$ISSUE_SUMMARY})"
--arg PR_BODY "$(cat <<< $PR_BODY)"
-c '{"title": ($ISSUE_ID + ": " + $TITLE_TEXT), "body": ("**" + $ISSUE_ID + " - " + $ISSUE_SUMMARY + "**\n" + $PR_BODY)}' <<< {}
| curl -sS -X POST -d @-
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
-H "Content-Type: application/json"
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/pulls/${{ github.event.pull_request.number }}"
> /dev/null
call-workflow-add-jira-issue-summary:
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_add_jira_summary.yml@main
secrets: inherit
53 changes: 0 additions & 53 deletions .github/workflows/pytest-unix-os.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/pytest-windows.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/python_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Python analysis

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**
push:
branches:
- develop
- main
- release/**
- feature/**
- hotfix/**

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
call-workflow-static-analysis:
name: Static analysis
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-static_analysis.yml@main
with:
package-manager: 'conda'
app-name: 'simpeg_drivers'
python-version: '3.10'
call-workflow-pytest:
name: Pytest
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-pytest.yml@main
with:
package-manager: 'conda'
python-versions: '["3.10", "3.11"]'
os: '["ubuntu-latest", "windows-latest"]'
cache-number: 1
codecov-reference-python-version: '3.10'
codecov-reference-os: '["windows-latest"]'
timeout-minutes: 40
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
35 changes: 35 additions & 0 deletions .github/workflows/python_deploy_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Deploy python package in development

on:
push:
tags:
- 'v*' # Push events to every version tag (eg. v1.0.0)

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true

jobs:
call-workflow-conda-publish:
name: Publish development conda package on JFrog Artifactory
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_conda_package.yml@main
with:
package-name: 'simpeg-drivers'
python-version: '3.10'
virtual-repo-names: '["public-conda-dev"]'
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
call-workflow-pypi-publish:
name: Publish development pypi package (JFrog Artifactory, TestPyPI)
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@main
with:
package-manager: 'poetry'
package-name: 'simpeg-drivers'
version-tag: ${{ github.ref_name }}
python-version: '3.10'
virtual-repo-names: '["public-pypi-dev", "test-pypi"]'
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
46 changes: 46 additions & 0 deletions .github/workflows/python_deploy_prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy python package in production

on:
release:
types: [published]
workflow_dispatch:
inputs:
release-tag:
description: 'Tag for the existing (draft) release to publish assets from'
required: true
publish-conda:
description: 'Publish Conda package'
required: false
default: true
publish-pypi:
description: 'Publish PyPI package'
required: false
default: true

concurrency:
group: ${{ github.workflow }}-${{ github.event.release.tag_name || github.event.inputs.release-tag || github.run_id }}
cancel-in-progress: true

jobs:
call-workflow-conda-release:
name: Publish production Conda package on JFrog Artifactory
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_conda_assets.yml@main
if: ${{ github.event_name == 'release' || github.event.inputs.publish-conda == 'true' }}
with:
virtual-repo-names: '["public-conda-prod"]'
release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
call-workflow-pypi-release:
name: Publish production PyPI package (JFrog Artifactory, PyPI)
if: ${{ github.event_name == 'release' || github.event.inputs.publish-pypi == 'true' }}
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-release_pypi_assets.yml@main
with:
package-name: 'simpeg-drivers'
virtual-repo-names: '["public-pypi-prod", "pypi"]'
release-tag: ${{ github.event.release.tag_name || github.event.inputs.release-tag }}
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Loading