Compare commits

..

9 Commits

Author SHA1 Message Date
jcabillot e3d66202dd Merge branch 'armci' into renovate/github.com-minio-sha256-simd-0.x 2026-05-29 15:49:23 -04:00
Julien Cabillot c706f2422c feat: archive
perso/syncthing-arm/pipeline/head There was a failure building this commit
2026-05-28 16:31:30 -04:00
renovate 48f0ddf8cb Update module github.com/minio/sha256-simd to v0.1.2
perso/syncthing-arm/pipeline/head There was a failure building this commit
perso/syncthing-arm/pipeline/pr-armci There was a failure building this commit
2026-05-27 04:11:56 +00:00
jcabillot 44be22e0e5 import missing file
perso/syncthing-arm/pipeline/head There was a failure building this commit
2021-01-04 16:27:13 -05:00
jcabillot 754bcecde6 use k3s
perso/syncthing-arm/pipeline/head There was a failure building this commit
2021-01-04 16:26:11 -05:00
jcabillot e9cd74051d Import
perso/syncthing-arm/armci Build queued...
perso/syncthing-arm/pipeline/head Something is wrong with the build of this commit
2020-01-08 15:36:51 -05:00
Julien Cabillot 389cfec1ec Update .gitlab-ci.yml 2020-01-08 15:35:41 -05:00
Julien Cabillot 00c1e40e13 Update .gitlab-ci.yml 2020-01-08 15:35:41 -05:00
jcabillot 11909a4d12 import 2020-01-08 15:35:41 -05:00
5 changed files with 113 additions and 1 deletions
+41
View File
@@ -0,0 +1,41 @@
image: "docker:latest"
services:
- "docker:dind"
before_script:
- "docker login -u \"$CI_REGISTRY_USER\" -p \"$CI_REGISTRY_PASSWORD\" $CI_REGISTRY"
build-master:
stage: "build"
script:
- "docker build --pull -t \"$CI_REGISTRY_IMAGE\" ."
- "docker push \"$CI_REGISTRY_IMAGE\""
only:
- "master"
tags:
- "arm64"
build:
stage: "build"
script:
- "docker build --pull -t \"$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG\" ."
- "docker push \"$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG\""
except:
- "master"
tags:
- "arm64"
deploy-dockerhub:
stage: "deploy"
before_script:
- "docker login -u \"$DOCKERHUB_USER\" -p \"$DOCKERHUB_PASSWORD\""
- "docker login -u \"$CI_REGISTRY_USER\" -p \"$CI_REGISTRY_PASSWORD\" $CI_REGISTRY"
script:
- "docker pull \"$CI_REGISTRY_IMAGE\""
- "docker tag \"$CI_REGISTRY_IMAGE\" \"$DOCKERHUB_USER/$DOCKERHUB_PROJECT\""
- "docker push \"$DOCKERHUB_USER/$DOCKERHUB_PROJECT\""
only:
- "master"
tags:
- "arm64"
Vendored
+45
View File
@@ -0,0 +1,45 @@
pipeline {
environment {
registry = 'https://registry.hub.docker.com'
registryCredential = 'dockerhub_jcabillot'
dockerImage = 'jcabillot/syncthing-arm64'
}
//agent { label 'arm64' }
agent {
kubernetes {
defaultContainer 'docker' // All `steps` instructions will be executed by this container
yamlFile 'Jenkinsfile-pod-template.yml'
}
}
// Archive
//triggers {
// cron('@midnight')
//}
stages {
stage('Clone repository') {
steps{
checkout scm
}
}
stage('Build image') {
steps{
sh 'docker build --force-rm=true --no-cache=true --pull -t ${dockerImage} .'
}
}
stage('Deploy Image') {
steps{
script {
withCredentials([usernamePassword(credentialsId: 'dockerhub_jcabillot', usernameVariable: 'DOCKER_USER', passwordVariable: 'DOCKER_PASS')]) {
sh 'docker login --username ${DOCKER_USER} --password ${DOCKER_PASS}'
sh 'docker push ${dockerImage}'
}
}
}
}
}
}
+22
View File
@@ -0,0 +1,22 @@
apiVersion: v1
kind: Pod
metadata:
labels:
jenkins: 'true'
spec:
containers:
- name: jnlp
image: 'jcabillot/docker-inbound-agent-arm64'
- name: docker
image: docker:20.10-dind
securityContext:
privileged: true
#volumeMounts:
#- mountPath: '/var/run/docker.sock'
# name: docker-socket
#volumes:
#- name: docker-socket
# hostPath:
# path: '/var/run/docker.sock'
securityContext:
runAsUser: 0
+1 -1
View File
@@ -25,7 +25,7 @@ require (
github.com/lucas-clemente/quic-go v0.12.1
github.com/maruel/panicparse v1.3.0
github.com/mattn/go-isatty v0.0.11
github.com/minio/sha256-simd v0.1.1
github.com/minio/sha256-simd v0.1.2
github.com/onsi/ginkgo v1.9.0 // indirect
github.com/onsi/gomega v1.6.0 // indirect
github.com/oschwald/geoip2-golang v1.3.0
+4
View File
@@ -89,6 +89,8 @@ github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNU
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/cpuid/v2 v2.0.4 h1:g0I61F2K2DjRHz1cnxlkNSBIaePVoJIjjnHui8QHbiw=
github.com/klauspost/cpuid/v2 v2.0.4/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
@@ -118,6 +120,8 @@ github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1f
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/minio/sha256-simd v0.1.1 h1:5QHSlgo3nt5yKOJrC7W8w7X+NFl8cMPZm96iu8kKUJU=
github.com/minio/sha256-simd v0.1.1/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM=
github.com/minio/sha256-simd v0.1.2 h1:F7n8YpfCfz3kYkvQrqA36ECAbm0SY97I48r9n5WsqtI=
github.com/minio/sha256-simd v0.1.2/go.mod h1:OuYzVNI5vcoYIAmbIvHPl3N3jUzVedXbKy5RFepssQM=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=