-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[minor] Support ppc64le architecture #21
Open
shajeena
wants to merge
29
commits into
stable
Choose a base branch
from
multiarch-power
base: stable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 26 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6b71c61
[patch] travis clean
shajeena 14f75ed
[patch] travis clean
shajeena 781d991
[patch] travis clean
shajeena a887285
[patch] travis clean
shajeena c9df3a3
[patch] travis clean
shajeena ba16ed3
[patch] workflow clean
shajeena 3c84fcc
[patch] workflow clean
shajeena 8d46efe
[patch] workflow clean
shajeena 5d62fa5
[patch] workflow clean
shajeena 2a3ed6a
[patch] Support for ppc64le
shajeena 761da22
[patch] Support for ppc64le
shajeena ef91516
[patch] Support for ppc64le
shajeena 6c5a967
[patch] Support for ppc64le
shajeena 1b5c6d5
[patch] Support for ppc64le
shajeena 500d30a
[patch] Support for ppc64le
shajeena 913c5f3
[patch] Support for ppc64le
shajeena 603bd5d
[patch] Support for ppc64le
shajeena 1e7e913
[patch] Support for ppc64le
shajeena ccc8dd2
[patch] Support for ppc64le
shajeena be5141a
[patch] Support for ppc64le
shajeena 61c6f31
[patch] Support for ppc64le
shajeena 3b65aeb
[patch] Support for ppc64le
shajeena 81b2b5f
[patch] Support for ppc64le
shajeena 55620b7
[patch] Support for ppc64le
shajeena 0d4fe1e
[patch] Support for ppc64le
shajeena 43b4b8d
Merge branch 'stable' into multiarch-power
durera 8156e61
[patch] Support for ppc64le
shajeena fa543d5
Merge remote-tracking branch 'origin/multiarch-power' into multiarch-…
shajeena 58d4cd5
[patch] Support for ppc64le
shajeena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
TARGET_PLATFORM=$1 | ||
echo "GITHUB_REF=$GITHUB_REF" | ||
echo "GITHUB_EVENT_NAME=$GITHUB_EVENT_NAME" | ||
|
||
# Login to quay.io | ||
docker login --username $QUAYIO_USERNAME --password $QUAYIO_PASSWORD quay.io | ||
if [[ "$TARGET_PLATFORM" == "s390x" || "$TARGET_PLATFORM" == "ppc64le" ]]; then | ||
# Before we build the s390x image we need to download some pre-build dependencies from Artifactory | ||
echo "in ... $TARGET_PLATFORM" | ||
wget --header="Authorization:Bearer $ARTIFACTORY_TOKEN" https://na.artifactory.swg-devops.com/artifactory/wiotp-generic-local/dependencies/rclone/$TARGET_PLATFORM/rclone.tar.gz -O $GITHUB_WORKSPACE/image/cli-base/install/rclone.tar.gz | ||
python3 $GITHUB_WORKSPACE/build/bin/python-collect-prebuilt-wheels.py --req-file $GITHUB_WORKSPACE/image/cli-base/install/requirements.txt --dest $GITHUB_WORKSPACE/image/cli-base/install/ --add-dependency cryptography --target-platform $TARGET_PLATFORM | ||
fi | ||
# Build the image | ||
$GITHUB_WORKSPACE/build/bin/docker-build.sh -r quay.io/ibmmas/cli-base --target-platform $TARGET_PLATFORM -b image/cli-base | ||
|
||
# Squash the image layers | ||
python3 -m pip install docker-squash | ||
docker-squash --load-image --tag quay.io/ibmmas/cli-base:$DOCKER_TAG-$TARGET_PLATFORM quay.io/ibmmas/cli-base:$DOCKER_TAG-$TARGET_PLATFORM | ||
|
||
# List available images | ||
docker images | ||
|
||
# Push the images | ||
docker push quay.io/ibmmas/cli-base:$DOCKER_TAG-$TARGET_PLATFORM |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this just needs to be the red X, or it will break the table formatting