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

Transfer update-ss3-version.yml from stock-synthesis workflows repo #410

Merged
merged 6 commits into from Jun 15, 2023

Conversation

e-perl-NOAA
Copy link
Collaborator

Transfer update-ss3-version.yml (and git history) from stock-synthesis workflows repo and delete call-update-ss3-version.yml as part of issue #416 in the stock-synthesis repo.

@e-perl-NOAA e-perl-NOAA added topic --- ghaction GitHub action topic --- Stock Synthesis related to nmfs-stock-synthesis/stock-synthesis labels May 30, 2023
@e-perl-NOAA
Copy link
Collaborator Author

@kellijohnson-NOAA I went ahead and created this branch and PR in the case that you select this option for the ss3sim repo. I know you had suggested it possibly going into ghactions4r.

@kellijohnson-NOAA
Copy link
Contributor

@k-doering-NOAA should we just host the workflow on ss3sim/ss3sim and keep it a reusable workflow that we can both call? I don't mind "trying" to maintain it 😄

@k-doering-NOAA
Copy link
Contributor

@k-doering-NOAA should we just host the workflow on ss3sim/ss3sim and keep it a reusable workflow that we can both call? I don't mind "trying" to maintain it 😄

That works for me!

@k-doering-NOAA
Copy link
Contributor

Also, I'm happy to help with maintenance issues, if needed :)

@e-perl-NOAA
Copy link
Collaborator Author

Okay, then if everyone is good with this then I will go ahead and merge this PR and update the SSMSE workflow to call from the ss3sim repo.

@kellijohnson-NOAA
Copy link
Contributor

@e-gugliotti-NOAA please do not merge this PR. As is, the workflow is no longer reusable and the call for the reusable workflow is deleted. The last commit needs to be removed and the location of the reusable workflow needs to be updated in the call yml file.

k-doering-NOAA and others added 5 commits May 31, 2023 11:09
* update echo output

* add spaces to build-ss3.yml

* fix windows run

* try echo

* try echo ouput

* try echo updates

* revert echo

* update windows path

* update out-file windows

* try echo again

* echo windows update

* revert back echo windows

* revert back windows

* add $env to windows tag

* update to recent stock synthesis v3.30.20
@e-perl-NOAA
Copy link
Collaborator Author

@kellijohnson-NOAA is this (the most recent commit) what you mean?

@@ -12,6 +12,7 @@ name: Update SS3 version in R package

on:
workflow_call:
workflow_dispatch:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cannot use a reusable workflow on dispatch, it can only be called. So, we do not need this edit.

@@ -71,4 +72,5 @@ jobs:

Auto-generated by [update-ss3-version.yml][1]. Binaries from ${{ steps.get-link-to-release.outputs.link_to_release }}.

[1]: https://github.com/nmfs-stock-synthesis/workflows/tree/main/.github/workflows/update-ss3-version.yml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will not need to test this workflow out because we already know it works. So, these edits can be removed.

@@ -5,4 +5,4 @@ on:
name: call-update-ss3
jobs:
call-workflow:
uses: nmfs-stock-synthesis/workflows/.github/workflows/update-ss3-version.yml@main
uses: ss3sim/ss3sim/.github/workflows/update-ss3-version.yml@main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🥇

@e-perl-NOAA
Copy link
Collaborator Author

still working on this...git is being finicky right now.

update call-update-ss3-version to call from ss3sim repo

update call-update-ss3-version.yml to ss3sim repo
@kellijohnson-NOAA kellijohnson-NOAA merged commit 4cd0858 into main Jun 15, 2023
4 checks passed
@kellijohnson-NOAA kellijohnson-NOAA deleted the transfer-workflow branch June 15, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic --- ghaction GitHub action topic --- Stock Synthesis related to nmfs-stock-synthesis/stock-synthesis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants