Skip to content

Commit

Permalink
ci: run jobs in parallel, simplify dockerignore [skip tests]
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Mar 15, 2024
1 parent 7fef5c2 commit 6b7aee5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 167 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/additional_tests.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/build_app.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/build_docs.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
build_app:
name: Build app
if: ${{ !contains(github.event.head_commit.message, 'skip app') }}
needs: [ run_tests ]
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/run_tests.yaml

This file was deleted.

18 changes: 6 additions & 12 deletions app.Dockerfile.dockerignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# Ignore verything
*
# This is the dockerignore used by app.Dockerfile, it filters out
# everything we don't want in the 'COPY . /opt/kalisio' step where
# '.' is the workspace folder.
# Since we expect the workspace to be clean, we don't allowlist
# specific folders, we copy everyhting but the following :

# Except these
!kli.js
!kli/*
!feathers-s3/*
!feathers-import-export/*
!feathers-webpush/*
!kdk/*
!kapp/*

# But ignore these anyway
# Ignore all these
**/node_modules
**/npm-debug.log
**/*Dockerfile
Expand Down
4 changes: 0 additions & 4 deletions scripts/init_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ init_github_build_docs() {
install_reqs age sops nvm node18
}

init_github_main_ci() {
install_reqs age sops nvm node16 node18 mongo4
}

init_github_additional_tests() {
install_reqs age sops nvm node16 node18 node20 mongo4 mongo5 mongo6
}
Expand Down

0 comments on commit 6b7aee5

Please sign in to comment.