Compare commits
No commits in common. "d94a6f262e85cf2e1745894b37cf26d2b6358d45" and "10a286b3456176b9e92ce4491c13073fd534001e" have entirely different histories.
d94a6f262e
...
10a286b345
@ -61,7 +61,7 @@ local task_build_push_images(name, target, push) =
|
||||
* file not found errors when doing COPY commands.
|
||||
* Workaround this buy putting all files inside /kaniko
|
||||
*/
|
||||
local options = if !push then '--no-push' else '--destination $DOCKERURL/tux/%s:$AGOLA_GIT_TAG' % [target];
|
||||
local options = if !push then '--no-push' else '--destination sorintlab/%s:$AGOLA_GIT_TAG' % [target];
|
||||
{
|
||||
name: name,
|
||||
runtime: {
|
||||
@ -73,8 +73,7 @@ local task_build_push_images(name, target, push) =
|
||||
],
|
||||
},
|
||||
environment: {
|
||||
DOCKERAUTH: { from_variable: 'harbor-auth' },
|
||||
DOCKERURL: { from_variable: 'harbor-url' },
|
||||
DOCKERAUTH: { from_variable: 'dockerauth' },
|
||||
},
|
||||
shell: '/busybox/sh',
|
||||
working_dir: '/kaniko',
|
||||
@ -88,14 +87,14 @@ local task_build_push_images(name, target, push) =
|
||||
cat << EOF > /kaniko/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"$DOCKERURL": { "auth" : "$DOCKERAUTH" }
|
||||
"https://index.docker.io/v1/": { "auth" : "$DOCKERAUTH" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|||,
|
||||
},
|
||||
]) + [
|
||||
{ type: 'run', command: '/kaniko/executor --context=dir:///kaniko/agola --build-arg AGOLAWEB_IMAGE=harbor.tuxpa.in/tux/agola-web:v0.6.1 --target %s %s' % [target, options] },
|
||||
{ type: 'run', command: '/kaniko/executor --context=dir:///kaniko/agola --build-arg AGOLAWEB_IMAGE=sorintlab/agola-web:v0.6.0 --target %s %s' % [target, options] },
|
||||
],
|
||||
depends: ['checkout code and save to workspace', 'integration tests', 'test docker driver'],
|
||||
};
|
||||
@ -108,7 +107,7 @@ local task_build_push_images(name, target, push) =
|
||||
[
|
||||
task_build_go(version, arch),
|
||||
]
|
||||
for version in ['1.16']
|
||||
for version in ['1.15', '1.16']
|
||||
for arch in ['amd64' /*, 'arm64' */]
|
||||
]) + [
|
||||
{
|
||||
|
@ -314,7 +314,6 @@ func (c *Client) listUserRepos(fromOptions gitlab.ListProjectsOptions) ([]*gitso
|
||||
}
|
||||
if pageResp.TotalPages != 0 {
|
||||
if pageResp.TotalPages >= pageResp.CurrentPage {
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user