Navigation Menu

Skip to content

Commit

Permalink
bump rust to 1.34, uses test stage in ci
Browse files Browse the repository at this point in the history
Signed-off-by: Ciro S. Costa <cscosta@pivotal.io>
  • Loading branch information
Ciro S. Costa committed Apr 14, 2019
1 parent e7dbe5a commit 0978ded
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM rust:1.33 AS base
FROM rust:1.34 AS base

RUN rustup target add x86_64-unknown-linux-musl

Expand Down
23 changes: 18 additions & 5 deletions ci/pipeline.yml
Expand Up @@ -11,17 +11,30 @@ resources:
username: ((docker-user))
password: ((docker-password))

- name: builder
type: registry-image
source:
repository: cirocosta/builder

jobs:
- name: build
public: true
serial: true
plan:
- get: repository
trigger: true
- task: build-image
privileged: true
file: repository/ci/tasks/build-image.yml
- aggregate:
- get: repository
trigger: true
- get: builder
- aggregate:
- task: build
image: builder
privileged: true
file: repository/ci/tasks/build-image.yml
- task: test
params: { TARGET: test }
image: builder
privileged: true
file: repository/ci/tasks/build-image.yml
- put: container-image
inputs: [image]
get_params: {format: oci}
Expand Down
1 change: 1 addition & 0 deletions ci/tasks/build-image.yml
Expand Up @@ -9,6 +9,7 @@ params:
REPOSITORY: cirocosta/node_extra_exporter
TAG: latest
CONTEXT: repository
TARGET: ~

inputs:
- name: repository
Expand Down

0 comments on commit 0978ded

Please sign in to comment.