From ce14eb44313f4c9a94369ac260db80c84b49ac99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=89=E6=B5=B7?= Date: Mon, 10 Aug 2020 21:00:15 +0800 Subject: [PATCH] update go version to 1.13.15 of circleci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 玉海 --- .circleci/config.yml | 6 +++--- supernode/daemon/mgr/preheat/base_preaheater.go | 15 +++++++++++++++ supernode/daemon/mgr/preheat/base_worker.go | 15 +++++++++++++++ supernode/daemon/mgr/preheat/file_preaheater.go | 15 +++++++++++++++ supernode/daemon/mgr/preheat/image_preaheater.go | 15 +++++++++++++++ .../daemon/mgr/preheat/image_preheater_test.go | 15 +++++++++++++++ supernode/daemon/mgr/preheat/preheat_progress.go | 15 +++++++++++++++ .../daemon/mgr/preheat/preheat_task_repository.go | 15 +++++++++++++++ supernode/daemon/mgr/preheat/preheater.go | 15 +++++++++++++++ 9 files changed, 123 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6dbe548a6..d0884954d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -66,7 +66,7 @@ jobs: unit-test-golang: docker: - - image: circleci/golang:1.12.10 + - image: circleci/golang:1.13.15 working_directory: /go/src/github.com/dragonflyoss/Dragonfly steps: - checkout @@ -88,7 +88,7 @@ jobs: api-integration-test: docker: - - image: circleci/golang:1.12.10 + - image: circleci/golang:1.13.15 working_directory: /go/src/github.com/dragonflyoss/Dragonfly steps: - checkout @@ -104,7 +104,7 @@ jobs: release: docker: - - image: circleci/golang:1.12.10 + - image: circleci/golang:1.13.15 working_directory: /go/src/github.com/dragonflyoss/Dragonfly steps: - checkout diff --git a/supernode/daemon/mgr/preheat/base_preaheater.go b/supernode/daemon/mgr/preheat/base_preaheater.go index 8e5c0be0d..3930d8a1b 100644 --- a/supernode/daemon/mgr/preheat/base_preaheater.go +++ b/supernode/daemon/mgr/preheat/base_preaheater.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/base_worker.go b/supernode/daemon/mgr/preheat/base_worker.go index b3c3f5516..d08308bba 100644 --- a/supernode/daemon/mgr/preheat/base_worker.go +++ b/supernode/daemon/mgr/preheat/base_worker.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/file_preaheater.go b/supernode/daemon/mgr/preheat/file_preaheater.go index abfe61f3b..37c75edf4 100644 --- a/supernode/daemon/mgr/preheat/file_preaheater.go +++ b/supernode/daemon/mgr/preheat/file_preaheater.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/image_preaheater.go b/supernode/daemon/mgr/preheat/image_preaheater.go index 34ef90bf7..8a3bffd49 100644 --- a/supernode/daemon/mgr/preheat/image_preaheater.go +++ b/supernode/daemon/mgr/preheat/image_preaheater.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/image_preheater_test.go b/supernode/daemon/mgr/preheat/image_preheater_test.go index 18edb349e..62fe7cbaf 100644 --- a/supernode/daemon/mgr/preheat/image_preheater_test.go +++ b/supernode/daemon/mgr/preheat/image_preheater_test.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/preheat_progress.go b/supernode/daemon/mgr/preheat/preheat_progress.go index 395b91fb7..0b4701f28 100644 --- a/supernode/daemon/mgr/preheat/preheat_progress.go +++ b/supernode/daemon/mgr/preheat/preheat_progress.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/preheat_task_repository.go b/supernode/daemon/mgr/preheat/preheat_task_repository.go index 38ea1f471..359997cf6 100644 --- a/supernode/daemon/mgr/preheat/preheat_task_repository.go +++ b/supernode/daemon/mgr/preheat/preheat_task_repository.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import ( diff --git a/supernode/daemon/mgr/preheat/preheater.go b/supernode/daemon/mgr/preheat/preheater.go index 4a06a0ea1..37948c8f7 100644 --- a/supernode/daemon/mgr/preheat/preheater.go +++ b/supernode/daemon/mgr/preheat/preheater.go @@ -1,3 +1,18 @@ +/* + * Copyright The Dragonfly Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package preheat import (