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

Adds release actions for web apps #224

Merged
merged 4 commits into from
Dec 13, 2022
Merged

Adds release actions for web apps #224

merged 4 commits into from
Dec 13, 2022

Conversation

nkcr
Copy link
Contributor

@nkcr nkcr commented Nov 28, 2022

  • adds instructions to build and run the web frontend/backend

@nkcr nkcr added documentation Improvements or additions to documentation enhancement New feature or request operational About release, versioning, CI/CD, monitoring labels Nov 28, 2022
@nkcr nkcr requested a review from a team as a code owner November 28, 2022 16:33
@nkcr nkcr self-assigned this Nov 28, 2022
@coveralls
Copy link

coveralls commented Nov 28, 2022

Pull Request Test Coverage Report for Build 3590775940

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 56.825%

Totals Coverage Status
Change from base Build 3532352957: 0.0%
Covered Lines: 3272
Relevant Lines: 5758

💛 - Coveralls

@nkcr nkcr force-pushed the update-release-action branch 2 times, most recently from bd2a932 to 309fd54 Compare November 28, 2022 16:48
- adds instructions to build and run the web frontend/backend
@nkcr
Copy link
Contributor Author

nkcr commented Nov 28, 2022

I've created an alpha release to check the result. Sweet!
https://github.com/dedis/d-voting/releases/tag/v0.4.5-alpha

Copy link
Contributor

@pierluca pierluca left a comment

Choose a reason for hiding this comment

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

I should really try to follow this from scratch to evaluate it, but overalls it makes sense.
Just a few remarks...

Comment on lines +63 to +67
echo ::set-output name=version::$(echo ${GITHUB_REF/refs\/tags\//})
echo ::set-output name=version_file::web-backend-$(echo ${GITHUB_REF/refs\/tags\//} | tr . _)
echo "::set-output name=shortsha::$(git rev-parse --short ${GITHUB_SHA})"
echo "::set-output name=buildurl::${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}"
echo "::set-output name=date::$(date +'%d/%m/%y %H:%M')"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm very confused by this block of code 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it declares variables that are subsequently available for the next steps, using the step id, e.g. {{ steps.get_version.version }}.

deb-package/README.md Outdated Show resolved Hide resolved
Comment on lines -15 to -19
"FRONT_END_URL" : "<url of the current site, this is used for the tequila callback>",
"DELA_NODE_URL" : "<url of the dela node>",
"SESSION_SECRET" : "<session secret>",
"PUBLIC_KEY" : "<public key>",
"PRIVATE_KEY" : "<private key>"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this documentation about the different fields found in config.env.template ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Documentation added.

web/backend/readme.md Outdated Show resolved Hide resolved
nkcr and others added 2 commits December 1, 2022 09:20
Co-authored-by: pierluca <pierluca@users.noreply.github.com>
@sonarcloud
Copy link

sonarcloud bot commented Dec 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nkcr nkcr requested a review from pierluca December 1, 2022 15:31
@pierluca pierluca merged commit 9faabe7 into main Dec 13, 2022
@pierluca pierluca deleted the update-release-action branch December 13, 2022 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request operational About release, versioning, CI/CD, monitoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants