Skip to content
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

feat: Generate binaries for s390x/Power platforms #863

Merged
merged 1 commit into from
Sep 11, 2022

Conversation

Akash-Nayak
Copy link
Contributor

Signed-off-by: Akash Nayak akash19nayak@gmail.com

Signed-off-by: Akash Nayak <akash19nayak@gmail.com>
@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the feat label Sep 11, 2022
@ashokponkumar
Copy link
Member

Did it succeed locally?

@ashokponkumar ashokponkumar changed the title feat: Generate binaries for Z/Power platforms feat: Generate binaries for s390x/Power platforms Sep 11, 2022
@ashokponkumar ashokponkumar enabled auto-merge (squash) September 11, 2022 13:16
@Akash-Nayak
Copy link
Contributor Author

Yes, it succeeded locally.

✗ make dist
rm -rf /Users/akash/github/a/move2kube/bin /Users/akash/github/a/move2kube/_dist
go clean -cache
CGO_ENABLED=0 /Users/akash/go/bin/gox -parallel=3 -output="/Users/akash/github/a/move2kube/_dist/{{.OS}}-{{.Arch}}/move2kube" -osarch='darwin/amd64 darwin/arm64 linux/amd64 linux/arm64 windows/amd64 linux/s390x linux/ppc64le' -ldflags '-w -s -X github.com/konveyor/move2kube/types/info.buildmetadata=unreleased -X github.com/konveyor/move2kube/types/info.gitCommit=e3f27b0a75aeb996aa3a50d7cbb82cb5d276ba4e -X github.com/konveyor/move2kube/types/info.gitTreeState=dirty' .
Number of parallel builds: 3

-->    darwin/amd64: github.com/konveyor/move2kube
-->     linux/amd64: github.com/konveyor/move2kube
-->   windows/amd64: github.com/konveyor/move2kube
-->     linux/s390x: github.com/konveyor/move2kube
-->   linux/ppc64le: github.com/konveyor/move2kube
-->     linux/arm64: github.com/konveyor/move2kube
-->    darwin/arm64: github.com/konveyor/move2kube
mkdir -p /Users/akash/github/a/move2kube/_dist/files
cp -r ./LICENSE ./USAGE.md ./samples /Users/akash/github/a/move2kube/_dist/files/
cd /Users/akash/github/a/move2kube/_dist && go run ../scripts/dist/builddist.go -b move2kube -v latest
INFO[0000] Creating archive files for distribution.     
DEBU[0000] BINNAME:move2kube                            
DEBU[0000] VERSION:latest                               
DEBU[0000] Find the directories containing the build output. 
DEBU[0000] distDirs:[darwin-amd64 darwin-arm64 linux-amd64 linux-arm64 linux-ppc64le linux-s390x windows-amd64] 
DEBU[0000] Create the archives.                         
DEBU[0000] Generating output in directory at path output 
DEBU[0000] tempDir:move2kube                            
DEBU[0000] extraFiles:[files/LICENSE files/USAGE.md files/samples] 
DEBU[0000] Remove and remake the temporary directory.   
DEBU[0000] Copy the files over.                         
DEBU[0000] buildArtifacts:[darwin-amd64/move2kube]      
DEBU[0000] Name and make the archives.                  
DEBU[0000] osArch:darwin-amd64                          
DEBU[0000] tarArchivePath:output/move2kube-latest-darwin-amd64.tar.gz 
DEBU[0004] zipArchivePath:output/move2kube-latest-darwin-amd64.zip 
DEBU[0008] Calculate and write the checksums to files.  
DEBU[0008] Remove and remake the temporary directory.   
DEBU[0008] Copy the files over.                         
DEBU[0008] buildArtifacts:[darwin-arm64/move2kube]      
DEBU[0008] Name and make the archives.                  
DEBU[0008] osArch:darwin-arm64                          
DEBU[0008] tarArchivePath:output/move2kube-latest-darwin-arm64.tar.gz 
DEBU[0012] zipArchivePath:output/move2kube-latest-darwin-arm64.zip 
DEBU[0015] Calculate and write the checksums to files.  
DEBU[0015] Remove and remake the temporary directory.   
DEBU[0015] Copy the files over.                         
DEBU[0015] buildArtifacts:[linux-amd64/move2kube]       
DEBU[0015] Name and make the archives.                  
DEBU[0015] osArch:linux-amd64                           
DEBU[0015] tarArchivePath:output/move2kube-latest-linux-amd64.tar.gz 
DEBU[0018] zipArchivePath:output/move2kube-latest-linux-amd64.zip 
DEBU[0021] Calculate and write the checksums to files.  
DEBU[0022] Remove and remake the temporary directory.   
DEBU[0022] Copy the files over.                         
DEBU[0022] buildArtifacts:[linux-arm64/move2kube]       
DEBU[0022] Name and make the archives.                  
DEBU[0022] osArch:linux-arm64                           
DEBU[0022] tarArchivePath:output/move2kube-latest-linux-arm64.tar.gz 
DEBU[0025] zipArchivePath:output/move2kube-latest-linux-arm64.zip 
DEBU[0027] Calculate and write the checksums to files.  
DEBU[0027] Remove and remake the temporary directory.   
DEBU[0028] Copy the files over.                         
DEBU[0028] buildArtifacts:[linux-ppc64le/move2kube]     
DEBU[0028] Name and make the archives.                  
DEBU[0028] osArch:linux-ppc64le                         
DEBU[0028] tarArchivePath:output/move2kube-latest-linux-ppc64le.tar.gz 
DEBU[0031] zipArchivePath:output/move2kube-latest-linux-ppc64le.zip 
DEBU[0033] Calculate and write the checksums to files.  
DEBU[0034] Remove and remake the temporary directory.   
DEBU[0034] Copy the files over.                         
DEBU[0034] buildArtifacts:[linux-s390x/move2kube]       
DEBU[0034] Name and make the archives.                  
DEBU[0034] osArch:linux-s390x                           
DEBU[0034] tarArchivePath:output/move2kube-latest-linux-s390x.tar.gz 
DEBU[0037] zipArchivePath:output/move2kube-latest-linux-s390x.zip 
DEBU[0041] Calculate and write the checksums to files.  
DEBU[0042] Remove and remake the temporary directory.   
DEBU[0042] Copy the files over.                         
DEBU[0042] buildArtifacts:[windows-amd64/move2kube.exe] 
DEBU[0042] Name and make the archives.                  
DEBU[0042] osArch:windows-amd64                         
DEBU[0042] tarArchivePath:output/move2kube-latest-windows-amd64.tar.gz 
DEBU[0045] zipArchivePath:output/move2kube-latest-windows-amd64.zip 
DEBU[0048] Calculate and write the checksums to files.  
DEBU[0048] Cleanup the temporary directory.             
INFO[0048] Done!

@ashokponkumar ashokponkumar merged commit 0730e8f into konveyor:main Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants