Commit d5d633d1 authored by Muhammad Bilal's avatar Muhammad Bilal
Browse files

caching test

parent 717dccd6
Showing with 6 additions and 7 deletions
+6 -7
......@@ -9,7 +9,6 @@ variables:
before_script:
- apt-get update -o dir::cache::archives="$APT_CACHE_DIR" -yq
- apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y libsqlcipher-dev
#- apt-get install -y docker.io
- cargo install cargo-audit
- rustup component add rustfmt
- rustup component add clippy
......@@ -31,7 +30,6 @@ test:
stage: test
tags:
- internal-memri
# image: ekidd/rust-musl-builder
script:
- cargo fmt --all -- --check
- touch src/main.rs && cargo clippy --all-targets --all-features -- -D warnings
......@@ -42,8 +40,7 @@ test:
build_push_DO:
stage: build_push_DO
image:
# We recommend using the CERN version of the Kaniko image: gitlab-registry.cern.ch/ci-tools/docker-image-builder
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
before_script:
......@@ -54,8 +51,7 @@ build_push_DO:
build_push_Gitlab:
stage: build_push_Gitlab
image:
# We recommend using the CERN version of the Kaniko image: gitlab-registry.cern.ch/ci-tools/docker-image-builder
image:
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
before_script:
......
......@@ -208,7 +208,10 @@ fn run_kubernetes_container(
args.push(format!("--env=POD_PLUGINRUN_ID={}", triggered_by_item_id));
args.push(format!("--env=POD_OWNER={}", pod_owner));
args.push(format!("--env=POD_AUTH_JSON={}", pod_auth));
args.push(format!("--env=PLUGIN_DNS=http://{}.dev.pod.memri.io", s.clone()));
args.push(format!(
"--env=PLUGIN_DNS=http://{}.dev.pod.memri.io",
s.clone()
));
let envs: HashMap<&str, &str> = HashMap::new();
run_any_command("kubectl", &args, &envs, triggered_by_item_id)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment