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

Snyk upload fix #361

Merged
merged 11 commits into from
May 10, 2024
Merged

Snyk upload fix #361

merged 11 commits into from
May 10, 2024

Conversation

michaelkaplan13
Copy link
Collaborator

Why this should be merged

Fixes the snyk workflow

How this works

See github/codeql-action#2187 (comment)

How this was tested

CI

How is this documented

N/A

geoff-vball
geoff-vball previously approved these changes Apr 10, 2024
@@ -50,6 +50,6 @@ RUN apt-get update && \
RUN pip3 install base58

# Install avalanche-cli
RUN curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-cli/main/scripts/install.sh | sh -s -- -b /usr/local/bin v1.3.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any issues running the docker images with the upgraded CLI version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirm it works with the new version now (needed to add a couple flags to make the command non-interactive).

Long term, we'll remove the Dockerfile set up all together in favor of the embedded Teleporter + AWM relayer support in the AvalancheCLI 🙌

@michaelkaplan13
Copy link
Collaborator Author

Snyk is still failing on scanning the docker image because the latest avalanche-cli release uses golang.org/x/net/v0.22.0. The version was bumped in this PR that has been merged, so the next release of avalanche-cli should resolve it.

geoff-vball
geoff-vball previously approved these changes May 9, 2024
Signed-off-by: cam-schultz <78878559+cam-schultz@users.noreply.github.com>
echo "Creating new subnet A..."
avalanche subnet create subneta --force --genesis ./subnetGenesis_A.json --config ./docker/defaultNodeConfig.json --evm --vm-version $SUBNET_EVM_VERSION --log-level info --skip-update-check
avalanche subnet create subneta --force --genesis ./subnetGenesis_A.json --config ./docker/defaultNodeConfig.json --evm --vm-version $SUBNET_EVM_VERSION --log-level info --skip-update-check --teleporter=false --relayer=false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we just use the cli to deploy teleporter/relayer at this point? I'd assume there would need additional effort to update the docker setup, so not worth right now

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep that's the plan in the near-ish future 👍
#361 (comment)

@michaelkaplan13 michaelkaplan13 merged commit 8b7d724 into main May 10, 2024
15 checks passed
@michaelkaplan13 michaelkaplan13 deleted the snyk-upload-fix branch May 10, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants