Skip to content

Removes references to Travis CI from nano-node#3755

Merged
thsfs merged 4 commits intodevelopfrom
travis-ci-removal
Jun 27, 2022
Merged

Removes references to Travis CI from nano-node#3755
thsfs merged 4 commits intodevelopfrom
travis-ci-removal

Conversation

@thsfs
Copy link
Copy Markdown
Contributor

@thsfs thsfs commented Mar 21, 2022

Addresses: #3673

@thsfs thsfs requested review from argakiig, clemahieu and zhyatt March 21, 2022 16:56
@thsfs thsfs self-assigned this Mar 21, 2022
@thsfs thsfs marked this pull request as draft March 21, 2022 16:58
@thsfs
Copy link
Copy Markdown
Contributor Author

thsfs commented Mar 21, 2022

Marked as a draft until the changes a properly tested.

@thsfs thsfs force-pushed the travis-ci-removal branch from b90609b to 575771c Compare March 21, 2022 17:33
@zhyatt zhyatt added the ci/cd label Mar 22, 2022
@zhyatt zhyatt added this to the V24.0 milestone Mar 22, 2022
@dsiganos
Copy link
Copy Markdown
Contributor

Looks good to me. There also some references to Travis in nano-pow-server.

@zhyatt
Copy link
Copy Markdown
Collaborator

zhyatt commented Mar 24, 2022

Thanks @thsfs and @dsiganos . The nano-pow-server is not actively used, so we can probably leave that cleanup for now (likely to be archived at some point anyway). I did notice we have a docs reference to the CI_BUILD=TRUE variable using environment variables TRAVIS_TAG here: https://docs.nano.org/integration-guides/build-options/#cmake-variables - will that need to be cleaned up when this change is made?

@thsfs
Copy link
Copy Markdown
Contributor Author

thsfs commented Mar 24, 2022

Thanks @thsfs and @dsiganos . The nano-pow-server is not actively used, so we can probably leave that cleanup for now (likely to be archived at some point anyway). I did notice we have a docs reference to the CI_BUILD=TRUE variable using environment variables TRAVIS_TAG here: https://docs.nano.org/integration-guides/build-options/#cmake-variables - will that need to be cleaned up when this change is made?

@zhyatt , yes, it will look for CI_TAG variable instead when this PR is approved. So it is required to update the variable name in the docs together with this.

@thsfs thsfs marked this pull request as ready for review March 24, 2022 22:21
@zhyatt zhyatt added the documentation This item indicates the need for or supplies updated or expanded documentation label Mar 24, 2022
@thsfs
Copy link
Copy Markdown
Contributor Author

thsfs commented Mar 24, 2022

This will be tested on V24.0DB1 release.

dsiganos
dsiganos previously approved these changes Mar 25, 2022
clemahieu
clemahieu previously approved these changes Mar 28, 2022
@zhyatt
Copy link
Copy Markdown
Collaborator

zhyatt commented Apr 21, 2022

@thsfs This branch was tested for beta artifact deployment but the workflow failed to deploy Docker with an error related to the tag passed in for the container. See:
https://github.com/nanocurrency/nano-node/runs/6116766364?check_suite_focus=true#step:5:6999

@zhyatt
Copy link
Copy Markdown
Collaborator

zhyatt commented Apr 22, 2022

After discussing this with @thsfs it was clear that the way I ran this (workflow from this branch, but target for building develop) caused this issue. To help provide more flexibility in testing going forward, we are looking into methods for preventing the more sensitive actions (Docker and S3 upload of artifacts) to be skipped in specific test scenarios so we can test across the different environments without worry for triggering unnecessary builds externally.

@zhyatt
Copy link
Copy Markdown
Collaborator

zhyatt commented Apr 22, 2022

We currently run the GitHub Actions by setting Use workflow from to the develop branch and typically set the tag to build as a tag for that version (ex. V24.0DB1). To help allow testing of the workflow for all options (test, beta, live) while preventing unnecessary uploads of test only live builds to S3/Docker, I propose the following changes:

Code: In the /.github/workflows/live_artifacts.yml file if the branch the workflow is being run from does not begin with the pattern releases/v, then don't trigger the ci/actions/deploy.sh or ci/actions/linux/ghcr_push.sh scripts.

Release process: Running the live artifacts to actually produce release builds will now need to be done by selecting the releases/v* branch in the Use workflow from option.

If these changes are made, then tests can be done for live by selecting any non-release branch and we can verify the builds will be made but not published.

Thoughts @thsfs ?

@thsfs
Copy link
Copy Markdown
Contributor Author

thsfs commented Apr 22, 2022

We currently run the GitHub Actions by setting Use workflow from to the develop branch and typically set the tag to build as a tag for that version (ex. V24.0DB1). To help allow testing of the workflow for all options (test, beta, live) while preventing unnecessary uploads of test only live builds to S3/Docker, I propose the following changes:

Code: In the /.github/workflows/live_artifacts.yml file if the branch the workflow is being run from does not begin with the pattern releases/v, then don't trigger the ci/actions/deploy.sh or ci/actions/linux/ghcr_push.sh scripts.

Release process: Running the live artifacts to actually produce release builds will now need to be done by selecting the releases/v* branch in the Use workflow from option.

If these changes are made, then tests can be done for live by selecting any non-release branch and we can verify the builds will be made but not published.

Thoughts @thsfs ?

Agreed with the proposed changes.

@thsfs thsfs dismissed stale reviews from clemahieu and dsiganos via 3a2c9c1 June 27, 2022 17:53
@thsfs thsfs force-pushed the travis-ci-removal branch from 575771c to 3a2c9c1 Compare June 27, 2022 17:53
@thsfs
Copy link
Copy Markdown
Contributor Author

thsfs commented Jun 27, 2022

We currently run the GitHub Actions by setting Use workflow from to the develop branch and typically set the tag to build as a tag for that version (ex. V24.0DB1). To help allow testing of the workflow for all options (test, beta, live) while preventing unnecessary uploads of test only live builds to S3/Docker, I propose the following changes:
Code: In the /.github/workflows/live_artifacts.yml file if the branch the workflow is being run from does not begin with the pattern releases/v, then don't trigger the ci/actions/deploy.sh or ci/actions/linux/ghcr_push.sh scripts.
Release process: Running the live artifacts to actually produce release builds will now need to be done by selecting the releases/v* branch in the Use workflow from option.
If these changes are made, then tests can be done for live by selecting any non-release branch and we can verify the builds will be made but not published.
Thoughts @thsfs ?

Agreed with the proposed changes.

The PR #3822 addressed the proposed changes in a different manner.

@thsfs thsfs removed the request for review from zhyatt June 27, 2022 18:46
@thsfs thsfs requested review from clemahieu and dsiganos and removed request for argakiig June 27, 2022 18:46
@thsfs
Copy link
Copy Markdown
Contributor Author

thsfs commented Jun 27, 2022

@thsfs thsfs merged commit e4a4e7b into develop Jun 27, 2022
@thsfs thsfs deleted the travis-ci-removal branch June 27, 2022 20:28
@thsfs thsfs added the exclude from changelog Indicates the change is not relevant for appearing in the release changelog label Jul 8, 2022
gr0vity-dev pushed a commit to gr0vity-dev/nano-node that referenced this pull request Jul 9, 2022
* Remove unused Travis CI script
* Removes deploy-docker.sh as it is unused
* Replacing mention to Travis to CI instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd documentation This item indicates the need for or supplies updated or expanded documentation exclude from changelog Indicates the change is not relevant for appearing in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants