Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
chore update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Holzer committed Aug 19, 2022
1 parent 004ce51 commit c120320
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 23 deletions.
11 changes: 6 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ commands:
image:
description: The image name + tag to run the tests on
type: string
config:
description: The path to the config file that describes the test files
type: string
steps:
- run:
name: Install Google Container Structure Test
Expand All @@ -158,9 +155,14 @@ commands:
- run:
name: Container Structure Tests 🧪
command: |
container-structure-test test --image << parameters.image >> --config << parameters.config >> --test-report container-structure.xml --output junit
container-structure-test test --image << parameters.image >> --config focal.yaml --test-report container-structure.xml --output junit
if [ "<< parameters.arch >>" = "amd64" ] ; then
container-structure-test test --image << parameters.image >> --config focal-amd64.yaml --test-report container-structure-amd64.xml --output junit
fi
- store_test_results:
path: ./container-structure.xml
- store_test_results:
path: ./container-structure-amd64.xml

runtime-tests:
parameters:
Expand Down Expand Up @@ -235,7 +237,6 @@ jobs:
- container-structure-tests:
arch: << parameters.executor >>
image: ${SHA1_IMAGE_URL}
config: focal.yaml
# Conditionally push images (not for forked PRs)
- when:
condition: << parameters.push-images >>
Expand Down
19 changes: 19 additions & 0 deletions focal-amd64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
schemaVersion: "2.0.0"

commandTests:
- name: "Elm compiler"
command: "elm"
args: ["--version"]
expectedOutput: ["0.19.1"]

- name: binrc
command: "binrc"
args: ["version"]
expectedOutput:
- ^[0-9a-f]{40} # matches a git long sha

- name: "Homebrew"
command: "brew"
args: ["--version"]
expectedOutput:
- Homebrew 3\.5\.\d+
18 changes: 0 additions & 18 deletions focal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ fileExistenceTests:
gid: 2500 # buildbot

commandTests:
- name: "Elm compiler"
command: "elm"
args: ["--version"]
expectedOutput: ["0.19.1"]

- name: "zstd compression library"
command: "zstd"
args: ["--version"]
Expand Down Expand Up @@ -106,12 +101,6 @@ commandTests:
args: ["version"]
expectedOutput: ["hugo v0.101.0"]

- name: binrc
command: "binrc"
args: ["version"]
expectedOutput:
- ^[0-9a-f]{40} # matches a git long sha

- name: lz4 compression
command: "lz4"
args: ["--version"]
Expand Down Expand Up @@ -145,13 +134,6 @@ commandTests:
args: ["--version"]
expectedOutput: ["swiftenv 1.5.0"]

# HOMEBREW does not exist on arm64
# - name: "Homebrew"
# command: "brew"
# args: ["--version"]
# expectedOutput:
# - Homebrew 3\.5\.\d+

- name: "Rustup"
command: "rustup"
args: ["--version"]
Expand Down

0 comments on commit c120320

Please sign in to comment.