Skip to content

pin last vega-lite version to support node16 - #1429

Merged
dacbd merged 1 commit into
masterfrom
dacbd-patch-1
Oct 10, 2023
Merged

dacbd merged 1 commit into
masterfrom
dacbd-patch-1

Conversation

@dacbd

@dacbd dacbd commented Oct 2, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@dacbd
dacbd temporarily deployed to internal October 2, 2023 22:41 — with GitHub Actions Inactive
@dacbd
dacbd requested a review from a team October 2, 2023 22:41
@github-actions

github-actions Bot commented Oct 2, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Oct 2, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@shcheklein

Copy link
Copy Markdown
Member

Thanks @dacbd !

  • Is it a big undertaking to upgrade those images?
  • Could you please remind - what is the difference on using them vs setup-cml. What is the main use case? Do we want to keep maintaining them?

@dacbd

dacbd commented Oct 3, 2023

Copy link
Copy Markdown
Contributor Author

This patch is a relatively simple undertaking.

As far as maintaining both, I would consider the docker images to be in maintenance mode. The thing that bothers me the most is that the cml release workflow is very fragile in its current state, so creating as few releases as possible is my preference.
The last few releases have always had some issues.

setup-cml is much easier to maintain, and is what I always recommend. The couple of times users have wanted a container image I've recommended they take a look at our Dockerfile in the repo as an example to create their own image with everything they need for their use-case.

IMO if you are using docker images for your project pipelines you shouldn't use any setup-* style actions. Those tools should be built into your image with pinned versions so you have the exact stable environment you want/need.

@shcheklein

Copy link
Copy Markdown
Member

Is setup-cml available only for GH though? Pretty much in general people have to use cml images, no? btw, do we have the dvc3 version of it (probably need to update the website and docs)

@dacbd

dacbd commented Oct 3, 2023

Copy link
Copy Markdown
Contributor Author

Is setup-cml available only for GH though? Pretty much in general people have to use cml images, no? btw, do we have the dvc3 version of it (probably need to update the website and docs)

Yes BB pipelines and gitlab-ci don't have anything similar (to setup-cml) and are essentially based on containers.

People don't have to use the CML images still they can install cml into with own image, or use @0x2b3bfa0's curl https://cml.sh/ | sh.
Personally, I've always viewed the cml docker images as "getting started" tools that have a nice bundle of tools to help get you started.

Yes we builddvc3 images also, if the docs do reflect that we should probably update them.

@shcheklein

Copy link
Copy Markdown
Member

okay, fine then ... let's pin the images and probably bump the website to use dvc3. No need to spend too much time on it for now. I'm a bit worried that Node 16 is out of support now. So, probably we should put a note somewhere on the website as well that we don't recommend using those images - they are just an example.

@janrito

janrito commented Oct 5, 2023 •

Copy link
Copy Markdown

As far as maintaining both, I would consider the docker images to be in maintenance mode. The thing that bothers me the most is that the cml release workflow is very fragile in its current state, so creating as few releases as possible is my preference. The last few releases have always had some issues.

It would be nice if this was mentioned in the documentation. Currently, it seems like your recommendation is to use these images to run pipelines in self-hosted runners

setup-cml is much easier to maintain, and is what I always recommend. The couple of times users have wanted a container image I've recommended they take a look at our Dockerfile in the repo as an example to create their own image with everything they need for their use-case.

I don't have much experience outside github - however, even in github you need to use the setup-cml action to start the self-hosted runner, so the obvious thing would be to use it to setup the runner as well. Currently we set up cml in two different ways for each pipeline.

This is a bit confusing. But even so, if this is the recommended process, it maybe should be in the documentation?

IMO if you are using docker images for your project pipelines you shouldn't use any setup-* style actions. Those tools should be built into your image with pinned versions so you have the exact stable environment you want/need.

I agree that advanced use-cases are probably better off creating their own image. The issue is that for a good number of cases, these images are probably going to be quite simple: cml (and the node version that works for v2png), git, and the starter tools requirements to setup a specific version of python, via setup-python. This is what the provided images did well, and would get most people what they need.

@dacbd
dacbd merged commit f775f7b into master Oct 10, 2023
@dacbd
dacbd deleted the dacbd-patch-1 branch October 10, 2023 13:24
@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Nov 6, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Nov 6, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Feb 5, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Feb 5, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Mar 4, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Mar 4, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Apr 1, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Apr 1, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Apr 8, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Apr 8, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented May 6, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented May 6, 2024

Copy link
Copy Markdown
Contributor

Test Comment

@shcheklein

shcheklein commented May 6, 2024 •

Copy link
Copy Markdown
Member

@0x2b3bfa0 @dacbd do we know why does it keep creating comments here? :)

@dacbd

dacbd commented May 6, 2024 •

Copy link
Copy Markdown
Contributor Author

@shcheklein I think its one of the tests, this was the last PR merged

test('cml send-comment to current repo', async () => {
const report = `## Test Comment`;
await fs.writeFile(path, report);
await exec('node', './bin/cml.js', 'send-comment', path);
});
test('cml send-comment --publish to current repo', async () => {
const report = `## Test Comment\n![](assets/logo.png)`;
await fs.writeFile(path, report);
await exec('node', './bin/cml.js', 'send-comment', '--publish', path);
});
});

This branch was previously deployed

1 inactive deployment
internal — b16ad48c Deployed Oct 2, 2023 by dacbd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants