1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-26 13:14:31 +01:00

Disabled CircleCI standard cache and switched to our new persistent caching system

This commit is contained in:
Pavel Odintsov 2022-12-03 17:23:46 +00:00
parent a66a83b847
commit 5763a37ecc

@ -157,20 +157,10 @@ jobs:
- run: apt-get update; true
- run: apt-get install -y perl wget python3-pip
- run: pip3 install s3cmd
- restore_cache:
keys:
- "{{ .Environment.CIRCLE_JOB }}_dependencies_02_12_2022"
- restore_cache:
keys:
- "{{ .Environment.CIRCLE_JOB }}_gcc_30_05_2022"
- run:
name: install_gcc
no_output_timeout: 120m
command: perl src/scripts/package_installer.pl gcc
- save_cache:
key: "{{ .Environment.CIRCLE_JOB }}_gcc_30_05_2022"
paths:
- /opt/fastnetmon-community/libraries/gcc1210
- run:
name: install_dependencies
no_output_timeout: 180m
@ -179,10 +169,6 @@ jobs:
name: collect_debug
command: cat /tmp/fastnetmon_install.log
when: on_fail
- save_cache:
key: "{{ .Environment.CIRCLE_JOB }}_dependencies_02_12_2022"
paths:
- /opt
- run: perl src/scripts/fastnetmon_build.pl
- run: perl src/scripts/build_libary_bundle.pl /opt/fastnetmon_libraries_bundle.tar.gz
- store_artifacts:
@ -211,20 +197,10 @@ jobs:
- checkout
- run: yum install -y perl wget python3-pip perl-Archive-Tar perl-Env
- run: pip3 install s3cmd
- restore_cache:
keys:
- "{{ .Environment.CIRCLE_JOB }}_dependencies_02_12_2022"
- restore_cache:
keys:
- "{{ .Environment.CIRCLE_JOB }}_gcc_30_05_2022"
- run:
name: install_gcc
no_output_timeout: 120m
command: perl src/scripts/package_installer.pl gcc
- save_cache:
key: "{{ .Environment.CIRCLE_JOB }}_gcc_30_05_2022"
paths:
- /opt/fastnetmon-community/libraries/gcc1210
- run:
name: install_dependencies
no_output_timeout: 180m
@ -233,10 +209,6 @@ jobs:
name: collect_debug
command: cat /tmp/fastnetmon_install.log
when: on_fail
- save_cache:
key: "{{ .Environment.CIRCLE_JOB }}_dependencies_02_12_2022"
paths:
- /opt
- store_artifacts:
path: /tmp/fastnetmon_install.log
- run: perl src/scripts/fastnetmon_build.pl