1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00
Commit Graph

117 Commits

Author SHA1 Message Date
Sayan Biswas
26d3bd019f Update golang to 1.23
Changes:
- Update go.mod to 1.23
- Update Dockerfiles and CI
2025-05-23 13:30:29 +05:30
Adam Kaplan
349a4d9039 BUILD-960: Update Containers to UBI9 go-toolset
- Update Dockerfiles to use the ubi9 go-toolset images. For the
  releaser image, this avoids downloading the go sdk as part of the
  relase process.
- Add `build-container` make target for convenience.
- Update ci-operator build root to use rhel-9 golang 1.20 image for OCP
  4.15

Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
2024-05-09 13:48:13 -04:00
OpenShift Merge Robot
9b63125199 Merge pull request #1115 from coreydaley/a_few_fixes
A few small fixes
2023-03-16 03:34:01 -04:00
OpenShift Merge Robot
06b2913369 Merge pull request #1113 from coreydaley/setup_goio
Clean up Makefile, remove outdated tools, setup goio
2023-03-16 01:13:21 -04:00
Corey Daley
48f25bd76c adding goio 2023-03-16 00:59:17 -04:00
Corey Daley
5b112dd908 - Add .ci-operator.yaml file
- Update OWNERS file
 - Update to use Go 1.19
 - Add fix for darwin (macos) in release script
2023-03-15 22:12:07 -04:00
Corey Daley
ca128755ab Cleanup Makefile and old linting tools 2023-03-15 21:20:04 -04:00
Corey Daley
c068e30df6 Generate SHA512SUM for release archives
The `make release` command will now generate a `SHA512-SUMS.txt` file
that should be uploaded to github when a release is made.
2023-03-14 16:38:43 -04:00
Corey Daley
1ce74ba38e adding windows/arm64 2023-03-11 23:10:40 -05:00
Corey Daley
0aa69a4062 Re-enable cross builds for aarch64/arm64
When running `go tool dist list` aarch64 is no longer listed
so we must change it to arm64 which is the same architecture
just a different name

Fixes #1103
2023-03-11 22:39:03 -05:00
Corey Daley
3944af65f2 Updating release code to use go1.18 2022-12-13 22:17:49 -05:00
Nalin Dahyabhai
ebacea9f3e Fix integration test invocation
Stop clearing S2I_BUILD_TAGS in hack/test-go.sh so that integration
tests will run when it's invoked from hack/test-dockerfile.sh and from
hack/docker.sh.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2022-06-29 15:59:35 -04:00
Tom Deseyn
ae227b3792 Add {linux,darwin}/aarch64 to cross-compile platforms. 2021-11-10 14:01:16 +01:00
gabemontero
24fd77722e eol php 5.5 image no longer functional so move off of it in cmd line tests 2021-10-13 13:39:40 -04:00
gabemontero
12a00f2b74 update php image used in test-stirunner.sh 2021-06-29 15:30:30 -04:00
Adam Kaplan
af408da20a Use volume mount in release build
- Use bind mount instead of tar stream to add source code to the release
  container.
- Update release Dockerfile to declare volume for the s2i source.
  Command updated to remove tar stream in
- Add sti-version-defs file to .gitignore
2020-10-09 13:56:15 -04:00
Yaakov Selkowitz
ac8e27b152 Add linux/s390x to cross-compile platforms 2020-06-17 02:54:31 -04:00
Siddhesh-Ghadi
8523a8a965 Add ppc64le support
Add ppc64le travis job

