diff options
| author | lijia <[email protected]> | 2024-05-24 22:47:32 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2024-06-03 11:08:06 +0800 |
| commit | 1c232f0176c43c93c3e787ac83f3573bf42c58f1 (patch) | |
| tree | 734c31a97ec38847972b70a18ec075fd415bb5f6 /.gitlab-ci.yml | |
| parent | 22d071e23ff423242f51dce2eab1477b5fb9d106 (diff) | |
Adapt to stellar2.0;update API,add HDR_END,BODY_END,TRANSACTION_NEW,FREE msg.v2.0.2
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 88 |
1 files changed, 1 insertions, 87 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c84bfaa..94b7255 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,12 @@ variables: GIT_STRATEGY: "clone" BUILD_PADDING_PREFIX: /tmp/padding_for_CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX_PREFIX_PREFIX_PREFIX_PREFIX_PREFIX/ - BUILD_IMAGE_CENTOS7: "git.mesalab.cn:7443/mesa_platform/build-env:master" BUILD_IMAGE_CENTOS8: "git.mesalab.cn:7443/mesa_platform/build-env:rockylinux" INSTALL_DEPENDENCY_LIBRARY: sapp sapp-devel framework_env libMESA_prof_load-devel libasan libMESA_htable-devel libMESA_jump_layer libMESA_jump_layer-devel libMESA_handle_logger-devel libMESA_field_stat2-devel libfieldstat3-devel libfieldstat4-devel libbreakpad_mini-devel - zlib-devel brotli brotli-devel stellar-c-devel stellar-c systemd-devel + zlib-devel brotli brotli-devel stellar-on-sapp-devel stellar-on-sapp systemd-devel SYMBOL_TARGET: http_decoder TEST_NAME: gtest_http_decoder INSTALL_PREFIX: "/opt/tsg/" @@ -57,10 +56,6 @@ stages: tags: - share -run_cppcheck_for_centos7: - extends: .cppcheck_script - image: $BUILD_IMAGE_CENTOS7 - run_cppcheck_for_centos8: extends: .cppcheck_script image: $BUILD_IMAGE_CENTOS8 @@ -79,51 +74,6 @@ run_cppcheck_for_centos8: tags: - share -.build_by_travis_for_centos7: - extends: .build_before_script - stage: build - image: $BUILD_IMAGE_CENTOS7 - - -develop_build_for_centos7: - extends: .build_by_travis_for_centos7 - variables: - BUILD_TYPE: RelWithDebInfo - artifacts: - name: "$SYMBOL_TARGET-$CI_COMMIT_REF_NAME-debug" - paths: - - build/* - except: - - tags - -release_build_debug_for_centos7: - extends: .build_by_travis_for_centos7 - variables: - BUILD_TYPE: Debug - PACKAGE: 1 - ASAN_OPTION: "ADDRESS" - script: - - source /opt/rh/devtoolset-7/enable || true - - ./ci/travis.sh - artifacts: - name: "$SYMBOL_TARGET-$CI_COMMIT_REF_NAME-release" - paths: - - build/* - only: - - tags - -release_build_for_centos7: - extends: .build_by_travis_for_centos7 - variables: - BUILD_TYPE: RelWithDebInfo - PACKAGE: 1 - artifacts: - name: "$SYMBOL_TARGET-$CI_COMMIT_REF_NAME-release" - paths: - - build/* - only: - - tags - .build_by_travis_for_centos8: stage: build image: $BUILD_IMAGE_CENTOS8 @@ -168,20 +118,6 @@ release_build_for_centos8: ############################################################################### # test ############################################################################### -test_in_centos7: - stage: test - image: $BUILD_IMAGE_CENTOS7 - allow_failure: false - script: - - *everything_before_script - - ls -l /opt/MESA/lib && echo "/opt/MESA/lib" >> /etc/ld.so.conf - - cd build; make test - dependencies: - - develop_build_for_centos7 - - release_build_for_centos7 - tags: - - share - test_in_centos8: stage: test image: $BUILD_IMAGE_CENTOS8 @@ -199,28 +135,6 @@ test_in_centos8: ############################################################################### # upload ############################################################################### -.define_before_upload_centos7: - stage: upload - image: $BUILD_IMAGE_CENTOS7 - before_script: - - pwd; ls -l ; cd build ; ls -l - - cp /root/rpm_upload_tools.py ./ - variables: - PULP3_REPO_NAME: protocol-stable-x86_64.el7 - PULP3_DIST_NAME: protocol-stable-x86_64.el7 - only: - - tags - tags: - - share - -rpm_upload_for_centos7: - extends: .define_before_upload_centos7 - dependencies: - - release_build_debug_for_centos7 - - release_build_for_centos7 - script: - - python3 rpm_upload_tools.py $PULP3_REPO_NAME $PULP3_DIST_NAME *.rpm - .define_before_upload_centos8: stage: upload image: $BUILD_IMAGE_CENTOS8 |
