7b5a254a87
Make rpmbuild work with private repos
...
Previously, in order to create /github/home/rpmbuild/SOURCES/foo-1.2.0.tar.gz,
rpmbuild did the following:
1. use curl to download a tarball of the project source
2. unpack it into a local directory
3. repack it with the correct desired directory structure
4. move the repacked tarball to /github/home/rpmbuild/SOURCES
This failed for me at step 1 because the repo I'm trying to use rpmbuild on
is a private repo. There's no means of plumbing a github auth token into the
`curl` command, so the tarball fails to download and everything else fails.
----
Since we have the current repo tree in /github/workspace, we can coerce `git`
to make the archive for us. Now, we:
1. ask git to make the archive
and everything works with a private repo. In order to make this approach work,
I've added `git` into the build container.
2021-09-17 16:37:25 -07:00
7933177d50
Merge branch 'master' of https://github.com/naveenrajm7/rpmbuild
2020-05-18 02:20:21 +05:30
4f9fc13352
update images link in README
2020-05-18 02:17:11 +05:30
76e457ad9f
update winning status , open to contribution.
2020-05-18 02:13:56 +05:30
1ab6e71885
added Contributing guide
2020-05-18 01:48:48 +05:30
b7aecab58c
added MacOS system file to gitignore
2020-05-18 00:42:08 +05:30
b52f0e593e
assets typo
v1.0.0
2020-04-01 02:41:22 +05:30
44f3322e47
relative image link
2020-04-01 02:40:27 +05:30
b393c528e2
Update README
2020-04-01 02:34:20 +05:30
ca2383e80a
added screenshots
2020-04-01 02:33:54 +05:30
0241680a99
document Dockerfile
2020-04-01 00:27:38 +05:30
b980813ffe
documented main.ts
2020-04-01 00:25:09 +05:30
2c036efa4b
deleted download-archive function
2020-04-01 00:23:08 +05:30
9ee1f018db
added rpm_dir output
2020-03-31 23:57:30 +05:30
13cf204bc3
Merge branch 'master' of https://github.com/naveenrajm7/rpmbuild
...
Update Action Name
2020-03-31 03:32:11 +05:30
0354642598
added python
2020-03-31 03:18:24 +05:30
e9c77ec5b5
Trying unique name
v0.0.1
2020-03-31 02:37:57 +05:30
b407d54681
providing rpm directory
2020-03-31 01:53:31 +05:30
e4673b03fc
Created README for action usage
2020-03-31 01:52:01 +05:30
8eaa21bfb0
read file
2020-03-30 19:10:55 +05:30
6557634aae
added branding and output
2020-03-30 18:53:50 +05:30
dbaef42d71
setting outputs
2020-03-30 18:35:40 +05:30
2ff761f1ba
read values from spec file
2020-03-30 18:23:27 +05:30
08c27c427d
code clean
2020-03-30 16:01:37 +05:30
dd228e741d
change input name
2020-03-30 16:01:02 +05:30
1b359d3c39
trim inside scope
2020-03-30 15:08:23 +05:30
12c4708eec
trim string
2020-03-30 14:49:04 +05:30
44a969a0b7
copy rpm to workspace
2020-03-30 14:02:20 +05:30
19d8f15bf1
string var
2020-03-30 04:28:05 +05:30
efb157518c
using child process to get o/p
2020-03-30 04:07:25 +05:30
e9c1abc0c0
using args
2020-03-30 03:51:35 +05:30
1ff3b59df3
version is a must for source
2020-03-30 03:41:19 +05:30
ae6201f9c5
get content create tar
2020-03-30 03:23:17 +05:30
8cb622689c
using home dir
2020-03-30 03:03:04 +05:30
a2442d8ca7
copy in workspace
2020-03-30 02:58:09 +05:30
9f694f400a
tmp check
2020-03-30 02:45:46 +05:30
12a2b711a3
checking tmp
2020-03-30 02:35:24 +05:30
9019e7252b
create tar.gz from source
2020-03-30 02:15:32 +05:30
ab399dde5d
using curl to get archive
2020-03-30 00:33:05 +05:30
d031b9a6f9
install dependencies
2020-03-30 00:11:29 +05:30
988866ee8e
no define
2020-03-30 00:02:57 +05:30
bacc165fa2
HOME is /github/home/
2020-03-29 23:58:11 +05:30
885db1e528
using Dockerfile use to install tools
2020-03-29 23:57:35 +05:30
a10c2dab6a
"$HOME"
2020-03-29 23:46:10 +05:30
20324b2b3a
echo $HOME in run container
2020-03-29 23:37:05 +05:30
dbee31ede8
using topdir
2020-03-29 23:11:11 +05:30
622d569a62
check HOME in centos
2020-03-29 22:55:14 +05:30
e049dc847d
$HOME /github/home/
2020-03-29 22:32:28 +05:30
b9885f9c7d
changed source file name
2020-03-29 21:40:58 +05:30
9127a2bbc2
specifying spec file
2020-03-29 21:29:31 +05:30