Commit Graph

123 Commits

Author SHA1 Message Date
James Ives
156d91fbff
Add files via upload 2021-02-03 22:36:41 -05:00
James Ives
9b18761c06
Add files via upload 2021-02-03 22:21:36 -05:00
James Ives
64eb7112e4
Native SSH Key Support (#569)
* SSH Key Support 🔑

* Update ssh.ts

* Update src/ssh.ts

Co-authored-by: Axel Hecht <axel@pike.org>

* README fixes/etc

* Unit Tests & README

* ssh key

* Update README.md

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update ssh.test.ts

* Update integration.yml

Co-authored-by: Axel Hecht <axel@pike.org>
2021-01-21 09:08:31 -05:00
James Ives
e00d6bfda7 Revert "Integration tests"
This reverts commit 639ff537d5.
2021-01-18 09:56:53 -05:00
James Ives
639ff537d5 Integration tests 2021-01-18 09:56:42 -05:00
Axel Hecht
291c5c792e
Hyphenate inputs and outputs, add step output, fix #558 (#559)
* Hyphenate inputs and outputs, add step output, fix #558

I've also tried to make the clean docs a bit clearer, and consistent
about clean being on my default. Still not totally happy with the intro
of the docs there, though.

* Add testing of step outputs to build integration tests
2021-01-05 10:39:10 -05:00
James Ives
d8c795395d
Lowercase Inputs (#547)
* Lowercases inputs

* Adjusts workflow tests and deployment_status
2020-12-15 18:32:06 -05:00
Axel Hecht
2a503ef9b5
Fix a few nits in tests and automation. Don't try to wordcount ls-rem… (#546)
* Fix a few nits in tests and automation. Don't try to wordcount ls-remote.

Nits in tests are around undoing changes made to the environment,
and to not modify the checkout.

* Describe suite with empty SHA
2020-12-15 10:58:52 -05:00
Axel Hecht
4e40ddd3f5
Test current code base as an integration test for PRs and pushes (#505)
* Add a build step to create lib and node_modules artifact

* Run integration test with built dist and current SHA as base

For pull requests, the github.sha is the sha of the merge to the
target branch, not the head of the PR. Special case that.

* Use v2 checkout, and DRY_RUN for the integration test.

I also made the branches more generic, as there are now more of them.

* Fix #536, don't push at all on dryRun

Also add tests for dryRun and singleCommit and generateBranch
code flows.

* Try to fix dryRun on new remote branches, refactor fetch

* Try to fix dryRun, only fetch if origin branch exists

* Refactor worktree setup to include branch generation and setup for singleCommit

This is a continuation of the no-checkout work, and sadly suggested pretty
intensive changes.

* Set up git config to fix tests, also make debugging easier

* Add matrix for existing and non-existing branch

* Add matrix for singleCommit and not

* Drop GITHUB_TOKEN, add DRY_RUN to action.yml

* When deploying existing branch, add a modifcation and deploy again

* Force branch checkout to work in redeployment scenarios

* Make singleCommit easier to see in job descriptions

* Review comments

* Add a test-only property to action to test code paths with remote branch.

* Introduce TestFlag enum to signal different test scenarios to unit tests

* Fix util.test.ts
2020-12-14 12:30:22 -05:00
James Ives
ac885860a8 Removing stale bot integration 2020-12-14 10:33:37 -05:00
James Ives
27009d7a96 Stores username/email in secrets 2020-12-14 10:31:54 -05:00
Axel Hecht
0da20f04b8
Add workflow to update build and node_modules on release branches (#541) 2020-12-14 10:26:48 -05:00
Axel Hecht
a92aacd4ba
Adjust codeql action to latest recommendations (#540)
Also, add the dev and release branches, and drop master.
2020-12-11 09:36:21 -05:00
Axel Hecht
560e416032
Stop checking out workspace (#515)
* Stop checking out base branch before deployment, drop option.

* Don't check out default branch, as we don't check out base branch, drop option.

* Don't stash/unstash as we don't update the workdir, drop preserve option.

* Don't init the workspace

* Only fetch the remote branch if it exists, only with depth 1.

* Rely on previous checkouts to have handled lfs files correctly, drop option.

* Update README, action.yml, integration tests
2020-12-07 10:11:58 -05:00
James Ives
d91bc43f92 Fixes int tests 2020-11-17 15:36:57 -05:00
James Ives
ce17a21cd5 Setup node workflows 2020-11-17 11:57:42 -05:00
James Ives
d9215d10f8
Update integration-beta.yml 2020-11-17 00:43:25 -05:00
James Ives
881130db25
Update integration.yml 2020-11-17 00:43:03 -05:00
James Ives
dc96a8ff00
Update config.yml 2020-10-14 12:11:12 -04:00
James Ives
caad8a1e3d
Delete FEATURE_REQUEST.md 2020-10-14 12:10:16 -04:00
James Ives
43e0d0793a
Update config.yml 2020-10-14 12:09:48 -04:00
James Ives
af01ac862c
Update config.yml 2020-10-14 11:47:30 -04:00
James Ives
a32487e0a0
Delete SUPPORT.md 2020-10-14 11:46:39 -04:00
James Ives
466eb2e910
Update config.yml 2020-10-14 11:46:29 -04:00
James Ives
d45f03e4a2
Create config.yml 2020-10-14 11:45:27 -04:00
James Ives
955f5e0b23
Update SUPPORT.md 2020-10-14 11:42:03 -04:00
James Ives
565795d8a9
Adds funding button 2020-10-14 07:58:13 -04:00
James Ives
62c7b6c787
Update SUPPORT.md 2020-10-14 00:38:54 -04:00
James Ives
d6d4333a16
Update FEATURE_REQUEST.md 2020-10-14 00:38:44 -04:00
James Ives
31576af4cf
Update BUG_REPORT.md 2020-10-14 00:38:33 -04:00
James Ives
ad287676f4
Creates Dependdabot yml file (#440) 2020-10-02 08:42:11 -04:00
James Ives
0e70ab21c6
Update integration.yml 2020-09-12 18:57:20 -04:00
James Ives
48d8709250
Update integration.yml 2020-09-12 18:36:04 -04:00
James Ives
d72c5c503c
Create codeql-analysis.yml 2020-07-15 09:43:03 -04:00
James Ives
505f38d593
Update SUPPORT.md 2020-07-04 15:55:18 -04:00
James Ives
b5ed08cf39
Update FEATURE_REQUEST.md 2020-07-04 15:55:02 -04:00
James Ives
fda83b3629
Update BUG_REPORT.md 2020-07-04 15:54:45 -04:00
James Ives
a108ee7921 Update integration.yml 2020-06-06 12:43:20 -04:00
James Ives
ad4aca4866
Delete FUNDING.yml 2020-06-04 14:07:43 -04:00
James Ives
8182653089 Update build.yml 2020-05-16 18:26:05 -04:00
James Ives
f1da4c7be1 Migrates to using yarn over npm 2020-05-16 18:19:08 -04:00
James Ives
8945e5d754 Fixes Publishing Pipeline for GitHub 2020-05-16 18:11:24 -04:00
James Ives
2ec414d8d6 Fixes error handling and details in the readme. 2020-05-10 13:34:14 -04:00
James Ives
35d2f578e5 Makes the comments in the issue templates actually comments 2020-05-08 10:04:56 -04:00
James Ives
64f42b46af
Update BUG_REPORT.md 2020-05-08 06:45:53 -04:00
James Ives
dedb4fe338
Update BUG_REPORT.md 2020-05-08 06:41:58 -04:00
James Ives
ea563ffb30 Improving integration tests 2020-04-30 08:49:28 -04:00
JamesIves
7308b6d813 Update publish.yml 2020-04-02 09:27:48 -04:00
JamesIves
fd63badb95 Update publish.yml 2020-04-02 08:58:12 -04:00
JamesIves
2f2661aa84 Update integration-beta.yml 2020-03-31 12:57:46 -04:00