Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
immerda
Container Images
buildah
Commits
f59cca0c
Verified
Commit
f59cca0c
authored
Jun 30, 2020
by
tr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test podman and skopeo too.
parent
fcc778f5
Pipeline
#3187
passed with stages
in 9 minutes and 52 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
.gitlab-ci.yml
.gitlab-ci.yml
+4
-0
No files found.
.gitlab-ci.yml
View file @
f59cca0c
...
...
@@ -73,7 +73,9 @@ build_centos_8:
-
. "$DISTRO-$RELEASE.version" ; export VERSION
-
echo "$VERSION"
-
skopeo copy "docker-archive:$(pwd)/$DISTRO-$RELEASE.tar" "containers-storage:localhost/buildah/$DISTRO:$VERSION"
-
podman run --net=host -it --rm "localhost/buildah/$DISTRO:$VERSION" podman --version
-
podman run --net=host -it --rm "localhost/buildah/$DISTRO:$VERSION" buildah --version
-
podman run --net=host -it --rm "localhost/buildah/$DISTRO:$VERSION" skopeo --version
test_fedora_31
:
dependencies
:
...
...
@@ -89,7 +91,9 @@ test_fedora_31:
-
. "$DISTRO-$RELEASE.version" ; export VERSION
-
echo "$VERSION"
-
skopeo copy "docker-archive:$(pwd)/$DISTRO-$RELEASE.tar" "containers-storage:localhost/buildah/$DISTRO:$VERSION"
-
podman run -it --rm "localhost/buildah/$DISTRO:$VERSION" podman --version || exit_code="$?"
-
podman run -it --rm "localhost/buildah/$DISTRO:$VERSION" buildah --version || exit_code="$?"
-
podman run -it --rm "localhost/buildah/$DISTRO:$VERSION" skopeo --version || exit_code="$?"
-
if [ "$exit_code" -ne 0 ]; then echo "Previous command is expected to fail, due to podman bug"; else echo "Podman seems fixed?!" && exit 1; fi;
needs
:
[
"
build_fedora_31"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment