You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace Jenkins CI/CD with GitHub Actions CI/CD #93
Initially brought up during review of PR #86, the current CI/CD via Jenkins is broken and needs a replacement to continue structured and robust maintenance of this repository.
Draft acceptance criterion:
Document how to add the necessary NPM credentials to the repo, replacing the current NPM_TOKEN = credentials('mblomdahl_npm') secret in Jenkinsfile L#131
Evaluate and propose alternative to the current code for generating unique build identifiers, Jenkinsfile L#11-L#67
Building from the release/x.y.z branch should push a release candidate to NPM
Building from the master branch should push a release to NPM
Document how to add the necessary NPM credentials to the repo, replacing the current NPM_TOKEN = credentials('mblomdahl_npm') secret in Jenkinsfile L#131
Evaluate and propose alternative to the current code for generating unique build identifiers, Jenkinsfile L#11-L#67
Building from the release/x.y.z branch should push a release candidate to NPM
Building from the master branch should push a release to NPM
/.../
Upon reading further on how to implement this, imagine my surprise when reviewing my favorite Atlassian document covering Gitflow Workflow. In their latest version they start off with the following ingress:
Gitflow Workflow
Gitflow is a legacy Git workflow that was originally a disruptive and novel strategy for managing Git branches. Gitflow has fallen in popularity in favor of trunk-based workflows, which are now considered best practices for modern continuous software development and DevOps practices. Gitflow also can be challenging to use with CI/CD. This post details Gitflow for historical purposes.
So, if not even Atlassian got my back on this topic, it's time to abandon the Gitflow Workflow idea. I will delete the develop branch and redefine the final acceptance criterion for this ticket as follows:
Builds from the master branch should publish a pre-release to NPM and GitHub Packages [GHP]
GitHub Releases on the master branch should publish a release to NPM and GitHub Packages [GHP]
The scripts that are available to Continuous Integration (compile, minify, lint & API docs) should be run on any branch or pull request
The GitHub Actions @actions-user must be able to commit version increments directly to the main branch, bypassing the pull request requirement that applies to other users
Activity
carlba commentedon Oct 21, 2022
Nice Github Actions are cool :)
mblomdahl commentedon Oct 21, 2022
It is... Need a React app? GitHub Actions have you covered! 😁 https://github.com/mkdevops-se/web-template-react
First stab with GitHub Actions CI/CD (smithmicro#93)
First stab with GitHub Actions CI/CD (smithmicro#93)
Add `npm run docs` to GitHub Actions CI/CD (smithmicro#93)
Separate "Lint and Build" GitHub Actions Workflow (smithmicro#93)
Auto-Commit Pre-Release Package Update (smithmicro#93)
Auto-Commit Pre-Release Package Update (smithmicro#93)
Auto-Commit Pre-Release Package Update (smithmicro#93)
Auto-Commit Pre-Release Package Update (smithmicro#93)
GitHub Actions Release Workflow (smithmicro#93)
GitHub Actions Release Workflow, 2nd try (smithmicro#93)
First stab with GitHub Actions CI/CD (smithmicro#93)
Separate "Lint and Build" Workflow (smithmicro#93)
4 remaining items
Revert Owner and Branch Name Customizations (smithmicro#93)
Revert Owner and Branch Name Customizations (smithmicro#93)
Revert Owner and Branch Name Customizations (smithmicro#93)
Revert Owner and Branch Name Customizations (smithmicro#93)
Revert Owner and Branch Name Customizations (smithmicro#93)
mblomdahl commentedon Oct 22, 2022
Upon reading further on how to implement this, imagine my surprise when reviewing my favorite Atlassian document covering Gitflow Workflow. In their latest version they start off with the following ingress:
So, if not even Atlassian got my back on this topic, it's time to abandon the Gitflow Workflow idea. I will delete the
developbranch and redefine the final acceptance criterion for this ticket as follows:masterbranch should publish a pre-release to NPM and GitHub Packages [GHP]masterbranch should publish a release to NPM and GitHub Packages [GHP](Ping to old maintainers @carlba & @akebrissman, FYI!)
Revert-Revert Owner and Branch Name Hacks (smithmicro#93)
Ensure Changelog 📝 has Next Version (smithmicro#93)
Add PAT for Protected Branch Push Access (smithmicro#93)
Run "Lint and Build" GHA Workflow on PRs (smithmicro#93)
Finding GHP Rejects Un-Scoped NPM 📦 (smithmicro#93)
Finding GHP Rejects Un-Scoped NPM 📦 (smithmicro#93)
Finding GHP Rejects Un-Scoped NPM 📦 (#93) (#98)