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

Moving spelling file to its own directory (for vscode integration) and skipping draft PRs #3280

Merged
merged 32 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9e170ad
moving spelling file to its own directory (for vscode integration) an…
aronchick Jan 21, 2024
a6bec5d
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 22, 2024
43182f2
adding in gh action test
aronchick Jan 22, 2024
4a871e1
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 22, 2024
c8b5d53
moving spelling around
aronchick Jan 22, 2024
5b44388
Merge remote-tracking branch 'origin/3279-only-run-ci-on-non-draft' i…
aronchick Jan 22, 2024
1dc9dcd
removing job token
aronchick Jan 22, 2024
4a137f8
adding parameters
aronchick Jan 22, 2024
4282f76
kicking ci
aronchick Jan 22, 2024
5d65761
fixing circleci trigger
aronchick Jan 22, 2024
217ea1e
kicking ci
aronchick Jan 23, 2024
07e1959
debugging gha
aronchick Jan 23, 2024
f136b7a
not contains
aronchick Jan 23, 2024
5bd1692
wip label
aronchick Jan 23, 2024
f0855ae
trigger
aronchick Jan 23, 2024
d7767bd
turning off ci for docs
aronchick Jan 23, 2024
cfb5215
trying to fix config.yml
aronchick Jan 23, 2024
04dc055
trying to fix config.yml - 2
aronchick Jan 23, 2024
5b3f17b
trying to fix config.yml - 3
aronchick Jan 23, 2024
1c41bb6
trying to fix config.yml - 4p
aronchick Jan 23, 2024
a6ec214
trying to fix config.yml - 5
aronchick Jan 23, 2024
fd75dfc
commit with shell
aronchick Jan 23, 2024
4f861b3
now triggering CircleCI with curl
aronchick Jan 23, 2024
002008e
fixing spelling
aronchick Jan 23, 2024
d0da8c2
adding checkout
aronchick Jan 23, 2024
76be41b
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 23, 2024
fab3991
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 24, 2024
ac32013
ensuring up to date
aronchick Jan 24, 2024
def8548
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 24, 2024
f8d8017
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 28, 2024
10821f5
Merge branch 'main' into 3279-only-run-ci-on-non-draft
aronchick Jan 31, 2024
b46dea1
adding contributing.md
aronchick Feb 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 29 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/2.0/configuration-reference
version: 2.1
parameters:
GHA_Actor:
type: string
default: ""
GHA_Action:
type: string
default: ""
GHA_Event:
type: string
default: ""
GHA_Meta:
type: string
default: ""
run_workflow_build:
default: true
type: boolean

run_workflow_test:
default: true
type: boolean

run_workflow_lint:
default: true
type: boolean

orbs:
node: circleci/[email protected]
Expand Down Expand Up @@ -602,22 +626,23 @@ jobs:
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
workflows:
lint:
when: << pipeline.parameters.GHA_Action >>
jobs:
- lint:
name: Run linters and static checkers
filters:
tags:
ignore: /.*/

check_canary:
when: << pipeline.parameters.GHA_Action >>
jobs:
- build_canary:
name: Check canary build
filters:
tags:
ignore: /.*/

test:
when: << pipeline.parameters.GHA_Action >>
jobs:
- build_webui
- test:
Expand All @@ -644,8 +669,8 @@ workflows:
name: Build coverage report
requires:
- test

python:
when: << pipeline.parameters.GHA_Action >>
jobs:
- build_swagger:
name: build-swagger-spec
Expand All @@ -669,8 +694,8 @@ workflows:
branches:
ignore: /.*/ # don't run on any branches - only tags
<<: *build_on_branch_and_tag_push

build:
when: << pipeline.parameters.GHA_Action >>
jobs:
- build_webui:
filters: *build_on_branch_and_tag_push
Expand Down
7 changes: 7 additions & 0 deletions .circleci/trigger_pipeline.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
curl -X POST --header "Content-Type: application/json" --header "Circle-Token: ${CIRCLE_TOKEN}" -d "{
\"parameters\": {
\"GHA_Action\": \"trigger_pipeline\"
},
\"branch\": \"${BRANCH}\"
}" https://circleci.com/api/v2/project/gh/bacalhau-project/bacalhau/pipeline
9 changes: 5 additions & 4 deletions .cspell-code.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
"allowCompoundWords": true,
"dictionaryDefinitions": [
{
"name": "custom-words",
"path": ".gitprecommit/codespell_ignore_words.txt",
"name": "custom-dictionary",
"path": "./.cspell/custom-dictionary.txt",
"addWords": true
}
],
"dictionaries": [
"en",
"custom-words"
"custom-words",
"custom-dictionary"
],
"ignorePaths": [
"**/docs/package-lock.json",
Expand Down Expand Up @@ -49,4 +50,4 @@
"/github.com.*/",
"/\\w+{12,}/"
]
}
}
4 changes: 2 additions & 2 deletions .cspell-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"allowCompoundWords": true,
"dictionaryDefinitions": [
{
"name": "custom-words",
"path": ".gitprecommit/codespell_ignore_words.txt",
"name": "custom-dictionary",
"path": "./.cspell/custom-dictionary.txt",
"addWords": true
}
],
Expand Down
Loading