inspectIT / inspectit-ocelot

inspectIT Ocelot - Java agent for collecting application performance, tracing and behavior data
http://www.inspectit.rocks/
Apache License 2.0
204 stars 69 forks source link

Closes #1425 - Migrate Release Pipeline to GitHub Actions #1516

Closed aaronweissler closed 1 year ago

aaronweissler commented 2 years ago

Closes #1425


This change is Reviewable

aaronweissler commented 2 years ago

When merging, CircleCI must be deactivated in the project's settings.

aaronweissler commented 2 years ago

Currently Releases would be shown as created by github-actions user, if we want it to be by a specific user, e.g. NTTechnicalUser I think we need to just provide a personal access token of his to the release action, but the docs are not entirely clear on that, so we should test that once if wanted.

aaronweissler commented 2 years ago

Draft until NTTechnicalUser as releasing user

aaronweissler commented 2 years ago

Token has been added to code and environment secrets and functionality has been tested in fork.

danipaniii commented 1 year ago

When trying to make a test-release I encounter two errors:

  1. Pushing the docker image results in the error message Cannot perform an interactive login from a non TTY device. Which may result because of the wrong credentials. Another answer from the internet suggested that it is because the $DOCKER_TAGenvironmental isn't set. But trying to set the variable did not fix the problem.
  2. When creating a new documentation results in the error message pathspec 'master' did not match any file(s) known to git

At the moment I have actions running, trying to fix the above mentioned error messages. For more information on how to maybe fixing the 2. issue I found the following stack overflow post: https://stackoverflow.com/questions/5989592/git-cannot-checkout-branch-error-pathspec-did-not-match-any-files-kn.

danipaniii commented 1 year ago

I could fix the issue with creating the documentation and I started to implement the docker github action from the ocelot eum server, because I run into more errors with the login with the previous action. Unfortunately when building the docker image I get the following error: Screenshot from 2023-01-23 12-34-53

Extra info: