During job run we may fail to resolve actions download info, and this
stack is fully controlled by GitHub actions so it should be counted as
infrastructure failure instead of user failure.
* Use FIPS compliant crypto when required
* Comment cleanup
* Store OAuth signing scheme in credentialData instead of runner setting
Add encryption scheme for job message encyption key to session
Further cleanup of unused crypto code
* Update windows rsa key manager to use crossplat dotnet RSA api
* Undo unneeded ConfigurationManager change
* Log in with container credentials if given
* Stub in registry aware auth for later
* Fix hang if password is empty
* Remove default param to fix build
* PR Feedback. Add some tests and fix parse
This PR changes GITHUB_ACTION to use the step ContextName, instead of refname. The behavior is behind a feature flag. Refname is an otherwise deprecated property.
Primary motivation: For composite actions, we need a distinct GITHUB_ACTION for each nested step. This PR adds code to generate a default context name for nested steps.
For nested steps, GITHUB_ACTION will be set to "{ScopeName}.{ContextName}" to ensure no collisions.
A corresponding change will be made on the server so context name is never empty. Generated context names will start with "__".
A follow-up PR is required to avoid tracking "step" context values (outputs/conclusion/result) for generated context names. Waiting on telemetry from the server to confirm it's safe to assume leading "__" is a generate context name.
* Composite Action Run Steps
* Env Flow => Able to get env variables and overwrite current env variables => but it doesn't 'stick'
* clean up
* Clean up trace messages + add Trace debug in ActionManager
* Add debugging message
* Optimize runtime of code
* Change String to string
* Add comma to Composite
* Change JobSteps to a List, Change Register Step function name
* Add TODO, remove unn. content
* Remove unnecessary code
* Fix unit tests
* Fix env format
* Remove comment
* Remove TODO message for context
* Add verbose trace logs which are only viewable by devs
* Sort usings in Composite Action Handler
* Change 0 to location
* Update context variables in composite action yaml
* Add helpful error message for null steps
* Fix Workflow Step Env overiding Parent Env
* Remove env in composite action scope
* Clean up
* Revert back
* revert back
* add back envToken
* Remove unnecessary code
* Figure out how to handle set-env edge cases
* formatting
* fix unit tests
* Fix windows unit test syntax error
* Composite Action Run Steps
* Clean up trace messages + add Trace debug in ActionManager
* Change String to string
* Add comma to Composite
* Change JobSteps to a List, Change Register Step function name
* Add TODO, remove unn. content
* Remove unnecessary code
* Fix unit tests
* Add verbose trace logs which are only viewable by devs
* Sort usings in Composite Action Handler
* Change 0 to location
* Update context variables in composite action yaml
* Add helpful error message for null steps
* Cross compile for win-x86, linux-arm, linux-arm64
* Build with actions instead
* Remove win-x86
* Preserve CURRENT_PLATFORM in dev.sh
* build.yaml
* Fix formatting. Remove piplines
* Use 4 space indent consistently
* x32 -> x86
* TEMP: Only test when platform === target runtime
Fix arm64 node externals url
* win-x86 externals
* Temporarily bench rhel
* Add RHEL6, skip L0 on arm for now
* Add stub for downloading new node externals when they are ready
* Remove RHEL6
* Package based on new runtime names
* Remove unused rhel from matrix includes
* Update release, add packages
* RID typo
* Cant cross test arm on x64 hosts
* New arch is a feature
Dont release x86 until we have an e2e test machine
* Fix version
* Get version from file to avoid exec error during package on x64 host for arm package
* Update Release Notes for 2.161.0 (#195)
* More cleanup
* Update release notes
* Don't retry uploads when the http status code
response from the server is in the 400's
* Don't retry on fast-fail
* Feedback from code review
* Always try to attach any uploaded files to the build
Don't fast-fail on 'Conflict'
* Add dispose
* Refactored upload code.
Called out specialized 'Conflict' logic.
* Added typed exception.