Add ppc64le cross-compile target for releases
2020-06-04 21:17:11 -10:00
Igor Sutton Lopes
98b1e01118 Add exclude_graphdriver_devicemapper and exclude_graphdriver_btrfs build tags 2020-02-13 12:20:54 +01:00
Adam Kaplan
9c421d197a Allow releases with podman or docker 2020-02-04 09:48:11 -05:00
Otávio Fernandes
f5758afc40 chore(hack): Go Modules based scripts. 2019-10-28 11:01:00 +01:00
Otávio Fernandes
d0e1861f16 chore(hack): Removing scripts replaced by Go Modules. 2019-10-28 10:59:43 +01:00
Adam Kaplan
ff82006a5d Add update-deps script 2019-07-12 13:57:38 -04:00
Adam Kaplan
d6ad0c5b01 Bump release golang to 1.12.5
* Fixes recent change to podman cp
2019-06-07 12:17:02 -04:00
Adam Kaplan
9c608549ea Bump golang to 1.12 2019-06-06 15:13:54 -04:00
Adam Kaplan
2308927668 Refactor s2i Tests for ci-operator
* Isolate integration tests that don't require Docker
* Add OWNERS file
* Add make commands to run integration tests
2019-06-06 11:33:13 -04:00
Adam Kaplan
7d48f15be7 Fixes to release process
- Use podman instead of docker
- Use UBI as base image
- Bump golang to 1.10.8
2019-05-14 21:50:41 -04:00
Ben Parees
81e520a7e2 increase timeout on tar extraction and make error clearer 2018-10-12 14:38:14 -04:00
magicsong
1b45714ced add --add-host flag 2018-09-21 11:57:04 +08:00
liangxia
d431bff05e Update example repos that were moved to sclorg 2018-09-17 11:21:22 +08:00
Adam Kaplan
cfd8419086 Check Assemble Users Against Allowed UIDs
Adding check to ensure the s2i assemble user is allowed if the --allowed-uids flag is set.
The assemble user can come from one of two sources:

1. --assemble-user flag
2. builder image io.openshift.s2i.assemble-user label

The assemble user overrides the default image user for an s2i build.
However, if the base image has ONBUILD instructions with USER directives,
all USER directives will be checked to ensure compliance.

Bug 1582976
2018-05-29 10:55:15 -04:00
Ben Parees
62488a5747 Option to produce a buildable Dockerfile instead of an image when building 2018-05-25 10:33:41 -04:00
Adam Kaplan
be7f83aeeb Parse multiple volumes via semicolon delimeter.
Fixes issue #872
2018-05-01 11:36:50 -04:00
Ben Parees
31843cacdf fix s2i tests 2018-04-25 16:14:27 -04:00
Ben Parees
22d5323e44 rework dep verifier to check glide deps 2018-04-02 12:05:08 -04:00
Ben Parees
4f773b6c04 remove golang version check 2018-02-28 10:04:39 -05:00
Maciej Szulik
7d91565a3c Force golang.org/x/crypto/ssh/terminal dependency needed for windows compilation 2017-11-27 12:49:12 +01:00
Maciej Szulik
77e1e436e4 Add hack/godep-restore.sh and hack/godep-save.sh scripts 2017-11-06 14:44:28 +01:00
dobbymoodge
7e368b2ab2 Parse $USER and set VM name accordingly
Fixes #793
2017-08-15 16:52:13 -04:00
OpenShift Bot
112f0d4fd5 Merge pull request #791 from jim-minter/rebase
Merged by openshift-bot
2017-08-10 16:49:43 -04:00
Jim Minter
e2a4858546 git describe tags in rebase-to-origin.sh 2017-08-10 13:24:26 -05:00
Ben Parees
06c9446cd6 update exclusions in rebase script 2017-08-10 13:40:43 -04:00
Jim Minter
7da3d3e975 git URL parsing rewrite 2017-07-13 09:09:56 +01:00
Ben Parees
1eebbcc799 ensure created directories are readable/executable
bug 1467819

https://bugzilla.redhat.com/show_bug.cgi?id=1467819

add test repo for overriding scripts
2017-07-05 16:40:49 -04:00
Ben Parees
4de5b4c02b strip debug symbols on release binary 2017-05-12 15:07:47 -04:00
yuvipanda
1ee3f73783 Make s2i binaries static
Allows running in linux distros that do not have glibc, for example

Fixes #727
2017-04-19 10:48:28 -07:00
guangxuli
2816855ca0 delete deprecated force pull flag
update bash and zsh

remove --force-pull
2017-03-28 10:55:04 +08:00
oatmealraisin
5e3fd039d3 Changed splitting index of Volume specs to first :
This allows us to specify file modes when Docker mounts, such as :Z or
:rw
2017-03-17 15:56:17 -04:00
Corey Daley
a8f4df0479 Overhaul of Source-to-Image
Updating README(s), templates, and examples
2017-02-23 10:15:59 -05:00
Rodolfo Carvalho
bc2e858e0d Prefer using https:// instead of git:// (#647)
* Prefer using https:// instead of git://

Both protocols are "smart" and should have similar performance.
HTTPS is encrypted, while the Git transport is plaintext.
HTTPS verifies the certificate of the server.

* Clean up comment

- "the source" means "s"
- no need to enumerate protocols
2017-01-06 11:50:27 -05:00