Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump image version from 2 to 3 .1.0 #94

Open
Ficksik opened this issue Jan 18, 2025 · 1 comment
Open

Bump image version from 2 to 3 .1.0 #94

Ficksik opened this issue Jan 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Ficksik
Copy link

Ficksik commented Jan 18, 2025

CircleCi

Changes
Bump image version

I'm running pipeline circleci and instead of 3.1.0 version 2 image is used

Using the v2 container runtime. For more details see: https://discuss.circleci.com/t/docker-executor-infrastructure-upgrade/52282
task-agent version 1.0.263142-53aa941e
Downloading task-agent: success after 412.402022ms.
System information:
 Server Version: 5.3.1
 Storage Driver: overlay
  Backing Filesystem: xfs
 Cgroup Driver: systemd
 Cgroup Version: 2
 Kernel Version: 6.8.0-1020-aws
 Operating System: ubuntu
 OSType: linux
 Architecture: amd64

Starting container public.ecr.aws/eks-distro/kubernetes/pause:3.6
  image is cached as public.ecr.aws/eks-distro/kubernetes/pause:3.6, but refreshing...
23d07b917726: Already exists 
8389103237f2: Already exists 
3c69a9ca2c95: Download complete 
Starting container unityci/editor:ubuntu-2022.3.17f1-android-2
Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub.
  image cache not found on this host, downloading docker.io/unityci/editor:ubuntu-2022.3.17f1-android-2

  Error pulling image unityci/editor:ubuntu-2022.3.17f1-android-2: Error response from daemon: manifest unknown: manifest unknown... retrying
  image cache not found on this host, downloading docker.io/unityci/editor:ubuntu-2022.3.17f1-android-2

  Error pulling image unityci/editor:ubuntu-2022.3.17f1-android-2: Error response from daemon: manifest unknown: manifest unknown... retrying
  image cache not found on this host, downloading docker.io/unityci/editor:ubuntu-2022.3.17f1-android-2

  Error pulling image unityci/editor:ubuntu-2022.3.17f1-android-2: Error response from daemon: manifest unknown: manifest unknown... retrying
  image cache not found on this host, downloading docker.io/unityci/editor:ubuntu-2022.3.17f1-android-2

  Error pulling image unityci/editor:ubuntu-2022.3.17f1-android-2: Error response from daemon: manifest unknown: manifest unknown... retrying
  image cache not found on this host, downloading docker.io/unityci/editor:ubuntu-2022.3.17f1-android-2

  Error pulling image unityci/editor:ubuntu-2022.3.17f1-android-2: Error response from daemon: manifest unknown: manifest unknown... retrying
  image cache not found on this host, downloading docker.io/unityci/editor:ubuntu-2022.3.17f1-android-2

Error response from daemon: manifest unknown: manifest unknown

My config file for circleci:

version: 2.1

orbs:
  unity: game-ci/[email protected]

workflows:
  version: 2
  build-unity-android-project:
    when: # only execute when triggered by the api
      equal: [<< pipeline.trigger_source >>, api]
    jobs:
      # Android
      - unity/build:
          name: 'build-android'
          step-name: 'Build Android'      
          unity-license-var-name: 'UNITY_ENCODED_LICENSE'
          unity-username-var-name: 'UNITY_USERNAME'
          unity-password-var-name: 'UNITY_PASSWORD'
          executor:
            name: 'unity/ubuntu'
            target_platform: 'android'
            editor_version: '2022.3.17f1'
            resource_class: 'large'
          project-path: 'darkstarlight/darkstarlight'
          build-target: 'Android'
          context: unity
          store-artifacts: true
          build-method: 'UnityRunner.PerformBuild'

I see the use of the second version only in this line:

"unityci/editor:windows-${GAMECI_EDITOR_VERSION}-${GAMECI_TARGET_PLATFORM}-2" \

I don't understand why I use this one....

@Ficksik Ficksik added the bug Something isn't working label Jan 18, 2025
@romanchikovboris
Copy link

I have same bug
Maybe it is good idea to create variable like docker_version?

My config

version: 2.1

orbs:
  unity: game-ci/[email protected]


workflows:
  build-unity-project:
    
    parameters:
      editor_version:
        type: string
        default: '2023.1.19f1'

    jobs:

      # Playmode test
      - unity/test:
          name: Playmode test
          step-name: Playmode test
          context: MyContext
          executor:
            name: unity/ubuntu
            target_platform: webgl
            resource_class: medium
            editor_version: << parameters.editor_version >>
          test-platform: playmode 
          unity-license-var-name: UNITY_ENCODED_LICENSE
          unity-username-var-name: UNITY_USERNAME
          unity-password-var-name: UNITY_PASSWORD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants