소스 검색

more reliable CI with predictible release directory

Thibault bui Koechlin 5 년 전
부모
커밋
dd1aae85ae
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      .github/workflows/hub-ci.yml

+ 4 - 4
.github/workflows/hub-ci.yml

@@ -19,7 +19,7 @@ jobs:
     - name: Check out code into the Go module directory
       uses: actions/checkout@v2
     - name: Build release
-      run: make release
+      run: BUILD_VERSION=xxx make release
     - name: clone and build hub CI tool
       run: |
         git clone https://github.com/crowdsecurity/hub-tests.git
@@ -27,19 +27,19 @@ jobs:
         make
     - name: Create crowdsec test env with all parsers from the release
       run: |
-        cd crowdsec-pull
+        cd crowdsec-xxx
         ./test_env.sh
         cd tests
         for i in `./cscli -c dev.yaml list parsers -a -o json | jq -r ".[].name" ` ; do 
           ./cscli -c dev.yaml install parser $i ; 
         done
     - name: Setup hub ci in crowdsec
-      working-directory: ./crowdsec-pull/tests/
+      working-directory: ./crowdsec-xxx/tests/
       run: |
         cp -R ../../hub-tests/tests .
         cp ../../hub-tests/main .
     - name: Run the HUB CI
-      working-directory: ./crowdsec-pull/tests/
+      working-directory: ./crowdsec-xxx/tests/
       run: |
         for i in `find ./tests -mindepth 1 -maxdepth 1 -type d` ; do 
           echo "::group::Test-${i}" ;